ClusteringOptions<T>
Options & Configuration ยท AiDotNet.Clustering.Options
Base configuration options for clustering algorithms.
Inheritance: ModelOptions โ ClusteringOptions<T>
Known derived types: AffinityPropagationOptions<T>, BIRCHOptions<T>, BisectingKMeansOptions<T>, CLARANSOptions<T>, CLIQUEOptions<T>, COPKMeansOptions<T>, CUREOptions<T>, DBSCANOptions<T>, DenclueOptions<T>, FuzzyCMeansOptions<T>, GMMOptions<T>, GMeansOptions<T>, HDBSCANOptions<T>, HierarchicalOptions<T>, KMeansOptions<T>, KMedoidsOptions<T>, MeanShiftOptions<T>, MiniBatchKMeansOptions<T>, OPTICSOptions<T>, OnlineKMeansOptions<T>, SOMOptions<T>, SUBCLUOptions<T>, SeededKMeansOptions<T>, SpectralOptions<T>, XMeansOptions<T>
For Beginners
These are the settings you can adjust to control how the clustering algorithm works.
Common options include:
- How many iterations to run
- When to stop (convergence threshold)
- Random seed for reproducibility (inherited Seed property)
- Which distance metric to use
How It Works
This class provides common configuration options shared by most clustering algorithms. Specific clustering implementations may extend this with algorithm-specific options. Inherits from ModelOptions to provide the standard Seed property for reproducibility.
Constructors
| Constructor | Summary |
|---|---|
ClusteringOptions() |
Properties
| Property | Summary |
|---|---|
IDistanceMetric<T> DistanceMetric { get; set; } |
Gets or sets the distance metric to use. |
double Tolerance { get; set; } |
Gets or sets the convergence tolerance. |
int MaxIterations { get; set; } |
Gets or sets the maximum number of iterations. |
int NumInitializations { get; set; } |
Gets or sets the number of times to run with different random initializations. |
int Verbose { get; set; } |
Gets or sets the verbosity level for logging. |