13 references to FeatureIndices
Microsoft.ML.Transforms (13)
SvmLight\SvmLightLoader.cs (10)
92public FeatureIndices FeatureIndices = FeatureIndices.OneBased; 533private readonly FeatureIndices _indicesKind; 561if (_indicesKind != FeatureIndices.Names) 570_featureCount = InferMax(_host, data) + (ulong)(_indicesKind == FeatureIndices.ZeroBased ? 1 : 0); 604_indicesKind = (FeatureIndices)ctx.Reader.ReadInt32(); 642var indexParser = new IndexParser(_indicesKind == FeatureIndices.ZeroBased, _featureCount); 649_indicesKind == FeatureIndices.Names, schema).GetOutputSchema(schema); 755var indexParser = new IndexParser(_indicesKind == FeatureIndices.ZeroBased, _featureCount); 759return CreateOutputTransformer(_host, (int)_featureCount, _indicesKind == FeatureIndices.Names, data.Schema).Transform(data);
SvmLight\SvmLightLoaderSaverCatalog.cs (3)
40SvmLightLoader.FeatureIndices.ZeroBased : SvmLightLoader.FeatureIndices.OneBased 53{ NumberOfRows = numberOfRows, FeatureIndices = SvmLightLoader.FeatureIndices.Names }, dataSample);