16 references to CustomMappingEstimator
Microsoft.ML.Core.Tests (2)
UnitTests\TestCustomTypeRegister.cs (2)
155
/// <see cref="
CustomMappingEstimator
{TSrc, TDst}"/> in <see cref="RegisterTypeWithAttribute(bool)"/>.
185
var
heroEstimator = new CustomMappingEstimator<AlienHero, SuperAlienHero>(ML, AlienFusionProcess.MergeBody, "LambdaAlienHero");
Microsoft.ML.IntegrationTests (3)
DataTransformation.cs (2)
61
var
pipeline = mlContext.Transforms.CustomMapping(generateGroupId, null);
107
var
pipeline = mlContext.Transforms.CustomMapping(generateGroupId, null);
SchemaDefinitionTests.cs (1)
78
var
custom = _ml.Transforms.CustomMapping(
Microsoft.ML.OnnxTransformerTest (1)
OnnxTransformTests.cs (1)
861
var
pipeline = ML.Transforms.CustomMapping(action, contractName: null);
Microsoft.ML.Samples (3)
Dynamic\Transforms\CustomMapping.cs (1)
38
var
pipeline = mlContext.Transforms.CustomMapping(mapping, contractName:
Dynamic\Transforms\CustomMappingSaveAndLoad.cs (1)
38
var
pipeline = mlContext.Transforms.CustomMapping(new
Dynamic\Transforms\CustomMappingWithInMemoryCustomType.cs (1)
30
var
pipeline = mlContext.Transforms.CustomMapping(AlienFusionProcess
Microsoft.ML.Tests (3)
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (1)
770
var
estimator = mlContext.Transforms.CustomMapping(mapping, null);
Transformers\CustomMappingTests.cs (2)
67
var
customEst = new CustomMappingEstimator<MyInput, MyOutput>(tempoEnv, MyLambda.MyAction, "MyLambda");
101
var
est = ML.Transforms.CustomMapping(mapping, null);
Microsoft.ML.Transforms (4)
CustomMappingCatalog.cs (2)
19
/// Create a <see cref="
CustomMappingEstimator
{TSrc, TDst}"/>, which applies a custom mapping of input columns to output columns.
44
public static
CustomMappingEstimator
<TSrc, TDst> CustomMapping<TSrc, TDst>(this TransformsCatalog catalog, Action<TSrc, TDst> mapAction, string contractName,
CustomMappingTransformer.cs (2)
14
/// <see cref="ITransformer"/> resulting from fitting an <see cref="
CustomMappingEstimator
{TSrc, TDst}"/>.
244
: base(Contracts.CheckRef(env, nameof(env)).Register(nameof(
CustomMappingEstimator
<TSrc, TDst>)),