public static class NormalizedMutualInformationMetricDescriptor.AttributeBuilder extends IdealPartitioningBasedMetricDescriptor.AttributeBuilder
NormalizedMutualInformationMetric component. You can use this
builder as a type-safe alternative to populating the attribute map using attribute keys.| Modifier and Type | Field and Description |
|---|---|
Map<String,Object> |
map
The attribute map populated by this builder.
|
| Modifier | Constructor and Description |
|---|---|
protected |
NormalizedMutualInformationMetricDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.
|
| Modifier and Type | Method and Description |
|---|---|
NormalizedMutualInformationMetricDescriptor.AttributeBuilder |
clusters(List<Cluster> value) |
NormalizedMutualInformationMetricDescriptor.AttributeBuilder |
documents(List<Document> value) |
NormalizedMutualInformationMetricDescriptor.AttributeBuilder |
enabled(boolean value)
Calculate Normalized Mutual Information metric.
|
Double |
normalizedMutualInformation()
Normalized Mutual Information of the whole cluster set.
|
partitionIdFieldNamepublic Double normalizedMutualInformation()
public NormalizedMutualInformationMetricDescriptor.AttributeBuilder documents(List<Document> value)
public NormalizedMutualInformationMetricDescriptor.AttributeBuilder clusters(List<Cluster> value)
public NormalizedMutualInformationMetricDescriptor.AttributeBuilder enabled(boolean value)