2 instantiations of FieldAwareFactorizationMachineModelParameters
Microsoft.ML.StandardTrainers (2)
FactorizationMachine\FactorizationMachineTrainer.cs (1)
550
return new
FieldAwareFactorizationMachineModelParameters
(_host, _norm, fieldCount, totalFeatureCount, _latentDim, linearWeights, latentWeightsAligned);
FactorizationMachine\FieldAwareFactorizationMachineModelParameters.cs (1)
183
return new
FieldAwareFactorizationMachineModelParameters
(env, ctx);
20 references to FieldAwareFactorizationMachineModelParameters
Microsoft.ML.StandardTrainers (20)
FactorizationMachine\FactorizationMachineTrainer.cs (12)
94
public sealed class FieldAwareFactorizationMachineTrainer : ITrainer<
FieldAwareFactorizationMachineModelParameters
>,
297
private void InitializeTrainingState(int fieldCount, int featureCount,
FieldAwareFactorizationMachineModelParameters
predictor, out float[] linearWeights,
408
private
FieldAwareFactorizationMachineModelParameters
TrainCore(IChannel ch, IProgressChannel pch, RoleMappedData data,
409
RoleMappedData validData = null,
FieldAwareFactorizationMachineModelParameters
predictor = null)
553
private
FieldAwareFactorizationMachineModelParameters
Train(TrainContext context)
556
var
initPredictor = context.InitialPredictor as
FieldAwareFactorizationMachineModelParameters
;
558
"Initial predictor should have been " + nameof(
FieldAwareFactorizationMachineModelParameters
));
568
FieldAwareFactorizationMachineModelParameters
ITrainer<
FieldAwareFactorizationMachineModelParameters
>.Train(TrainContext context) => Train(context);
589
IDataView validationData = null,
FieldAwareFactorizationMachineModelParameters
modelParameters = null)
591
FieldAwareFactorizationMachineModelParameters
model = null;
FactorizationMachine\FieldAwareFactorizationMachineModelParameters.cs (6)
17
[assembly: LoadableClass(typeof(
FieldAwareFactorizationMachineModelParameters
), null, typeof(SignatureLoadModel), "Field Aware Factorization Machine",
FieldAwareFactorizationMachineModelParameters
.LoaderSignature)]
60
loaderAssemblyName: typeof(
FieldAwareFactorizationMachineModelParameters
).Assembly.FullName);
178
internal static
FieldAwareFactorizationMachineModelParameters
Create(IHostEnvironment env, ModelLoadContext ctx)
287
public sealed class FieldAwareFactorizationMachinePredictionTransformer : PredictionTransformerBase<
FieldAwareFactorizationMachineModelParameters
>
304
internal FieldAwareFactorizationMachinePredictionTransformer(IHostEnvironment host,
FieldAwareFactorizationMachineModelParameters
model, DataViewSchema trainSchema,
FactorizationMachine\FieldAwareFactorizationMachineUtils.cs (2)
59
private readonly
FieldAwareFactorizationMachineModelParameters
_pred;
74
DataViewSchema outputSchema,
FieldAwareFactorizationMachineModelParameters
pred)