at.tuwien.ifs.somtoolbox.layers.quality
Class EntropyAndPurityCalculator

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.layers.quality.EntropyAndPurityCalculator

public class EntropyAndPurityCalculator
extends Object


Nested Class Summary
 class EntropyAndPurityCalculator.LabelledCounterMapToBePutInCOMMONS
           
 
Field Summary
private  double entropy
           
private  double purity
           
 
Constructor Summary
EntropyAndPurityCalculator(List<ClusterNode> clusters, SOMLibClassInformation classInfo)
           
 
Method Summary
static double entropy(double value)
           
 double getEntropy()
           
static double getLog2(double value)
           
 double getPurity()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entropy

private double entropy

purity

private double purity
Constructor Detail

EntropyAndPurityCalculator

public EntropyAndPurityCalculator(List<ClusterNode> clusters,
                                  SOMLibClassInformation classInfo)
Method Detail

entropy

public static double entropy(double value)

getLog2

public static double getLog2(double value)

getEntropy

public double getEntropy()

getPurity

public double getPurity()