-
Notifications
You must be signed in to change notification settings - Fork 336
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
Evaluation of time series clustering #14
Comments
Hi, This is a very good idea! I'll do that as soon as I can. If anyone is interested in giving a hand on this, the idea would be to adapt the code from sklearn to tslearn formats (shouldn't be too hard). |
Can scikit-learn's |
Hum, a first problem we would have is that we don't expect the same format for parameter Something that might work would be to fool n, sz, d = X.shape
sklearn_X = X.reshape((n, -1))
sklearn_metric = lambda x, y: metric_fun(x.reshape((sz, d)), y.reshape((sz, d))) |
I just pushed an attempt to provide this functionality. Could you guys test it and give some feedback about it? |
@jonpappalord @fonnesbeck |
I'm testing it now, but I'm using a gigantic database, so it will take a few hours to complete. |
Since I have no news, I close this issue, re-open it if needed. |
Hello. Good to see these comments :) I have tried what you did and it worked! Thanks!
|
It would be nice to allow the user to evaluate the quality of a clustering by providing the equivalent of the silhouette score (or related metric) for time series clustering.
The text was updated successfully, but these errors were encountered: