9 implementations of ISchemaBoundRowMapper
Microsoft.ML.Data (5)
Microsoft.ML.Ensemble (1)
Microsoft.ML.FastTree (1)
Microsoft.ML.Recommender (1)
Microsoft.ML.StandardTrainers (1)
68 references to ISchemaBoundRowMapper
Microsoft.ML.Core (5)
Microsoft.ML.Data (54)
Scorers\MulticlassClassificationScorer.cs (13)
234Contracts.Assert(innerBound is ISchemaBoundRowMapper);
235return Utils.MarshalInvoke(CreateBound<int>, _type.ItemType.RawType, env, (ISchemaBoundRowMapper)innerBound, _type, _getter, _metadataKind, _canWrap);
238internal static ISchemaBoundMapper CreateBound<T>(IHostEnvironment env, ISchemaBoundRowMapper mapper, VectorDataViewType type, Delegate getter,
256private readonly ISchemaBoundRowMapper _mapper;
282public Bound(IHostEnvironment env, ISchemaBoundRowMapper mapper, VectorDataViewType type, ValueGetter<VBuffer<T>> getter,
341IEnumerable<DataViewSchema.Column> ISchemaBoundRowMapper.GetDependenciesForNewColumns(IEnumerable<DataViewSchema.Column> dependingColumns)
346DataViewRow ISchemaBoundRowMapper.GetRow(DataViewRow input, IEnumerable<DataViewSchema.Column> activeColumns)
450ISchemaBoundRowMapper rowMapper = mapper as ISchemaBoundRowMapper;
490env.Assert(mapper is ISchemaBoundRowMapper);
505resultMapper = LabelNameBindableMapper.CreateBound<T>(env, (ISchemaBoundRowMapper)resultMapper, type as VectorDataViewType, getter, AnnotationUtils.Kinds.TrainingLabelValues, CanWrapTrainingLabels);
507resultMapper = LabelNameBindableMapper.CreateBound<T>(env, (ISchemaBoundRowMapper)resultMapper, type as VectorDataViewType, getter, AnnotationUtils.Kinds.SlotNames, CanWrapSlotNames);
603private static DataViewType GetPredColType(DataViewType scoreType, ISchemaBoundRowMapper mapper) => new KeyDataViewType(typeof(uint), scoreType.GetVectorSize());
Scorers\PredictedLabelScorerBase.cs (12)
52private BindingsImpl(DataViewSchema input, ISchemaBoundRowMapper mapper, string suffix, string scoreColumnKind,
93public static BindingsImpl Create(DataViewSchema input, ISchemaBoundRowMapper mapper, string suffix,
116var rowMapper = mapper as ISchemaBoundRowMapper;
127Func<DataViewType, bool> outputTypeMatches, Func<DataViewType, ISchemaBoundRowMapper, DataViewType> getPredColType)
144var rowMapper = mapper as ISchemaBoundRowMapper;
284Func<DataViewType, bool> outputTypeMatches, Func<DataViewType, ISchemaBoundRowMapper, DataViewType> getPredColType, string predictedLabelColumnName = DefaultColumnNames.PredictedLabel)
293var rowMapper = mapper as ISchemaBoundRowMapper;
294Host.CheckParam(rowMapper != null, nameof(mapper), "mapper should implement " + nameof(ISchemaBoundRowMapper));
318Func<DataViewType, bool> outputTypeMatches, Func<DataViewType, ISchemaBoundRowMapper, DataViewType> getPredColType)
Microsoft.ML.Ensemble (5)
Microsoft.ML.FastTree (1)
Microsoft.ML.Recommender (1)
Microsoft.ML.StandardTrainers (2)