public static class BisectingKMeansClusteringAlgorithmDescriptor.AttributeBuilder extends Object
BisectingKMeansClusteringAlgorithm 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 |
BisectingKMeansClusteringAlgorithmDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.
|
public BisectingKMeansClusteringAlgorithmDescriptor.AttributeBuilder documents(List<Document> value)
public BisectingKMeansClusteringAlgorithmDescriptor.AttributeBuilder clusterCount(int value)
public BisectingKMeansClusteringAlgorithmDescriptor.AttributeBuilder maxIterations(int value)
public 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.public BisectingKMeansClusteringAlgorithmDescriptor.AttributeBuilder partitionCount(int value)
public BisectingKMeansClusteringAlgorithmDescriptor.AttributeBuilder labelCount(int value)
public 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.