13 references to FeatureIndices
Microsoft.ML.Transforms (13)
SvmLight\SvmLightLoader.cs (10)
91
public
FeatureIndices
FeatureIndices =
FeatureIndices
.OneBased;
532
private readonly
FeatureIndices
_indicesKind;
560
if (_indicesKind !=
FeatureIndices
.Names)
569
_featureCount = InferMax(_host, data) + (ulong)(_indicesKind ==
FeatureIndices
.ZeroBased ? 1 : 0);
603
_indicesKind = (
FeatureIndices
)ctx.Reader.ReadInt32();
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);
SvmLight\SvmLightLoaderSaverCatalog.cs (3)
40
SvmLightLoader.
FeatureIndices
.ZeroBased : SvmLightLoader.
FeatureIndices
.OneBased
53
{ NumberOfRows = numberOfRows, FeatureIndices = SvmLightLoader.
FeatureIndices
.Names }, dataSample);