2 writes to _invDocFreqs
Microsoft.ML.Transforms (2)
Text\NgramTransform.cs (2)
218
_ngramMaps = Train(Host, columns, _transformInfos, input, out
_invDocFreqs
);
392
_invDocFreqs
= new double[columnsLength][];
9 references to _invDocFreqs
Microsoft.ML.Transforms (9)
Text\NgramTransform.cs (9)
400
_invDocFreqs
[i] = ctx.Reader.ReadDoubleArray();
401
for (int j = 0; j < Utils.Size(
_invDocFreqs
[i]); j++)
402
Host.CheckDecode(
_invDocFreqs
[i][j] >= 0);
469
ctx.Writer.WriteDoubleArray(
_invDocFreqs
[i]);
606
weights[i] = _parent.
_invDocFreqs
[iinfo][i];
688
Host.AssertValue(_parent.
_invDocFreqs
[iinfo]);
698
VBufferUtils.Apply(ref dst, (int i, ref float v) => v = (float)(v * _parent.
_invDocFreqs
[iinfo][i]));
705
Host.AssertValue(_parent.
_invDocFreqs
[iinfo]);
715
VBufferUtils.Apply(ref dst, (int i, ref float v) => v = v >= 1 ? (float)_parent.
_invDocFreqs
[iinfo][i] : 0);