8 instantiations of CustomMappingTransformer
Microsoft.ML.Transforms (8)
CustomMappingFactory.cs (1)
43return new CustomMappingTransformer<TSrc, TDst>(env, mapAction, contractName);
CustomMappingTransformer.cs (1)
245new CustomMappingTransformer<TSrc, TDst>(env, mapAction, contractName, inputSchemaDefinition, outputSchemaDefinition))
SvmLight\SvmLightLoader.cs (6)
646new CustomMappingTransformer<IntermediateInput, Indices>(_host, indexParser.ParseIndices, null); 660var transformer = new CustomMappingTransformer<Input, CommentIndicator>(env, Input.MapComment, null); 667data = new CustomMappingTransformer<Input, IntermediateInput>(env, inputMapper.MapInput, null).Transform(data); 735outputTransformer = new CustomMappingTransformer<IntermediateOut, Output>(env, 740outputTransformer = new CustomMappingTransformer<IntermediateOut, Output>(env, 757new CustomMappingTransformer<IntermediateInput, Indices>(_host, indexParser.ParseIndices, null);
14 references to CustomMappingTransformer
Microsoft.ML.Core.Tests (1)
UnitTests\TestCustomTypeRegister.cs (1)
186var model = heroEstimator.Fit(tribeDataView);
Microsoft.ML.OnnxTransformerTest (1)
OnnxTransformTests.cs (1)
862var model = pipeline.Fit(dataView);
Microsoft.ML.Samples (3)
Dynamic\Transforms\CustomMapping.cs (1)
44var transformer = pipeline.Fit(data);
Dynamic\Transforms\CustomMappingSaveAndLoad.cs (1)
42var transformer = pipeline.Fit(data);
Dynamic\Transforms\CustomMappingWithInMemoryCustomType.cs (1)
33var model = pipeline.Fit(tribeDataView);
Microsoft.ML.Transforms (9)
CustomMappingTransformer.cs (4)
48_host = env.Register(nameof(CustomMappingTransformer<TSrc, TDst>)); 114private readonly CustomMappingTransformer<TSrc, TDst> _parent; 117public Mapper(CustomMappingTransformer<TSrc, TDst> parent, DataViewSchema inputSchema) 230public sealed class CustomMappingEstimator<TSrc, TDst> : TrivialEstimator<CustomMappingTransformer<TSrc, TDst>>
StatefulFilterTransform.cs (1)
17/// This transform is similar to <see cref="CustomMappingTransformer{TSrc,TDst}"/>, but it allows per-cursor state,
SvmLight\SvmLightLoader.cs (4)
99/// This class is used as input for the <see cref="CustomMappingTransformer{TSrc, TDst}"/> mapping the input as a line of text. 284/// feature names, instead of a <see cref="CustomMappingTransformer{TSrc, TDst}"/>, we use a <see cref="ValueToKeyMappingTransformer"/>. 325/// This class is used by the <see cref="CustomMappingTransformer{TSrc, TDst}"/> 660var transformer = new CustomMappingTransformer<Input, CommentIndicator>(env, Input.MapComment, null);