1 type derived from ValueMappingEstimator
Microsoft.ML.Data (1)
Transforms\ValueMapping.cs (1)
167public sealed class ValueMappingEstimator<TKey, TValue> : ValueMappingEstimator
2 instantiations of ValueMappingEstimator
Microsoft.ML.Data (2)
Transforms\ConversionsExtensionsCatalog.cs (2)
512return new ValueMappingEstimator(CatalogUtils.GetEnvironment(catalog), lookupMap, keyColumn, valueColumn, 534return new ValueMappingEstimator(env, lookupMap, keyColumn, valueColumn, InputOutputColumnPair.ConvertToValueTuples(columns));
15 references to ValueMappingEstimator
Microsoft.ML.Data (12)
Transforms\ConversionsExtensionsCatalog.cs (10)
312/// Create a <see cref="ValueMappingEstimator"/>, which converts value types into keys, loading the keys to use from <paramref name="keyValuePairs"/>. 325/// <returns>An instance of the <see cref="ValueMappingEstimator"/></returns> 353/// Create a <see cref="ValueMappingEstimator"/>, which converts value types into keys, loading the keys to use from <paramref name="keyValuePairs"/>. 385/// Create a <see cref="ValueMappingEstimator"/>, which converts value types into keys, loading the keys to use from <paramref name="keyValuePairs"/>. 419/// Create a <see cref="ValueMappingEstimator"/>, which converts value types into keys, loading the keys to use from <paramref name="keyValuePairs"/>. 458/// Create a <see cref="ValueMappingEstimator"/>, which converts value types into keys, loading the keys to use from <paramref name="keyValuePairs"/>. 489/// Create a <see cref="ValueMappingEstimator"/>, which converts value types into keys, loading the keys to use from the <paramref name="lookupMap"/> where the <paramref name="keyColumn"/> 508public static ValueMappingEstimator MapValue( 517/// Create a <see cref="ValueMappingEstimator"/>, which converts value types into keys, 528internal static ValueMappingEstimator MapValue(
Transforms\ValueMapping.cs (2)
79: base(Contracts.CheckRef(env, nameof(env)).Register(nameof(ValueMappingEstimator)), 347/// <see cref="ITransformer"/> resulting from fitting a <see cref="ValueMappingEstimator"/>.
Microsoft.ML.Samples (1)
Dynamic\Transforms\Conversion\MapValueIdvLookup.cs (1)
45var pipeline = mlContext.Transforms.Conversion.MapValue("PriceCategory",
Microsoft.ML.Tests (2)
Transformers\ValueMappingTests.cs (2)
236var estimator = new ValueMappingEstimator(Env, mapView, mapView.Schema["Key"], mapView.Schema["Value"], new[] { ("D", "A"), ("E", "B"), ("F", "C") }); 778var pipeline = ML.Transforms.Conversion.MapValue("PriceCategory", lookupIdvMap, lookupIdvMap.Schema["Value"], lookupIdvMap.Schema["Category"], "Price");