1 write to InputSchema
Microsoft.ML.Data (1)
Transforms\RowToRowTransformerBase.cs (1)
69InputSchema = inputSchema;
32 references to InputSchema
Microsoft.ML.Data (32)
Prediction\CalibratorCatalog.cs (2)
268var scoreName = InputSchema[_scoreColIndex].Name; 283var annotation = InputSchema[_scoreColIndex].Annotations;
Transforms\ColumnConcatenatingTransformer.cs (3)
515return new BoundColumn(InputSchema, _parent._columns[iinfo], sources, new VectorDataViewType((PrimitiveDataViewType)itemType, totalSize), 859var active = new bool[InputSchema.Count]; 933InputSchema[srcIndex].Type.GetValueCount()));
Transforms\FeatureContributionCalculationTransformer.cs (3)
187if (InputSchema[_featureColumnIndex].HasSlotNames(_featureColumnType.Size)) 188InputSchema[_featureColumnIndex].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref _slotNames); 199builder.Add(InputSchema[_featureColumnIndex].Annotations, x => x == AnnotationUtils.Kinds.SlotNames);
Transforms\Hashing.cs (2)
1334InputSchema.TryGetColumnIndex(_parent.ColumnPairs[i].inputColumnName, out int colIndex); 1337meta.Add(InputSchema[colIndex].Annotations, name => name == AnnotationUtils.Kinds.SlotNames);
Transforms\KeyToValue.cs (3)
177meta.Add(InputSchema[ColMapNewToOld[i]].Annotations, name => name == AnnotationUtils.Kinds.SlotNames); 259InputSchema[ColMapNewToOld[iinfo]].GetKeyValues(ref keyMetadata); 488var srcType = Parent.InputSchema[Parent.ColMapNewToOld[InfoIndex]].Type;
Transforms\KeyToVector.cs (4)
294InputSchema.TryGetColumnIndex(_parent.ColumnPairs[i].inputColumnName, out int colIndex); 305InputSchema.TryGetColumnIndex(_infos[iinfo].InputColumnName, out int srcCol); 306var inputMetadata = InputSchema[srcCol].Annotations; 377var inputMetadata = InputSchema[_infos[iinfo].InputColumnName].Annotations;
Transforms\Normalizer.cs (1)
747builder.Add(InputSchema[ColMapNewToOld[iinfo]].Annotations, name => name == AnnotationUtils.Kinds.SlotNames);
Transforms\OneToOneTransformerBase.cs (1)
111var active = new bool[InputSchema.Count];
Transforms\RowToRowTransformerBase.cs (1)
84Contracts.Assert(input.Schema == InputSchema);
Transforms\SlotsDroppingTransformer.cs (6)
482if (!InputSchema.TryGetColumnIndex(_parent.ColumnPairs[i].inputColumnName, out _cols[i])) 555InputSchema[_cols[iinfo]].GetSlotNames(ref names); 832InputSchema.TryGetColumnIndex(_parent.ColumnPairs[iinfo].inputColumnName, out int colIndex); 840var hasSlotNames = InputSchema[_cols[iinfo]].HasSlotNames(vectorType.Size); 854if (AnnotationUtils.TryGetCategoricalFeatureIndices(InputSchema, _cols[iinfo], out _categoricalRanges[iinfo])) 870builder.Add(InputSchema[_cols[iinfo]].Annotations, x => x == AnnotationUtils.Kinds.KeyValues || x == AnnotationUtils.Kinds.IsNormalized);
Transforms\TypeConverting.cs (4)
440var srcType = InputSchema[_srcCols[i]].Type; 442builder.Add(InputSchema[ColMapNewToOld[i]].Annotations, name => name == AnnotationUtils.Kinds.SlotNames); 452builder.Add(InputSchema[ColMapNewToOld[i]].Annotations, name => name == AnnotationUtils.Kinds.KeyValues); 456builder.Add(InputSchema[ColMapNewToOld[i]].Annotations, name => name == AnnotationUtils.Kinds.IsNormalized);
Transforms\ValueToKeyMappingTransformer.cs (2)
745InputSchema.TryGetColumnIndex(_parent.ColumnPairs[i].inputColumnName, out int colIndex); 750builder.Add(InputSchema[colIndex].Annotations, name => name == AnnotationUtils.Kinds.SlotNames);