public class EntropyAndPurityCalculator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
EntropyAndPurityCalculator.LabelledCounterMapToBePutInCOMMONS |
Modifier and Type | Field and Description |
---|---|
private double |
entropy |
private double |
purity |
Constructor and Description |
---|
EntropyAndPurityCalculator(java.util.List<ClusterNode> clusters,
SOMLibClassInformation classInfo) |
Modifier and Type | Method and Description |
---|---|
static double |
entropy(double value) |
double |
getEntropy() |
static double |
getLog2(double value) |
double |
getPurity() |
public EntropyAndPurityCalculator(java.util.List<ClusterNode> clusters, SOMLibClassInformation classInfo)