|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.tuwien.ifs.somtoolbox.layers.quality.EntropyAndPurityCalculator
public class EntropyAndPurityCalculator
Nested Class Summary | |
---|---|
class |
EntropyAndPurityCalculator.LabelledCounterMapToBePutInCOMMONS
|
Field Summary | |
---|---|
private double |
entropy
|
private double |
purity
|
Constructor Summary | |
---|---|
EntropyAndPurityCalculator(java.util.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 |
---|
private double entropy
private double purity
Constructor Detail |
---|
public EntropyAndPurityCalculator(java.util.List<ClusterNode> clusters, SOMLibClassInformation classInfo)
Method Detail |
---|
public static double entropy(double value)
public static double getLog2(double value)
public double getEntropy()
public double getPurity()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |