Cluster of precipitation time series
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (2)
Mahesh Taparia
am 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 Kommentare
CJ
am 20 Sep. 2019
1 Kommentar
Mahesh Taparia
am 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.
Siehe auch
Kategorien
Mehr zu Cluster Analysis and Anomaly Detection finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!