FactorizationMachineExtensions.FieldAwareFactorizationMachine FactorizationMachineExtensions.FieldAwareFactorizationMachine FactorizationMachineExtensions.FieldAwareFactorizationMachine Method

Definition

Overloads

FieldAwareFactorizationMachine(BinaryClassificationCatalog+BinaryClassificationTrainers, Scalar<Boolean>, Vector<Single>[], Action<FieldAwareFactorizationMachineModelParameters>) FieldAwareFactorizationMachine(BinaryClassificationCatalog+BinaryClassificationTrainers, Scalar<Boolean>, Vector<Single>[], Action<FieldAwareFactorizationMachineModelParameters>) FieldAwareFactorizationMachine(BinaryClassificationCatalog+BinaryClassificationTrainers, Scalar<Boolean>, Vector<Single>[], Action<FieldAwareFactorizationMachineModelParameters>)

Predict a target using a field-aware factorization machine.

FieldAwareFactorizationMachine(BinaryClassificationCatalog+BinaryClassificationTrainers, Scalar<Boolean>, Vector<Single>[], FieldAwareFactorizationMachineTrainer+Options, Action<FieldAwareFactorizationMachineModelParameters>) FieldAwareFactorizationMachine(BinaryClassificationCatalog+BinaryClassificationTrainers, Scalar<Boolean>, Vector<Single>[], FieldAwareFactorizationMachineTrainer+Options, Action<FieldAwareFactorizationMachineModelParameters>)

Predict a target using a field-aware factorization machine.

FieldAwareFactorizationMachine(BinaryClassificationCatalog+BinaryClassificationTrainers, Scalar<Boolean>, Vector<Single>[], Action<FieldAwareFactorizationMachineModelParameters>) FieldAwareFactorizationMachine(BinaryClassificationCatalog+BinaryClassificationTrainers, Scalar<Boolean>, Vector<Single>[], Action<FieldAwareFactorizationMachineModelParameters>) FieldAwareFactorizationMachine(BinaryClassificationCatalog+BinaryClassificationTrainers, Scalar<Boolean>, Vector<Single>[], Action<FieldAwareFactorizationMachineModelParameters>)

Predict a target using a field-aware factorization machine.

public static ValueTuple<Microsoft.ML.StaticPipe.Scalar<float>,Microsoft.ML.StaticPipe.Scalar<bool>> FieldAwareFactorizationMachine (this Microsoft.ML.BinaryClassificationCatalog.BinaryClassificationTrainers catalog, Microsoft.ML.StaticPipe.Scalar<bool> label, Microsoft.ML.StaticPipe.Vector<float>[] features, Action<Microsoft.ML.Trainers.FieldAwareFactorizationMachineModelParameters> onFit = null);
static member FieldAwareFactorizationMachine : Microsoft.ML.BinaryClassificationCatalog.BinaryClassificationTrainers * Microsoft.ML.StaticPipe.Scalar<bool> * Microsoft.ML.StaticPipe.Vector<single>[] * Action<Microsoft.ML.Trainers.FieldAwareFactorizationMachineModelParameters> -> ValueTuple<Microsoft.ML.StaticPipe.Scalar<single>, Microsoft.ML.StaticPipe.Scalar<bool>>
<Extension()>
Public Function FieldAwareFactorizationMachine (catalog As BinaryClassificationCatalog.BinaryClassificationTrainers, label As Scalar(Of Boolean), features As Vector(Of Single)(), Optional onFit As Action(Of FieldAwareFactorizationMachineModelParameters) = null) As ValueTuple(Of Scalar(Of Single), Scalar(Of Boolean))

Parameters

label
Scalar<Boolean>

The label, or dependent variable.

features
Vector<Single>[]

The features, or independent variables.

onFit
Action<FieldAwareFactorizationMachineModelParameters>

A delegate that is called every time the Fit(DataView<TInShape>) method is called on the Estimator<TInShape,TOutShape,TTransformer> instance created out of this. This delegate will receive the model that was trained. The type of the model is FieldAwareFactorizationMachineModelParameters. Note that this action cannot change the result in any way; it is only a way for the caller to be informed about what was learnt.

Returns

The predicted output.

FieldAwareFactorizationMachine(BinaryClassificationCatalog+BinaryClassificationTrainers, Scalar<Boolean>, Vector<Single>[], FieldAwareFactorizationMachineTrainer+Options, Action<FieldAwareFactorizationMachineModelParameters>) FieldAwareFactorizationMachine(BinaryClassificationCatalog+BinaryClassificationTrainers, Scalar<Boolean>, Vector<Single>[], FieldAwareFactorizationMachineTrainer+Options, Action<FieldAwareFactorizationMachineModelParameters>)

Predict a target using a field-aware factorization machine.

public static ValueTuple<Microsoft.ML.StaticPipe.Scalar<float>,Microsoft.ML.StaticPipe.Scalar<bool>> FieldAwareFactorizationMachine (this Microsoft.ML.BinaryClassificationCatalog.BinaryClassificationTrainers catalog, Microsoft.ML.StaticPipe.Scalar<bool> label, Microsoft.ML.StaticPipe.Vector<float>[] features, Microsoft.ML.Trainers.FieldAwareFactorizationMachineTrainer.Options options, Action<Microsoft.ML.Trainers.FieldAwareFactorizationMachineModelParameters> onFit = null);
static member FieldAwareFactorizationMachine : Microsoft.ML.BinaryClassificationCatalog.BinaryClassificationTrainers * Microsoft.ML.StaticPipe.Scalar<bool> * Microsoft.ML.StaticPipe.Vector<single>[] * Microsoft.ML.Trainers.FieldAwareFactorizationMachineTrainer.Options * Action<Microsoft.ML.Trainers.FieldAwareFactorizationMachineModelParameters> -> ValueTuple<Microsoft.ML.StaticPipe.Scalar<single>, Microsoft.ML.StaticPipe.Scalar<bool>>

Parameters

label
Scalar<Boolean>

The label, or dependent variable.

features
Vector<Single>[]

The features, or independent variables.

onFit
Action<FieldAwareFactorizationMachineModelParameters>

A delegate that is called every time the Fit(DataView<TInShape>) method is called on the Estimator<TInShape,TOutShape,TTransformer> instance created out of this. This delegate will receive the model that was trained. The type of the model is FieldAwareFactorizationMachineModelParameters. Note that this action cannot change the result in any way; it is only a way for the caller to be informed about what was learnt.

Returns

The predicted output.

Applies to