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(); 401for (int j = 0; j < Utils.Size(_invDocFreqs[i]); j++) 402Host.CheckDecode(_invDocFreqs[i][j] >= 0); 469ctx.Writer.WriteDoubleArray(_invDocFreqs[i]); 606weights[i] = _parent._invDocFreqs[iinfo][i]; 688Host.AssertValue(_parent._invDocFreqs[iinfo]); 698VBufferUtils.Apply(ref dst, (int i, ref float v) => v = (float)(v * _parent._invDocFreqs[iinfo][i])); 705Host.AssertValue(_parent._invDocFreqs[iinfo]); 715VBufferUtils.Apply(ref dst, (int i, ref float v) => v = v >= 1 ? (float)_parent._invDocFreqs[iinfo][i] : 0);