40 references to MapKeyToValue
Microsoft.ML.AutoML (2)
API\MulticlassClassificationExperiment.cs (1)
334pipeline = pipeline.Append(Context.Transforms.Conversion.MapKeyToValue(DefaultColumnNames.PredictedLabel, DefaultColumnNames.PredictedLabel));
EstimatorExtensions\EstimatorExtensions.cs (1)
68return context.Transforms.Conversion.MapKeyToValue(outColumn, inColumn);
Microsoft.ML.Data (1)
Transforms\KeyToValue.cs (1)
617/// <seealso cref="ConversionsExtensionsCatalog.MapKeyToValue(TransformsCatalog.ConversionTransforms, string, string)"/>
Microsoft.ML.IntegrationTests (1)
Training.cs (1)
490.Append(mlContext.Transforms.Conversion.MapKeyToValue("PredictedLabel"));
Microsoft.ML.OnnxTransformerTest (1)
DnnImageFeaturizerTest.cs (1)
231.Append(ML.Transforms.Conversion.MapKeyToValue("PredictedLabel", "PredictedLabel"));
Microsoft.ML.PerformanceTests (1)
ImageClassificationBench.cs (1)
92.Append(_mlContext.Transforms.Conversion.MapKeyToValue(
Microsoft.ML.Samples (5)
Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
68.Append(mlContext.Transforms.Conversion.MapKeyToValue(
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
104.Append(mlContext.Transforms.Conversion.MapKeyToValue(
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
84.Append(mlContext.Transforms.Conversion.MapKeyToValue(
Dynamic\Transforms\Conversion\KeyToValueToKey.cs (1)
86.MapKeyToValue(nameof(TransformedData.Keys)));
Dynamic\Transforms\Text\TokenizeIntoCharactersAsKeys.cs (1)
31.Append(mlContext.Transforms.Conversion.MapKeyToValue(
Microsoft.ML.Samples.GPU (3)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
68.Append(mlContext.Transforms.Conversion.MapKeyToValue(
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
104.Append(mlContext.Transforms.Conversion.MapKeyToValue(
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
84.Append(mlContext.Transforms.Conversion.MapKeyToValue(
Microsoft.ML.TensorFlow.Tests (3)
TensorflowTests.cs (3)
1420.Append(_mlContext.Transforms.Conversion.MapKeyToValue(outputColumnName: "PredictedLabel", inputColumnName: "PredictedLabel"))); ; 1523.Append(_mlContext.Transforms.Conversion.MapKeyToValue(outputColumnName: "PredictedLabel", inputColumnName: "PredictedLabel"))); 1681.Append(_mlContext.Transforms.Conversion.MapKeyToValue(
Microsoft.ML.Tests (14)
DatabaseLoaderTests.cs (5)
71.Append(mlContext.Transforms.Conversion.MapKeyToValue("PredictedLabel")); 107.Append(mlContext.Transforms.Conversion.MapKeyToValue("PredictedLabel")); 143.Append(mlContext.Transforms.Conversion.MapKeyToValue("PredictedLabel")); 175.Append(mlContext.Transforms.Conversion.MapKeyToValue("PredictedLabel")); 207.Append(mlContext.Transforms.Conversion.MapKeyToValue("PredictedLabel"));
OnnxConversionTest.cs (2)
1411Append(mlContext.Transforms.Conversion.MapKeyToValue("Value", "Key")), 1414Append(mlContext.Transforms.Conversion.MapKeyToValue("Value"))
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (1)
264var finalPipeline = pipeline.Append(mlContext.Transforms.Conversion.MapKeyToValue("Data", "PredictedLabel"));
Scenarios\IrisPlantClassificationWithStringLabelTests.cs (1)
42.Append(mlContext.Transforms.Conversion.MapKeyToValue("Plant", "PredictedLabel"));
TrainerEstimators\MetalinearEstimators.cs (1)
68.Append(ML.Transforms.Conversion.MapKeyToValue("PredictedLabelValue", "PredictedLabel"));
TrainerEstimators\TreeEstimators.cs (1)
782.Append(ML.Transforms.Conversion.MapKeyToValue("PredictedLabel"));
Transformers\KeyToValueTests.cs (2)
78var est = ML.Transforms.Conversion.MapKeyToValue("ScalarString", "A") 79.Append(ML.Transforms.Conversion.MapKeyToValue("VectorString", "B"));
Transformers\ValueMappingTests.cs (1)
559Append(ML.Transforms.Conversion.MapKeyToValue("DOutput", "D"));
Microsoft.ML.TorchSharp.Tests (9)
NerTests.cs (3)
72.Append(ML.Transforms.Conversion.MapKeyToValue("outputColumn")); 151.Append(ML.Transforms.Conversion.MapKeyToValue("outputColumn")); 225.Append(ML.Transforms.Conversion.MapKeyToValue("outputColumn"));
ObjectDetectionTests.cs (2)
52.Append(ML.Transforms.Conversion.MapKeyToValue("PredictedLabel")); 69.Append(ML.Transforms.Conversion.MapKeyToValue("PredictedLabel"));
TextClassificationTests.cs (4)
100.Append(ML.Transforms.Conversion.MapKeyToValue("outputColumn")); 179.Append(mlContext.Transforms.Conversion.MapKeyToValue("PredictedLabel")); 237.Append(ML.Transforms.Conversion.MapKeyToValue("outputColumn")); 321.Append(ML.Transforms.Conversion.MapKeyToValue("outputColumn"));