Cluster data around lines of unit slope

2 visualizzazioni (ultimi 30 giorni)
Muhammad Saafan
Muhammad Saafan il 10 Nov 2019
Commentato: Image Analyst il 11 Nov 2019
How I can cluster the points in the attached chart around LINES with UNIT SLOPE.
chart.jpg
  8 Commenti
Muhammad Saafan
Muhammad Saafan il 11 Nov 2019
I need to divide the data points into clusters. Each cluster will be defined by a line of unit slope.
In K-means, the clustering process is around a centroid which is a single point. Is there any way to do the same but a round lines?
Image Analyst
Image Analyst il 11 Nov 2019
Sure you can. If you tell it to find 2 clusters, then it will be forced to find two clusters, regardless if those clusters even look like reasonable clusters. I don't even see any well delineated clusters in there.
Maybe you'd rather use a support vector machine (SVM) instead of kmeans(). See this wikipedia link

Accedi per commentare.

Risposte (0)

Prodotti


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by