2 instantiations of KMeansModelParameters
Microsoft.ML.KMeansClustering (2)
KMeansModelParameters.cs (1)
261return new KMeansModelParameters(env, ctx);
KMeansPlusPlusTrainer.cs (1)
271return new KMeansModelParameters(Host, _k, centroids, copyIn: true);
16 references to KMeansModelParameters
Microsoft.ML.IntegrationTests (2)
IntrospectiveTraining.cs (2)
403var kMeansModel = (modelComponents[1] as TransformerChain<ClusteringPredictionTransformer<KMeansModelParameters>>).LastTransformer; 417private IEstimator<TransformerChain<ClusteringPredictionTransformer<KMeansModelParameters>>> StepOne(MLContext mlContext)
Microsoft.ML.KMeansClustering (11)
KMeansModelParameters.cs (4)
17[assembly: LoadableClass(typeof(KMeansModelParameters), null, typeof(SignatureLoadModel), 18"KMeans predictor", KMeansModelParameters.LoaderSignature)] 48loaderAssemblyName: typeof(KMeansModelParameters).Assembly.FullName); 256internal static KMeansModelParameters Create(IHostEnvironment env, ModelLoadContext ctx)
KMeansPlusPlusTrainer.cs (7)
79public class KMeansTrainer : TrainerEstimatorBase<ClusteringPredictionTransformer<KMeansModelParameters>, KMeansModelParameters> 197private protected override KMeansModelParameters TrainModelCore(TrainContext context) 211private KMeansModelParameters TrainCore(IChannel ch, RoleMappedData data, int dimensionality) 321private protected override ClusteringPredictionTransformer<KMeansModelParameters> MakeTransformer(KMeansModelParameters model, DataViewSchema trainSchema) 322=> new ClusteringPredictionTransformer<KMeansModelParameters>(Host, model, trainSchema, _featureColumn);
Microsoft.ML.Samples (2)
Dynamic\Trainers\Clustering\KMeans.cs (1)
77var modelParams = model.Model;
Dynamic\Trainers\Clustering\KMeansWithOptions.cs (1)
85var modelParams = model.Model;
Microsoft.ML.TestFramework (1)
EnvironmentExtensions.cs (1)
25env.ComponentCatalog.RegisterAssembly(typeof(KMeansModelParameters).Assembly); // ML.KMeansClustering