2 implementations of IRowMapper
Microsoft.ML.Data (2)
Evaluators\EvaluatorBase.cs (1)
471internal abstract class PerInstanceEvaluatorBase : IRowMapper
Transforms\RowToRowTransformerBase.cs (1)
57private protected abstract class MapperBase : IRowMapper
59 references to IRowMapper
Microsoft.ML.Data (58)
DataView\RowToRowMapperTransform.cs (8)
63/// It does so with the help of an <see cref="IRowMapper"/>, that is given a schema in its constructor, and has methods 70private readonly IRowMapper _mapper; 74private readonly Func<DataViewSchema, IRowMapper> _mapperFactory; 95public RowToRowMapperTransform(IHostEnvironment env, IDataView input, IRowMapper mapper, Func<DataViewSchema, IRowMapper> mapperFactory) 104public static DataViewSchema GetOutputSchema(DataViewSchema inputSchema, IRowMapper mapper) 117ctx.LoadModel<IRowMapper, SignatureLoadRowMapper>(host, out _mapper, "Mapper", input.Schema); 276var newMapper = _mapperFactory(newSource.Schema);
Evaluators\BinaryClassifierEvaluator.cs (1)
191private protected override IRowMapper CreatePerInstanceRowMapper(RoleMappedSchema schema)
Evaluators\ClusteringEvaluator.cs (1)
145private protected override IRowMapper CreatePerInstanceRowMapper(RoleMappedSchema schema)
Evaluators\EvaluatorBase.cs (5)
459var mapper = CreatePerInstanceRowMapper(data.Schema); 464private protected abstract IRowMapper CreatePerInstanceRowMapper(RoleMappedSchema schema); 525Func<int, bool> IRowMapper.GetDependencies(Func<int, bool> activeOutput) 531DataViewSchema.DetachedColumn[] IRowMapper.GetOutputColumns() 537Delegate[] IRowMapper.CreateGetters(DataViewRow input, Func<int, bool> activeCols, out Action disposer)
Evaluators\MamlEvaluator.cs (1)
290/// the columns generated by the corresponding <see cref="IRowMapper"/>, or any of the input columns used by
Evaluators\MulticlassClassificationEvaluator.cs (1)
120private protected override IRowMapper CreatePerInstanceRowMapper(RoleMappedSchema schema)
Evaluators\MultiOutputRegressionEvaluator.cs (1)
50private protected override IRowMapper CreatePerInstanceRowMapper(RoleMappedSchema schema)
Evaluators\QuantileRegressionEvaluator.cs (1)
42private protected override IRowMapper CreatePerInstanceRowMapper(RoleMappedSchema schema)
Evaluators\RegressionEvaluator.cs (1)
72private protected override IRowMapper CreatePerInstanceRowMapper(RoleMappedSchema schema)
Prediction\CalibratorCatalog.cs (1)
225private protected override IRowMapper MakeRowMapper(DataViewSchema schema) => new Mapper<TICalibrator>(this, _calibrator, schema, _scoreColumnName);
Transforms\ColumnConcatenatingTransformer.cs (3)
28[assembly: LoadableClass(typeof(IRowMapper), typeof(ColumnConcatenatingTransformer), null, typeof(SignatureLoadRowMapper), 406private protected override IRowMapper MakeRowMapper(DataViewSchema inputSchema) => new Mapper(this, inputSchema); 417private static IRowMapper Create(IHostEnvironment env, ModelLoadContext ctx, DataViewSchema inputSchema)
Transforms\ColumnCopying.cs (3)
28[assembly: LoadableClass(typeof(IRowMapper), typeof(ColumnCopyingTransformer), null, typeof(SignatureLoadRowMapper), 184private static IRowMapper Create(IHostEnvironment env, ModelLoadContext ctx, DataViewSchema inputSchema) 193private protected override IRowMapper MakeRowMapper(DataViewSchema inputSchema)
Transforms\FeatureContributionCalculationTransformer.cs (3)
21[assembly: LoadableClass(typeof(IRowMapper), typeof(FeatureContributionCalculatingTransformer), null, typeof(SignatureLoadRowMapper), 159private static IRowMapper Create(IHostEnvironment env, ModelLoadContext ctx, DataViewSchema inputSchema) 162private protected override IRowMapper MakeRowMapper(DataViewSchema schema)
Transforms\Hashing.cs (3)
27[assembly: LoadableClass(typeof(IRowMapper), typeof(HashingTransformer), null, typeof(SignatureLoadRowMapper), 275private protected override IRowMapper MakeRowMapper(DataViewSchema schema) => new Mapper(this, schema); 323private static IRowMapper Create(IHostEnvironment env, ModelLoadContext ctx, DataViewSchema inputSchema)
Transforms\KeyToValue.cs (3)
29[assembly: LoadableClass(typeof(IRowMapper), typeof(KeyToValueMappingTransformer), null, typeof(SignatureLoadRowMapper), 139private static IRowMapper Create(IHostEnvironment env, ModelLoadContext ctx, DataViewSchema inputSchema) 154private protected override IRowMapper MakeRowMapper(DataViewSchema inputSchema) => new Mapper(this, inputSchema);
Transforms\KeyToVector.cs (3)
28[assembly: LoadableClass(typeof(IRowMapper), typeof(KeyToVectorMappingTransformer), null, typeof(SignatureLoadRowMapper), 218private static IRowMapper Create(IHostEnvironment env, ModelLoadContext ctx, DataViewSchema inputSchema) 221private protected override IRowMapper MakeRowMapper(DataViewSchema schema) => new Mapper(this, schema);
Transforms\Normalizer.cs (3)
22[assembly: LoadableClass(typeof(IRowMapper), typeof(NormalizingTransformer), null, typeof(SignatureLoadRowMapper), 676private static IRowMapper Create(IHostEnvironment env, ModelLoadContext ctx, DataViewSchema inputSchema) 718private protected override IRowMapper MakeRowMapper(DataViewSchema schema) => new Mapper(this, schema);
Transforms\RowToRowTransformerBase.cs (4)
38private protected abstract IRowMapper MakeRowMapper(DataViewSchema schema); 43var mapper = MakeRowMapper(inputSchema); 76DataViewSchema.DetachedColumn[] IRowMapper.GetOutputColumns() => OutputColumns.Value; 109Func<int, bool> IRowMapper.GetDependencies(Func<int, bool> activeOutput)
Transforms\SlotsDroppingTransformer.cs (3)
28[assembly: LoadableClass(typeof(IRowMapper), typeof(SlotsDroppingTransformer), null, typeof(SignatureLoadRowMapper), 325private static IRowMapper Create(IHostEnvironment env, ModelLoadContext ctx, DataViewSchema inputSchema) 443private protected override IRowMapper MakeRowMapper(DataViewSchema schema)
Transforms\TypeConverting.cs (3)
27[assembly: LoadableClass(TypeConvertingTransformer.Summary, typeof(IRowMapper), typeof(TypeConvertingTransformer), null, typeof(SignatureLoadRowMapper), 348private static IRowMapper Create(IHostEnvironment env, ModelLoadContext ctx, DataViewSchema inputSchema) 351private protected override IRowMapper MakeRowMapper(DataViewSchema schema) => new Mapper(this, schema);
Transforms\ValueMapping.cs (3)
30[assembly: LoadableClass(typeof(IRowMapper), typeof(ValueMappingTransformer), null, typeof(SignatureLoadRowMapper), 764private static IRowMapper Create(IHostEnvironment env, ModelLoadContext ctx, DataViewSchema inputSchema) 1023private protected override IRowMapper MakeRowMapper(DataViewSchema schema)
Transforms\ValueToKeyMappingTransformer.cs (3)
32[assembly: LoadableClass(typeof(IRowMapper), typeof(ValueToKeyMappingTransformer), null, typeof(SignatureLoadRowMapper), 367private static IRowMapper Create(IHostEnvironment env, ModelLoadContext ctx, DataViewSchema inputSchema) 699private protected override IRowMapper MakeRowMapper(DataViewSchema schema)
Microsoft.ML.TimeSeries (1)
SequentialTransformerBase.cs (1)
730/// It does so with the help of an <see cref="IRowMapper"/>, that is given a schema in its constructor, and has methods