2 writes to _indicesKind
Microsoft.ML.Transforms (2)
SvmLight\SvmLightLoader.cs (2)
560
_indicesKind
= options.FeatureIndices;
604
_indicesKind
= (FeatureIndices)ctx.Reader.ReadInt32();
7 references to _indicesKind
Microsoft.ML.Transforms (7)
SvmLight\SvmLightLoader.cs (7)
561
if (
_indicesKind
!= FeatureIndices.Names)
570
_featureCount = InferMax(_host, data) + (ulong)(
_indicesKind
== FeatureIndices.ZeroBased ? 1 : 0);
632
ctx.Writer.Write((int)
_indicesKind
);
642
var indexParser = new IndexParser(
_indicesKind
== FeatureIndices.ZeroBased, _featureCount);
649
_indicesKind
== FeatureIndices.Names, schema).GetOutputSchema(schema);
755
var indexParser = new IndexParser(
_indicesKind
== FeatureIndices.ZeroBased, _featureCount);
759
return CreateOutputTransformer(_host, (int)_featureCount,
_indicesKind
== FeatureIndices.Names, data.Schema).Transform(data);