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