Package org.tribuo.clustering.hdbscan
Class HdbscanOptions
java.lang.Object
org.tribuo.clustering.hdbscan.HdbscanOptions
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
public final class HdbscanOptions
extends Object
implements com.oracle.labs.mlrg.olcut.config.Options
OLCUT
Options
for the HDBSCAN* implementation.-
Field Summary
Modifier and TypeFieldDescriptionDistance function in HDBSCAN*.int
The number of nearest-neighbors to use in the initial density approximation.int
The minimum number of points required to form a cluster.int
Number of threads to use for training the hdbscan model.Fields inherited from interface com.oracle.labs.mlrg.olcut.config.Options
header
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the configured HdbscanTrainer using the options in this object.
-
Field Details
-
minClusterSize
@Option(longName="minimum-cluster-size", usage="The minimum number of points required to form a cluster.") public int minClusterSizeThe minimum number of points required to form a cluster. Defaults to 5. -
distanceType
@Option(longName="distance-function", usage="Distance function to use for various distance calculations.") public HdbscanTrainer.Distance distanceTypeDistance function in HDBSCAN*. Defaults to EUCLIDEAN. -
k
@Option(longName="k-nearest-neighbors", usage="The number of nearest-neighbors to use in the initial density approximation. The value includes the point itself.") public int kThe number of nearest-neighbors to use in the initial density approximation. Defaults to 5. -
numThreads
@Option(longName="hdbscan-num-threads", usage="Number of threads to use for training the hdbscan model.") public int numThreadsNumber of threads to use for training the hdbscan model. Defaults to 2.
-
-
Constructor Details
-
HdbscanOptions
public HdbscanOptions()
-
-
Method Details
-
getOptionsDescription
- Specified by:
getOptionsDescription
in interfacecom.oracle.labs.mlrg.olcut.config.Options
-
getTrainer
Gets the configured HdbscanTrainer using the options in this object.- Returns:
- A HdbscanTrainer.
-