Class CustomersClusterizationExample


  • public class CustomersClusterizationExample
    extends java.lang.Object
    Example of using KMeans clusterization to determine the optimal count of clusters in data.

    Description of model can be found in: https://en.wikipedia.org/wiki/Kmeans . Original dataset can be downloaded from: https://archive.ics.uci.edu/ml/datasets/Wholesale+customers . Copy of dataset are stored in: modules/ml/src/main/resources/datasets/wholesale_customers.csv . Score for clusterizer estimation: mean of entropy in clusters. Description of entropy can be found in: https://en.wikipedia.org/wiki/Entropy_(information_theory) .

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Runs example.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CustomersClusterizationExample

        public CustomersClusterizationExample()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Runs example.
        Throws:
        java.io.IOException