1 interface inheriting from IRowToRowMapper
Microsoft.ML.TimeSeries (1)
PredictionEngine.cs (1)
14internal interface IStatefulRowToRowMapper : IRowToRowMapper
7 implementations of IRowToRowMapper
Microsoft.ML.Data (6)
DataView\CompositeRowToRowMapper.cs (1)
17internal sealed class CompositeRowToRowMapper : IRowToRowMapper, IDisposable
DataView\RowToRowMapperTransform.cs (1)
67internal sealed class RowToRowMapperTransform : RowToRowTransformBase, IRowToRowMapper,
EntryPoints\TransformModelImpl.cs (1)
193private sealed class CompositeRowToRowMapper : IRowToRowMapper
Transforms\ColumnSelecting.cs (1)
653private sealed class SelectColumnsDataTransform : IDataTransform, IRowToRowMapper, ITransformTemplate, ITransformCanSaveOnnx
Transforms\NopTransform.cs (1)
24internal sealed class NopTransform : IDataTransform, IRowToRowMapper
Transforms\TransformBase.cs (1)
155internal abstract class RowToRowMapperTransformBase : RowToRowTransformBase, IRowToRowMapper
Microsoft.ML.TimeSeries (1)
SequentialTransformerBase.cs (1)
467internal sealed class SequentialDataTransform : TransformBase, ITransformTemplate, IRowToRowMapper
82 references to IRowToRowMapper
Microsoft.ML.Core (6)
Data\IEstimator.cs (1)
294IRowToRowMapper GetRowToRowMapper(DataViewSchema inputSchema);
Data\ISchemaBindableMapper.cs (1)
22/// the SimpleRow class can be used in the <see cref="IRowToRowMapper.GetRow"/> method.
EntryPoints\TransformModel.cs (4)
62/// Returns the transform model as an <see cref="IRowToRowMapper"/> that can output a row 65/// <returns>The transform model as an <see cref="IRowToRowMapper"/>. If not all transforms 66/// in the pipeline are <see cref="IRowToRowMapper"/> then it returns <see langword="null"/>.</returns> 68internal abstract IRowToRowMapper AsRowToRowMapper(IExceptionContext ectx);
Microsoft.ML.Data (42)
DataLoadSave\TransformerChain.cs (3)
240IRowToRowMapper ITransformer.GetRowToRowMapper(DataViewSchema inputSchema) 246IRowToRowMapper[] mappers = new IRowToRowMapper[_transformers.Length];
DataLoadSave\TransformWrapper.cs (5)
47bool ITransformer.IsRowToRowMapper => _xf is IRowToRowMapper; 49IRowToRowMapper ITransformer.GetRowToRowMapper(DataViewSchema inputSchema) 52var transform = ApplyTransformUtils.ApplyTransformToData(_host, (IDataTransform)_xf, new EmptyDataView(_host, inputSchema)) as IRowToRowMapper; 53_host.Check(transform is IRowToRowMapper);
DataView\CompositeRowToRowMapper.cs (7)
20internal IRowToRowMapper[] InnerMappers { get; } 21private static readonly IRowToRowMapper[] _empty = new IRowToRowMapper[0]; 32public CompositeRowToRowMapper(DataViewSchema inputSchema, IRowToRowMapper[] mappers) 44IEnumerable<DataViewSchema.Column> IRowToRowMapper.GetDependencies(IEnumerable<DataViewSchema.Column> columnsNeeded) 52DataViewRow IRowToRowMapper.GetRow(DataViewRow input, IEnumerable<DataViewSchema.Column> activeColumns) 130foreach (var mapper in InnerMappers)
DataView\DataViewExtensions.cs (1)
64public static DataViewRow GetRow(this IRowToRowMapper rowMapper, DataViewRow input, params DataViewSchema.Column[] activeColumns)
DataView\RowToRowMapperTransform.cs (2)
240IEnumerable<DataViewSchema.Column> IRowToRowMapper.GetDependencies(IEnumerable<DataViewSchema.Column> dependingColumns) 249DataViewRow IRowToRowMapper.GetRow(DataViewRow input, IEnumerable<DataViewSchema.Column> activeColumns)
EntryPoints\TransformModelImpl.cs (9)
185internal override IRowToRowMapper AsRowToRowMapper(IExceptionContext ectx) 219if (!(transform is IRowToRowMapper)) 229IEnumerable<DataViewSchema.Column> IRowToRowMapper.GetDependencies(IEnumerable<DataViewSchema.Column> dependingColumns) 237var mapper = transform as IRowToRowMapper; 247DataViewRow IRowToRowMapper.GetRow(DataViewRow input, IEnumerable<DataViewSchema.Column> activeColumns) 255var mappers = new List<IRowToRowMapper>(); 261var mapper = transform as IRowToRowMapper;
Prediction\PredictionEngine.cs (2)
124IRowToRowMapper mapper, bool ignoreMissingColumns, SchemaDefinition outputSchemaDefinition, out Action disposer, out IRowReadableAs<TDst> outputRow) 132private protected virtual Func<DataViewSchema, IRowToRowMapper> TransformerChecker(IExceptionContext ectx, ITransformer transformer)
Scorers\PredictionTransformer.cs (2)
157IRowToRowMapper ITransformer.GetRowToRowMapper(DataViewSchema inputSchema) 160return (IRowToRowMapper)Scorer.ApplyToData(Host, new EmptyDataView(Host, inputSchema));
Transforms\ColumnSelecting.cs (5)
491IRowToRowMapper ITransformer.GetRowToRowMapper(DataViewSchema inputSchema) 684var inputCols = ((IRowToRowMapper)this).GetDependencies(columnsNeeded); 697var inputCols = ((IRowToRowMapper)this).GetDependencies(columnsNeeded); 716IEnumerable<DataViewSchema.Column> IRowToRowMapper.GetDependencies(IEnumerable<DataViewSchema.Column> columns) 725DataViewRow IRowToRowMapper.GetRow(DataViewRow input, IEnumerable<DataViewSchema.Column> activeColumns)
Transforms\NopTransform.cs (3)
30DataViewSchema IRowToRowMapper.InputSchema => Source.Schema; 129IEnumerable<DataViewSchema.Column> IRowToRowMapper.GetDependencies(IEnumerable<DataViewSchema.Column> dependingColumns) 132DataViewRow IRowToRowMapper.GetRow(DataViewRow input, IEnumerable<DataViewSchema.Column> activeColumns)
Transforms\RowToRowTransformerBase.cs (1)
31IRowToRowMapper ITransformer.GetRowToRowMapper(DataViewSchema inputSchema)
Transforms\TransformBase.cs (2)
170IEnumerable<DataViewSchema.Column> IRowToRowMapper.GetDependencies(IEnumerable<DataViewSchema.Column> dependingColumns) 176DataViewRow IRowToRowMapper.GetRow(DataViewRow input, IEnumerable<DataViewSchema.Column> activeColumns)
Microsoft.ML.Ensemble (2)
PipelineEnsemble.cs (2)
38protected readonly IRowToRowMapper[] BoundPipelines; 62BoundPipelines = new IRowToRowMapper[Parent.PredictorModels.Length];
Microsoft.ML.PerformanceTests (2)
HashBench.cs (2)
88var mapper = ((ITransformer)xf).GetRowToRowMapper(_inRow.Schema); 105var mapper = ((ITransformer)estimator).GetRowToRowMapper(_inRow.Schema);
Microsoft.ML.TestFramework (1)
DataPipe\TestDataPipeBase.cs (1)
99var mapper = transformer.GetRowToRowMapper(data.Schema);
Microsoft.ML.Tests (1)
Transformers\HashTests.cs (1)
141var mapper = ((ITransformer)xf).GetRowToRowMapper(inRow.Schema);
Microsoft.ML.TimeSeries (22)
IidAnomalyDetectionBase.cs (2)
44IRowToRowMapper ITransformer.GetRowToRowMapper(DataViewSchema inputSchema) 52public IRowToRowMapper GetStatefulRowToRowMapper(DataViewSchema inputSchema)
PredictionEngine.cs (9)
25IRowToRowMapper GetStatefulRowToRowMapper(DataViewSchema inputSchema); 160internal DataViewRow GetStatefulRows(DataViewRow input, IRowToRowMapper mapper, IEnumerable<DataViewSchema.Column> activeColumns, List<StatefulRow> rows) 165IRowToRowMapper[] innerMappers = new IRowToRowMapper[0]; 218IRowToRowMapper mapper, bool ignoreMissingColumns, SchemaDefinition outputSchemaDefinition, out Action disposer, out IRowReadableAs<TDst> outputRow) 236private IRowToRowMapper GetRowToRowMapper(DataViewSchema inputSchema) 251IRowToRowMapper[] mappers = new IRowToRowMapper[transformers.Length]; 265private protected override Func<DataViewSchema, IRowToRowMapper> TransformerChecker(IExceptionContext ectx, ITransformer transformer)
SequentialTransformerBase.cs (5)
452public IRowToRowMapper GetRowToRowMapper(DataViewSchema inputSchema) 457IRowToRowMapper IStatefulTransformer.GetStatefulRowToRowMapper(DataViewSchema inputSchema) 610DataViewRow IRowToRowMapper.GetRow(DataViewRow input, IEnumerable<DataViewSchema.Column> activeColumns) 926DataViewSchema IRowToRowMapper.InputSchema => Source.Schema; 928DataViewRow IRowToRowMapper.GetRow(DataViewRow input, IEnumerable<DataViewSchema.Column> activeColumns)
SrCnnAnomalyDetectionBase.cs (2)
41IRowToRowMapper ITransformer.GetRowToRowMapper(DataViewSchema inputSchema) 49public IRowToRowMapper GetStatefulRowToRowMapper(DataViewSchema inputSchema)
SsaAnomalyDetectionBase.cs (2)
113IRowToRowMapper ITransformer.GetRowToRowMapper(DataViewSchema inputSchema) 121public IRowToRowMapper GetStatefulRowToRowMapper(DataViewSchema inputSchema)
SsaForecastingBase.cs (2)
46IRowToRowMapper ITransformer.GetRowToRowMapper(DataViewSchema inputSchema) 54public IRowToRowMapper GetStatefulRowToRowMapper(DataViewSchema inputSchema)
Microsoft.ML.Transforms (6)
CustomMappingTransformer.cs (1)
101IRowToRowMapper ITransformer.GetRowToRowMapper(DataViewSchema inputSchema)
Dracula\CountTargetEncodingTransformer.cs (1)
384IRowToRowMapper ITransformer.GetRowToRowMapper(DataViewSchema inputSchema)
OneHotEncoding.cs (1)
143IRowToRowMapper ITransformer.GetRowToRowMapper(DataViewSchema inputSchema) => ((ITransformer)_transformer).GetRowToRowMapper(inputSchema);
OneHotHashEncoding.cs (1)
198IRowToRowMapper ITransformer.GetRowToRowMapper(DataViewSchema inputSchema) => ((ITransformer)_transformer).GetRowToRowMapper(inputSchema);
StatefulCustomMappingTransformer.cs (1)
99IRowToRowMapper ITransformer.GetRowToRowMapper(DataViewSchema inputSchema)
Text\TextFeaturizingEstimator.cs (1)
702IRowToRowMapper ITransformer.GetRowToRowMapper(DataViewSchema inputSchema)