Clustering based on threshold values.
13 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a dataset ,attached here. I need to cluster the data based on some threshold value that chhosen randomly from the data set.How can I cluster a data based on a point or a set of points. Please help me.
0 Kommentare
Antworten (3)
Hiro Yoshino
am 4 Feb. 2020
Is this a question about how to classify the data based on threshold?
if condition
"classification description"
else
"classification description"
end
can be a solution.
Hiro Yoshino
am 5 Feb. 2020
There are various methods available:https://jp.mathworks.com/discovery/cluster-analysis.html
2 Kommentare
Hiro Yoshino
am 5 Feb. 2020
Do you want to use fixed some points as centroids of the clusters?
OK, you've got an algorithm?
Then, is your question how to put the algorithm into practice in MATLAB?
Your algorithm sounds very straightfoward. It seems it is just a matter of how to write it in MATLAB. Am I right?
If so, you should start from basics: https://matlabacademy.mathworks.com/
MATLAB onramp is a good fit for you.
Silpa K
am 5 Feb. 2020
2 Kommentare
Hiro Yoshino
am 5 Feb. 2020
As far as I know, the centroids of clusters are determined by the corresponding clusters. So it is uncommon to fix the centroids before finding the clusters.
I suppose you can write by yourself. It sounds very easy.
Algorithm as follows:
- calculate the distances from all the centroids
- classify the data into the nearest cluster
- loop 1 and 2 till end
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!