8 instantiations of CustomMappingTransformer
Microsoft.ML.Transforms (8)
CustomMappingFactory.cs (1)
43
return new
CustomMappingTransformer
<TSrc, TDst>(env, mapAction, contractName);
CustomMappingTransformer.cs (1)
245
new
CustomMappingTransformer
<TSrc, TDst>(env, mapAction, contractName, inputSchemaDefinition, outputSchemaDefinition))
SvmLight\SvmLightLoader.cs (6)
646
new
CustomMappingTransformer
<IntermediateInput, Indices>(_host, indexParser.ParseIndices, null);
660
var transformer = new
CustomMappingTransformer
<Input, CommentIndicator>(env, Input.MapComment, null);
667
data = new
CustomMappingTransformer
<Input, IntermediateInput>(env, inputMapper.MapInput, null).Transform(data);
735
outputTransformer = new
CustomMappingTransformer
<IntermediateOut, Output>(env,
740
outputTransformer = new
CustomMappingTransformer
<IntermediateOut, Output>(env,
757
new
CustomMappingTransformer
<IntermediateInput, Indices>(_host, indexParser.ParseIndices, null);
14 references to CustomMappingTransformer
Microsoft.ML.Core.Tests (1)
UnitTests\TestCustomTypeRegister.cs (1)
186
var
model = heroEstimator.Fit(tribeDataView);
Microsoft.ML.OnnxTransformerTest (1)
OnnxTransformTests.cs (1)
862
var
model = pipeline.Fit(dataView);
Microsoft.ML.Samples (3)
Dynamic\Transforms\CustomMapping.cs (1)
44
var
transformer = pipeline.Fit(data);
Dynamic\Transforms\CustomMappingSaveAndLoad.cs (1)
42
var
transformer = pipeline.Fit(data);
Dynamic\Transforms\CustomMappingWithInMemoryCustomType.cs (1)
33
var
model = pipeline.Fit(tribeDataView);
Microsoft.ML.Transforms (9)
CustomMappingTransformer.cs (4)
48
_host = env.Register(nameof(
CustomMappingTransformer
<TSrc, TDst>));
114
private readonly
CustomMappingTransformer
<TSrc, TDst> _parent;
117
public Mapper(
CustomMappingTransformer
<TSrc, TDst> parent, DataViewSchema inputSchema)
230
public 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}"/>
660
var
transformer = new CustomMappingTransformer<Input, CommentIndicator>(env, Input.MapComment, null);