Class ClusterResult


  • public class ClusterResult
    extends Object
    Author:
    Kilian
    • Field Detail

      • numberOfClusters

        protected int numberOfClusters
      • clusterIndex

        protected int[] clusterIndex
        Keep track to which cluster a certain points belongs
    • Constructor Detail

      • ClusterResult

        public ClusterResult​(int[] clusterIndex,
                             double[][] data)
    • Method Detail

      • printInformation

        public void printInformation()
      • toImage

        public void toImage​(File outputFile)
      • getCluster

        public List<double[]> getCluster​(int cluster)
      • getClusterData

        public int[] getClusterData()
      • getSumSquaredError

        public double getSumSquaredError()