2 writes to _indicesKind
Microsoft.ML.Transforms (2)
SvmLight\SvmLightLoader.cs (2)
559
_indicesKind
= options.FeatureIndices;
603
_indicesKind
= (FeatureIndices)ctx.Reader.ReadInt32();
7 references to _indicesKind
Microsoft.ML.Transforms (7)
SvmLight\SvmLightLoader.cs (7)
560
if (
_indicesKind
!= FeatureIndices.Names)
569
_featureCount = InferMax(_host, data) + (ulong)(
_indicesKind
== FeatureIndices.ZeroBased ? 1 : 0);
631
ctx.Writer.Write((int)
_indicesKind
);
641
var indexParser = new IndexParser(
_indicesKind
== FeatureIndices.ZeroBased, _featureCount);
648
_indicesKind
== FeatureIndices.Names, schema).GetOutputSchema(schema);
754
var indexParser = new IndexParser(
_indicesKind
== FeatureIndices.ZeroBased, _featureCount);
758
return CreateOutputTransformer(_host, (int)_featureCount,
_indicesKind
== FeatureIndices.Names, data.Schema).Transform(data);