2 instantiations of MatrixFactorizationPredictionTransformer
Microsoft.ML.Recommender (2)
MatrixFactorizationPredictor.cs (1)
560
=> new
MatrixFactorizationPredictionTransformer
(env, ctx);
MatrixFactorizationTrainer.cs (1)
541
return new
MatrixFactorizationPredictionTransformer
(_host, model, trainData.Schema, MatrixColumnIndexName, MatrixRowIndexName);
25 references to MatrixFactorizationPredictionTransformer
Microsoft.ML.IntegrationTests (1)
Evaluation.cs (1)
249
var
model = pipeline.Fit(data);
Microsoft.ML.Recommender (13)
MatrixFactorizationPredictor.cs (8)
21
[assembly: LoadableClass(typeof(
MatrixFactorizationPredictionTransformer
), typeof(
MatrixFactorizationPredictionTransformer
),
22
null, typeof(SignatureLoadModel), "",
MatrixFactorizationPredictionTransformer
.LoaderSignature)]
447
: base(Contracts.CheckRef(env, nameof(env)).Register(nameof(
MatrixFactorizationPredictionTransformer
)), model, trainSchema)
479
/// The counter constructor of re-creating <see cref="
MatrixFactorizationPredictionTransformer
"/> from the context where
483
: base(Contracts.CheckRef(host, nameof(host)).Register(nameof(
MatrixFactorizationPredictionTransformer
)), ctx)
557
loaderAssemblyName: typeof(
MatrixFactorizationPredictionTransformer
).Assembly.FullName);
559
internal static
MatrixFactorizationPredictionTransformer
Create(IHostEnvironment env, ModelLoadContext ctx)
MatrixFactorizationTrainer.cs (5)
114
ITrainerEstimator<
MatrixFactorizationPredictionTransformer
, MatrixFactorizationModelParameters>
521
/// Trains a <see cref="MatrixFactorizationTrainer"/> using both training and validation data, returns a <see cref="
MatrixFactorizationPredictionTransformer
"/>.
525
public
MatrixFactorizationPredictionTransformer
Fit(IDataView trainData, IDataView validationData)
545
/// <summary> Trains and returns a <see cref="
MatrixFactorizationPredictionTransformer
"/>.</summary>
548
public
MatrixFactorizationPredictionTransformer
Fit(IDataView input) => Fit(input, null);
Microsoft.ML.Samples (3)
Dynamic\Trainers\Recommendation\MatrixFactorization.cs (1)
40
var
model = pipeline.Fit(trainingData);
Dynamic\Trainers\Recommendation\MatrixFactorizationWithOptions.cs (1)
64
var
model = pipeline.Fit(trainingData);
Dynamic\Trainers\Recommendation\OneClassMatrixFactorizationWithOptions.cs (1)
70
var
model = pipeline.Fit(dataView);
Microsoft.ML.Tests (8)
TrainerEstimators\MatrixFactorizationTests.cs (8)
87
var
model = pipeline.Fit(data);
153
var
modelWithValidation = pipeline.Fit(data, testData);
231
var
model = pipeline.Fit(dataView);
343
var
model = pipeline.Fit(dataView);
466
var
model = pipeline.Fit(dataView);
610
var
model = pipeline.Fit(dataView);
676
var
model = pipeline.Fit(dataView);
790
var
model = pipeline.Fit(dataView);