Which clustering algorithm is suitable for one-dimensional Lists without knowing k?

前端 未结 2 850
-上瘾入骨i
-上瘾入骨i 2021-01-15 11:03

I have a one dimensional List like this

public class Zeit_und_Eigenschaft
{
    [Feature]
    public double Sekunden { get; set; }
}

//...
List

        
相关标签:
2条回答
  • 2021-01-15 11:52

    Don't look for clustering algorithms.

    Clustering is a good term for multivariate data, but your data is one-dimensional, so you should look at much older statistics literature. E.g. Natural Breaks optimization.

    Or just kernel density estimation. In fact, you will find the very same question dozens of times here on stackoverflow already...

    1D Number Array Clustering

    Cluster one-dimensional data optimally?

    partitioning an float array into similar segments (clustering)

    Efficiently grouping similar numbers together

    Clustering values by their proximity in python (machine learning?)

    0 讨论(0)
  • 2021-01-15 11:52

    There was a good article in MSDN magazine on this topic a few months ago. They used the k-means algorithm. Link:

    http://msdn.microsoft.com/en-us/magazine/jj891054.aspx

    Also, there are some videos on k-means clustering as part of Andrew Ng's online machine learning class. Link:

    https://class.coursera.org/ml-003/lecture/preview

    When you don't know k, there are some algorithms to search for a good value. Do a web search for k-means + elbow.

    0 讨论(0)
提交回复
热议问题