Cluster of precipitation time series
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi guys,
I have a precipitation time series of several years and I would like to cluster the information automatically by seasons (Autumn, Winter, Spring, Summer). Using the kmeans algorithm (kmeans(X,4)), I only get the whole domain of the data (i.e. all the years) split in 4 equally spaced subdomains. However, I would like to split each year contained in the whole dataset in the four seasons.
Any ideas from your side?
R
5 commentaires
Réponses (2)
Mahesh Taparia
le 17 Sep 2019
Hi CJ,
Since you want to cluster the precipitation data into 4 seasons in year wise format, you should take year wise data and then perform the K-means clustering with 4 classes for each season. Save the clustered data year wise. Hope this helps.
0 commentaires
CJ
le 20 Sep 2019
1 commentaire
Mahesh Taparia
le 20 Sep 2019
Hi,
As per my answer, you will have 4 classes only. Follow these steps:
- Take the precipitation data of a year, cluster it into 4 classes as per season.
- Take the second year data and again cluster it into 4 classes.
- Apppend these 2 years of data of same seasons into 4 classes with the same cluster head. It will result in 4 classes only.
- Repeat the steps upto n'th year data.
- Finally, you will have 4 classes only.
Voir également
Catégories
En savoir plus sur Cluster Analysis and Anomaly Detection dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!