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);