4 writes to NumberOfClusters
Microsoft.ML.IntegrationTests (1)
IntrospectiveTraining.cs (1)
424NumberOfClusters = 4,
Microsoft.ML.KMeansClustering (1)
KMeansCatalog.cs (1)
42NumberOfClusters = numberOfClusters
Microsoft.ML.Samples (1)
Dynamic\Trainers\Clustering\KMeansWithOptions.cs (1)
30NumberOfClusters = 2,
Microsoft.ML.Tests (1)
OnnxConversionTest.cs (1)
158NumberOfClusters = 4,
4 references to NumberOfClusters
Microsoft.ML.KMeansClustering (4)
KMeansPlusPlusTrainer.cs (4)
174Host.CheckUserArg(options.NumberOfClusters > 0, nameof(options.NumberOfClusters), "Must be positive"); 178_k = options.NumberOfClusters; 794ch.CheckUserArg(k > 0, nameof(KMeansTrainer.Options.NumberOfClusters), "Must be positive");