|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.output.metrics.IdealPartitioningBasedMetricDescriptor.AttributeBuilder
org.carrot2.output.metrics.NormalizedMutualInformationMetricDescriptor.AttributeBuilder
public static class NormalizedMutualInformationMetricDescriptor.AttributeBuilder
Attribute map builder for the NormalizedMutualInformationMetric component. You can use this
builder as a type-safe alternative to populating the attribute map using attribute keys.
| Field Summary | |
|---|---|
Map<String,Object> |
map
The attribute map populated by this builder. |
| Constructor Summary | |
|---|---|
protected |
NormalizedMutualInformationMetricDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.carrot2.output.metrics.IdealPartitioningBasedMetricDescriptor.AttributeBuilder |
|---|
partitionIdFieldName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Map<String,Object> map
| Constructor Detail |
|---|
protected NormalizedMutualInformationMetricDescriptor.AttributeBuilder(Map<String,Object> map)
| Method Detail |
|---|
public Double normalizedMutualInformation()
NormalizedMutualInformationMetric.normalizedMutualInformationpublic NormalizedMutualInformationMetricDescriptor.AttributeBuilder documents(List<Document> value)
NormalizedMutualInformationMetric.documentspublic NormalizedMutualInformationMetricDescriptor.AttributeBuilder clusters(List<Cluster> value)
NormalizedMutualInformationMetric.clusterspublic NormalizedMutualInformationMetricDescriptor.AttributeBuilder enabled(boolean value)
NormalizedMutualInformationMetric.enabled
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||