at.tuwien.ifs.somtoolbox.layers.quality
Class EntropyAndPurityCalculator
java.lang.Object
at.tuwien.ifs.somtoolbox.layers.quality.EntropyAndPurityCalculator
public class EntropyAndPurityCalculator
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entropy
private double entropy
purity
private double purity
EntropyAndPurityCalculator
public EntropyAndPurityCalculator(List<ClusterNode> clusters,
SOMLibClassInformation classInfo)
entropy
public static double entropy(double value)
getLog2
public static double getLog2(double value)
getEntropy
public double getEntropy()
getPurity
public double getPurity()