-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method to rename clusters #17
Labels
Comments
gmaze
added
enhancement
New feature or request
priority
Top of the to-do list
API
API design
labels
Feb 10, 2020
I think this function solves this problem in sklearn:
|
thanks @sdat2 for pointing this out ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Cluster IDs are set randomly by the classifier.
So when running multiple configurations of a PCM, it is complicated to understand the analysis if cluster IDs are changing every time.
A simple solution to this issue is to sort cluster IDs using a metric from the training set, this could be for instance:
This function is available in the Matlab PCM toolbox as a
rename_labels
function and should be implemented within pyXpcm as well.The text was updated successfully, but these errors were encountered: