• Mathematics
    VectorsMatricesVector SpaceAlgebraCalculusLogicAnalytic GeometryStatistics & ProbabilityGeometrySpecial Functions
    Physics
    MechanicsUnits & Constants
    Electronics
    Circuits
    Computer Science
    EncodingComputerLanguages
    Machine Learning
    ClusteringOptimizationRegressionKernels
    AI
    Neural Network
    Finance
    OptionsFixed IncomeMarket Analysis
    Help
    Contact usIndexSearchVersion historyFormula Syntax
    Practice Quiz
    LoginUser
  • Machine Learning
    Clustering: K Means
    • Clustering
      • K Means
      • Fuzzy C-Means
      • COBWEB
      • Support Vector Machine
    • Optimization
      • Regression
        • Kernels
          k-means clustering

          Given the set of n data points xi,   i =1,n   (m-dimensional vectors (xi,1, ... , xi,m) ), k - means clustering partitions them into set
          C = {C1, ..., Ck} of k clusters, so that each data point xi belongs to the j cluster Cj with the nearest mean μj (cluster centers or cluster centroids):
          Cj = argmin C
          k
          ∑
          j=1
          ∑
          ‖ xi - μj ‖2
          xi ∈ Cj
             ,     where μj = 1| Cj |
          ∑
          x
          x ∈ Cj
          BR>
          Please Note:
          • We have limited the dimension m in the "Manual Entry" tab to 10 due to the limited space on the screen.
          • Rows (data points) which have all of the cells empty will be disregarded in calculations.
          Number of Clusters:Dimension:
          #x1x2
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          Clusters:


          See Also:     Fuzzy C-Means Clustering of points in n-dimensional space

          External links:
          • Wikipedia: k-means clustering
          Please select the file to upload:
          Clusters: