View Code? Open in Web Editor
NEW
Clustering using tslearn for Time Series Data.
analysis-tslearn's Introduction
sample codes using tslearn.
- Waveform clustering is performed on the sample data using the KShape algorithm.
- The number of clusters must be given as an argument to the algorithm.
- In this case, we set
n_clusters=2
since we know that there are two classes after checking the data in advance.
- There are several ways to check the number of clusters, but in this case the elbow method was used.
- Other possible methods are
- BIC・AIC
- GAP method
- Silhouette method
- Elbow method
data/
: sample dataset for clustering waveform
notebook/
: jupyter notebook implementing tslearn sample code
analysis-tslearn's People
Contributors
analysis-tslearn's Issues
Thanks for sharing the code. How to find which files are in which clusters?