1 instantiation of ClusteringPredictionTransformer
Microsoft.ML.Data (1)
Scorers\PredictionTransformer.cs (1)
870
=> new
ClusteringPredictionTransformer
<IPredictorProducing<VBuffer<float>>>(env, ctx);
13 references to ClusteringPredictionTransformer
Microsoft.ML.Data (5)
Scorers\PredictionTransformer.cs (5)
29
[assembly: LoadableClass(typeof(
ClusteringPredictionTransformer
<IPredictorProducing<VBuffer<float>>>), typeof(ClusteringPredictionTransformer), null, typeof(SignatureLoadModel),
671
: base(Contracts.CheckRef(env, nameof(env)).Register(nameof(
ClusteringPredictionTransformer
<TModel>)), model, inputSchema, featureColumn)
681
: base(Contracts.CheckRef(env, nameof(env)).Register(nameof(
ClusteringPredictionTransformer
<TModel>)), ctx)
710
loaderAssemblyName: typeof(
ClusteringPredictionTransformer
<>).Assembly.FullName);
869
public static
ClusteringPredictionTransformer
<IPredictorProducing<VBuffer<float>>> Create(IHostEnvironment env, ModelLoadContext ctx)
Microsoft.ML.IntegrationTests (3)
IntrospectiveTraining.cs (3)
403
var
kMeansModel = (modelComponents[1] as TransformerChain<
ClusteringPredictionTransformer
<KMeansModelParameters>>).LastTransformer;
417
private IEstimator<TransformerChain<
ClusteringPredictionTransformer
<KMeansModelParameters>>> StepOne(MLContext mlContext)
Microsoft.ML.KMeansClustering (2)
KMeansPlusPlusTrainer.cs (2)
79
public class KMeansTrainer : TrainerEstimatorBase<
ClusteringPredictionTransformer
<KMeansModelParameters>, KMeansModelParameters>
321
private protected override
ClusteringPredictionTransformer
<KMeansModelParameters> MakeTransformer(KMeansModelParameters model, DataViewSchema trainSchema)
Microsoft.ML.Samples (2)
Dynamic\Trainers\Clustering\KMeans.cs (1)
31
var
model = pipeline.Fit(trainingData);
Dynamic\Trainers\Clustering\KMeansWithOptions.cs (1)
39
var
model = pipeline.Fit(trainingData);
Microsoft.ML.Tests (1)
Scenarios\ClusteringTests.cs (1)
69
var
trainedModel = pipe.Fit(trainData);