1 write to _featureColumnIndex
Microsoft.ML.Data (1)
Transforms\FeatureContributionCalculationTransformer.cs (1)
181
if (!schema.TryGetColumnIndex(_parent.ColumnPairs[0].inputColumnName, out
_featureColumnIndex
))
5 references to _featureColumnIndex
Microsoft.ML.Data (5)
Transforms\FeatureContributionCalculationTransformer.cs (5)
183
_featureColumnType = schema[
_featureColumnIndex
].Type as VectorDataViewType;
185
throw Host.ExceptSchemaMismatch(nameof(schema), "feature", _parent.ColumnPairs[0].inputColumnName, "vector of Single", schema[
_featureColumnIndex
].Type.ToString());
187
if (InputSchema[
_featureColumnIndex
].HasSlotNames(_featureColumnType.Size))
188
InputSchema[
_featureColumnIndex
].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref _slotNames);
199
builder.Add(InputSchema[
_featureColumnIndex
].Annotations, x => x == AnnotationUtils.Kinds.SlotNames);