7 instantiations of Options
Microsoft.ML.IntegrationTests (3)
Evaluation.cs (1)
125
.Append(mlContext.Clustering.Trainers.KMeans(new KMeansTrainer.
Options
{ NumberOfThreads = 1 }));
IntrospectiveTraining.cs (1)
421
new KMeansTrainer.
Options
ONNX.cs (1)
94
new KMeansTrainer.
Options
{ NumberOfThreads = 1, MaximumNumberOfIterations = 10 }));
Microsoft.ML.KMeansClustering (1)
KMeansCatalog.cs (1)
38
var options = new KMeansTrainer.
Options
Microsoft.ML.Samples (1)
Dynamic\Trainers\Clustering\KMeansWithOptions.cs (1)
28
var options = new KMeansTrainer.
Options
Microsoft.ML.Tests (2)
OnnxConversionTest.cs (1)
154
Append(mlContext.Clustering.Trainers.KMeans(new Trainers.KMeansTrainer.
Options
TrainerEstimators\TrainerEstimators.cs (1)
74
var pipeline = new KMeansTrainer(Env, new KMeansTrainer.
Options
10 references to Options
Microsoft.ML.KMeansClustering (9)
KMeansCatalog.cs (2)
38
var
options = new KMeansTrainer.Options
58
public static KMeansTrainer KMeans(this ClusteringCatalog.ClusteringTrainers catalog, KMeansTrainer.
Options
options)
KMeansPlusPlusTrainer.cs (7)
19
[assembly: LoadableClass(KMeansTrainer.Summary, typeof(KMeansTrainer), typeof(KMeansTrainer.
Options
),
170
internal KMeansTrainer(IHostEnvironment env,
Options
options)
291
internal static CommonOutputs.ClusteringOutput TrainKMeans(IHostEnvironment env,
Options
input)
298
return TrainerEntryPointsUtils.Train<
Options
, CommonOutputs.ClusteringOutput>(host, input,
793
ch.CheckUserArg(numThreads > 0, nameof(KMeansTrainer.
Options
.NumberOfThreads), "Must be positive");
794
ch.CheckUserArg(k > 0, nameof(KMeansTrainer.
Options
.NumberOfClusters), "Must be positive");
796
ch.CheckUserArg(accelMemBudgetMb >= 0, nameof(KMeansTrainer.
Options
.AccelerationMemoryBudgetMb), "Must be non-negative");
Microsoft.ML.Samples (1)
Dynamic\Trainers\Clustering\KMeansWithOptions.cs (1)
28
var
options = new KMeansTrainer.Options