1 write to _pred
Microsoft.ML.StandardTrainers (1)
FactorizationMachine\FieldAwareFactorizationMachineUtils.cs (1)
85
_pred
= pred;
11 references to _pred
Microsoft.ML.StandardTrainers (11)
FactorizationMachine\FieldAwareFactorizationMachineUtils.cs (11)
67
public ISchemaBindableMapper Bindable =>
_pred
;
101
var latentSum = new AlignedArray(
_pred
.FieldCount *
_pred
.FieldCount *
_pred
.LatentDimAligned, 16);
103
var featureFieldBuffer = new int[
_pred
.FeatureCount];
104
var featureIndexBuffer = new int[
_pred
.FeatureCount];
105
var featureValueBuffer = new float[
_pred
.FeatureCount];
106
var inputGetters = new ValueGetter<VBuffer<float>>[
_pred
.FieldCount];
114
for (int f = 0; f <
_pred
.FieldCount; f++)
123
value =
_pred
.CalculateResponse(inputGetters, featureBuffer, featureFieldBuffer, featureIndexBuffer, featureValueBuffer, latentSum);
131
value =
_pred
.CalculateResponse(inputGetters, featureBuffer, featureFieldBuffer, featureIndexBuffer, featureValueBuffer, latentSum);