2 writes to NumFeatures
Microsoft.ML.Transforms (2)
Dracula\Featurizer.cs (2)
53
NumFeatures
= _labelBinCount + _logOddsCount + 1;
82
NumFeatures
= ctx.Reader.ReadInt32();
10 references to NumFeatures
Microsoft.ML.Transforms (10)
Dracula\CountTableTransformer.cs (4)
616
Host.Check((long)valueCount * _parent.Featurizer.
NumFeatures
< int.MaxValue, "Too large output size");
617
var type = new VectorDataViewType(NumberDataViewType.Single, valueCount, _parent.Featurizer.
NumFeatures
);
685
var outputLength = _parent.Featurizer.
NumFeatures
;
704
var outputLength = _parent.Featurizer.
NumFeatures
;
Dracula\Featurizer.cs (6)
83
_host.CheckDecode(
NumFeatures
== _labelBinCount + _logOddsCount + 1);
110
ctx.Writer.Write(
NumFeatures
);
129
var editor = VBufferEditor.Create(ref featureNames,
NumFeatures
);
134
editor.Values[
NumFeatures
- 1] = "IsBackoff".AsMemory();
140
_host.Assert(features.Length ==
NumFeatures
);
166
features[
NumFeatures
- 1] = isGarbage ? 1 : 0;