4 writes to _featureCount
Microsoft.ML.Transforms (4)
SvmLight\SvmLightLoader.cs (4)
564_featureCount = (ulong)options.InputSize; 570_featureCount = InferMax(_host, data) + (ulong)(_indicesKind == FeatureIndices.ZeroBased ? 1 : 0); 586_featureCount = keyType.Count; 605_featureCount = ctx.Reader.ReadUInt64();
7 references to _featureCount
Microsoft.ML.Transforms (7)
SvmLight\SvmLightLoader.cs (7)
572_host.Assert(_featureCount <= int.MaxValue); 633ctx.Writer.Write(_featureCount); 642var indexParser = new IndexParser(_indicesKind == FeatureIndices.ZeroBased, _featureCount); 644schemaDef[nameof(Indices.FeatureKeys)].ColumnType = new KeyDataViewType(typeof(uint), _featureCount); 648return CreateOutputTransformer(_host, (int)_featureCount, 755var indexParser = new IndexParser(_indicesKind == FeatureIndices.ZeroBased, _featureCount); 759return CreateOutputTransformer(_host, (int)_featureCount, _indicesKind == FeatureIndices.Names, data.Schema).Transform(data);