4 writes to _featureCount
Microsoft.ML.Transforms (4)
SvmLight\SvmLightLoader.cs (4)
564
_featureCount
= (ulong)options.InputSize;
570
_featureCount
= InferMax(_host, data) + (ulong)(_indicesKind == FeatureIndices.ZeroBased ? 1 : 0);
586
_featureCount
= keyType.Count;
605
_featureCount
= ctx.Reader.ReadUInt64();
7 references to _featureCount
Microsoft.ML.Transforms (7)
SvmLight\SvmLightLoader.cs (7)
572
_host.Assert(
_featureCount
<= int.MaxValue);
633
ctx.Writer.Write(
_featureCount
);
642
var indexParser = new IndexParser(_indicesKind == FeatureIndices.ZeroBased,
_featureCount
);
644
schemaDef[nameof(Indices.FeatureKeys)].ColumnType = new KeyDataViewType(typeof(uint),
_featureCount
);
648
return CreateOutputTransformer(_host, (int)
_featureCount
,
755
var indexParser = new IndexParser(_indicesKind == FeatureIndices.ZeroBased,
_featureCount
);
759
return CreateOutputTransformer(_host, (int)
_featureCount
, _indicesKind == FeatureIndices.Names, data.Schema).Transform(data);