@Bindable public class NormalizedMutualInformationMetric extends Object
Metrics will be calculated only if all input documents have non-blank
Document.PARTITIONS.
| Modifier and Type | Field and Description |
|---|---|
List<Cluster> |
clusters |
List<Document> |
documents |
boolean |
enabled
Calculate Normalized Mutual Information metric.
|
Double |
normalizedMutualInformation
Normalized Mutual Information of the whole cluster set.
|
String |
partitionIdFieldName
Partition id field name.
|
| Constructor and Description |
|---|
NormalizedMutualInformationMetric() |
@Processing @Output @Attribute public Double normalizedMutualInformation
@Processing @Input @Attribute(key="documents") public List<Document> documents
@Processing @Input @Attribute(key="clusters") public List<Cluster> clusters
@Processing @Input @Attribute public boolean enabled
@Input @Processing @Attribute public String partitionIdFieldName
public void calculate()
IClusteringMetricProcessing Input attributes
will have been bound before a call to this method.public boolean isEnabled()
IClusteringMetrictrue if this metric should be calculated.