|
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.clustering.kmeans.BisectingKMeansClusteringAlgorithmDescriptor.AttributeBuilder
public static class BisectingKMeansClusteringAlgorithmDescriptor.AttributeBuilder
Attribute map builder for the BisectingKMeansClusteringAlgorithm 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 |
BisectingKMeansClusteringAlgorithmDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map. |
| 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 BisectingKMeansClusteringAlgorithmDescriptor.AttributeBuilder(Map<String,Object> map)
| Method Detail |
|---|
public BisectingKMeansClusteringAlgorithmDescriptor.AttributeBuilder documents(List<Document> value)
BisectingKMeansClusteringAlgorithm.documentspublic List<Cluster> clusters()
BisectingKMeansClusteringAlgorithm.clusterspublic BisectingKMeansClusteringAlgorithmDescriptor.AttributeBuilder clusterCount(int value)
BisectingKMeansClusteringAlgorithm.clusterCountpublic BisectingKMeansClusteringAlgorithmDescriptor.AttributeBuilder maxIterations(int value)
BisectingKMeansClusteringAlgorithm.maxIterationspublic BisectingKMeansClusteringAlgorithmDescriptor.AttributeBuilder useDimensionalityReduction(boolean value)
true, k-means will be applied on the
dimensionality-reduced term-document matrix with the number of dimensions being
equal to the number of requested clusters. If false, the k-means will
be performed directly on the original term-document matrix.
BisectingKMeansClusteringAlgorithm.useDimensionalityReductionpublic BisectingKMeansClusteringAlgorithmDescriptor.AttributeBuilder partitionCount(int value)
BisectingKMeansClusteringAlgorithm.partitionCountpublic BisectingKMeansClusteringAlgorithmDescriptor.AttributeBuilder labelCount(int value)
BisectingKMeansClusteringAlgorithm.labelCountpublic BasicPreprocessingPipelineDescriptor.AttributeBuilder preprocessingPipeline()
BasicPreprocessingPipeline component, backed by the same attribute map
as the current builder.
public TermDocumentMatrixBuilderDescriptor.AttributeBuilder matrixBuilder()
TermDocumentMatrixBuilder component, backed by the same attribute map
as the current builder.
public TermDocumentMatrixReducerDescriptor.AttributeBuilder matrixReducer()
TermDocumentMatrixReducer component, backed by the same attribute map
as the current builder.
public LabelFormatterDescriptor.AttributeBuilder labelFormatter()
LabelFormatter component, backed by the same attribute map
as the current builder.
|
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 | ||||||||