2 instantiations of FieldAwareFactorizationMachinePredictionTransformer
Microsoft.ML.StandardTrainers (2)
FactorizationMachine\FactorizationMachineTrainer.cs (1)
611return new FieldAwareFactorizationMachinePredictionTransformer(_host, model, trainData.Schema, FeatureColumns.Select(x => x.Name).ToArray());
FactorizationMachine\FieldAwareFactorizationMachineModelParameters.cs (1)
443=> new FieldAwareFactorizationMachinePredictionTransformer(env, ctx);
22 references to FieldAwareFactorizationMachinePredictionTransformer
Microsoft.ML.IntegrationTests (4)
Training.cs (4)
61var ffm = ffmTrainer.Fit(featurizedTrain); 147var firstModel = trainer.Fit(featurizedData); 151var firstModelPrime = trainer.Fit(featurizedData); 155var secondModel = trainer.Fit(featurizedData, modelParameters: firstModel.Model);
Microsoft.ML.Samples (3)
Dynamic\Trainers\BinaryClassification\FactorizationMachine.cs (1)
39var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachine.cs (1)
45var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachineWithOptions.cs (1)
56var model = pipeline.Fit(trainingData);
Microsoft.ML.StandardTrainers (12)
FactorizationMachine\FactorizationMachineTrainer.cs (5)
95IEstimator<FieldAwareFactorizationMachinePredictionTransformer> 586/// and returns a <see cref="FieldAwareFactorizationMachinePredictionTransformer"/>. 588public FieldAwareFactorizationMachinePredictionTransformer Fit(IDataView trainData, 614/// <summary> Trains and returns a <see cref="FieldAwareFactorizationMachinePredictionTransformer"/>.</summary> 615public FieldAwareFactorizationMachinePredictionTransformer Fit(IDataView input) => Fit(input, null, null);
FactorizationMachine\FieldAwareFactorizationMachineModelParameters.cs (7)
19[assembly: LoadableClass(typeof(FieldAwareFactorizationMachinePredictionTransformer), typeof(FieldAwareFactorizationMachinePredictionTransformer), null, typeof(SignatureLoadModel), 20"", FieldAwareFactorizationMachinePredictionTransformer.LoaderSignature)] 306: base(Contracts.CheckRef(host, nameof(host)).Register(nameof(FieldAwareFactorizationMachinePredictionTransformer)), model, trainSchema) 333: base(Contracts.CheckRef(host, nameof(host)).Register(nameof(FieldAwareFactorizationMachinePredictionTransformer)), ctx) 439loaderAssemblyName: typeof(FieldAwareFactorizationMachinePredictionTransformer).Assembly.FullName); 442internal static FieldAwareFactorizationMachinePredictionTransformer Create(IHostEnvironment env, ModelLoadContext ctx)
Microsoft.ML.Tests (3)
TrainerEstimators\FAFMEstimator.cs (3)
54var model = pipeline.Fit(dataView); 83var model = est.Fit(data); 84var anotherModel = est.Fit(data, data, model.Model);