23 references to ByValue
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
1557data = new ValueToKeyMappingEstimator(Env, "Label", "Label", keyOrdinality: ValueToKeyMappingEstimator.KeyOrdinality.ByValue).Fit(data).Transform(data);
Microsoft.ML.Data (6)
Transforms\ConversionsExtensionsCatalog.cs (2)
233/// If set to <see cref="ValueToKeyMappingEstimator.KeyOrdinality.ByValue"/>, values are sorted, and keys are assigned based on the sort order.</param> 268/// If set to <see cref="ValueToKeyMappingEstimator.KeyOrdinality.ByValue"/>, values are sorted, and keys are assigned based on the sort order.</param>
Transforms\ValueToKeyMappingEstimator.cs (2)
120/// If set to <see cref="ValueToKeyMappingEstimator.KeyOrdinality.ByValue"/>, values are sorted, and keys are assigned based on the sort order.</param> 146/// If set to <see cref="ValueToKeyMappingEstimator.KeyOrdinality.ByValue"/>, values are sorted, and keys are assigned based on the sort order.</param>
Transforms\ValueToKeyMappingTransformerImpl.cs (2)
50Contracts.Assert(sortOrder == ValueToKeyMappingEstimator.KeyOrdinality.ByOccurrence || sortOrder == ValueToKeyMappingEstimator.KeyOrdinality.ByValue); 51bool sorted = sortOrder == ValueToKeyMappingEstimator.KeyOrdinality.ByValue;
Microsoft.ML.EntryPoints (1)
FeatureCombiner.cs (1)
255Sort = ValueToKeyMappingEstimator.KeyOrdinality.ByValue
Microsoft.ML.Samples (7)
Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
51.ValueToKeyMappingEstimator.KeyOrdinality.ByValue)
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (2)
55.ValueToKeyMappingEstimator.KeyOrdinality.ByValue) 71.ValueToKeyMappingEstimator.KeyOrdinality.ByValue)
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
50.ValueToKeyMappingEstimator.KeyOrdinality.ByValue)
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
50.ValueToKeyMappingEstimator.KeyOrdinality.ByValue)
Dynamic\Transforms\Conversion\KeyToValueToKey.cs (1)
45ValueToKeyMappingEstimator.KeyOrdinality.ByValue));
Dynamic\Transforms\Conversion\MapValueToKeyMultiColumn.cs (1)
35.KeyOrdinality.ByValue, addKeyValueAnnotationsAsText: true);
Microsoft.ML.Samples.GPU (5)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
51.ValueToKeyMappingEstimator.KeyOrdinality.ByValue)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (2)
55.ValueToKeyMappingEstimator.KeyOrdinality.ByValue) 71.ValueToKeyMappingEstimator.KeyOrdinality.ByValue)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
50.ValueToKeyMappingEstimator.KeyOrdinality.ByValue)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
50.ValueToKeyMappingEstimator.KeyOrdinality.ByValue)
Microsoft.ML.Transforms (3)
CategoricalCatalog.cs (2)
33/// choosen they will be in the order encountered. If <see cref="ValueToKeyMappingEstimator.KeyOrdinality.ByValue"/>, 67/// choosen they will be in the order encountered. If <see cref="ValueToKeyMappingEstimator.KeyOrdinality.ByValue"/>,
OneHotEncoding.cs (1)
246/// If <see cref="ValueToKeyMappingEstimator.KeyOrdinality.ByValue"/>, items are sorted according to their default comparison, for example, text sorting will be case sensitive (for example, 'A' then 'Z' then 'a').</param>