3 writes to _linearWeights
Microsoft.ML.StandardTrainers (3)
FactorizationMachine\FieldAwareFactorizationMachineModelParameters.cs (3)
90
_linearWeights
= linearWeights;
125
_linearWeights
= linearWeights;
159
_linearWeights
= linearWeights;
7 references to _linearWeights
Microsoft.ML.StandardTrainers (7)
FactorizationMachine\FieldAwareFactorizationMachineModelParameters.cs (7)
205
Host.Assert(Utils.Size(
_linearWeights
) == FeatureCount);
212
ctx.Writer.WriteSingleArray(
_linearWeights
);
235
featureFieldBuffer, featureIndexBuffer, featureValueBuffer,
_linearWeights
, _latentWeightsAligned, latentSum, ref modelResponse);
244
Host.AssertValue(
_linearWeights
);
246
Array.Copy(
_linearWeights
, linearWeights,
_linearWeights
.Length);
259
public IReadOnlyList<float> GetLinearWeights() =>
_linearWeights
;