V
- The type of data in the clusters.public class WithinNormalizedCentroidClusterCosineDivergence<V extends Vectorizable> extends java.lang.Object implements WithinClusterDivergence<NormalizedCentroidCluster<V>,V>
Constructor and Description |
---|
WithinNormalizedCentroidClusterCosineDivergence() |
Modifier and Type | Method and Description |
---|---|
CloneableSerializable |
clone()
Creates a new clone (shallow copy) of this object.
|
double |
evaluate(NormalizedCentroidCluster<V> cluster)
Evaluate the this function on the provided cluster.
|
public WithinNormalizedCentroidClusterCosineDivergence()
public double evaluate(NormalizedCentroidCluster<V> cluster)
evaluate
in interface WithinClusterDivergence<NormalizedCentroidCluster<V extends Vectorizable>,V extends Vectorizable>
cluster
- The cluster to calculate the function on.public CloneableSerializable clone()
CloneableSerializable
clone
in interface CloneableSerializable
clone
in class java.lang.Object