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