13 references to ValueMapper
Microsoft.ML.Core (1)
Data\IValueMapper.cs (1)
37ValueMapper<TSrc, TDst> GetMapper<TSrc, TDst>();
Microsoft.ML.Core.Tests (5)
UnitTests\DataTypes.cs (5)
26var r4ToSB = Conversions.DefaultInstance.GetStringConversion<float>(NumberDataViewType.Single); 28var txToR4 = Conversions.DefaultInstance.GetStandardConversion<ReadOnlyMemory<char>, float>( 50var r8ToSB = Conversions.DefaultInstance.GetStringConversion<double>(NumberDataViewType.Double); 52var txToR8 = Conversions.DefaultInstance.GetStandardConversion<ReadOnlyMemory<char>, double>( 235var dtToDT = Conversions.DefaultInstance.GetStandardConversion<DateTime, DateTime>(
Microsoft.ML.Data (2)
Prediction\Calibrator.cs (1)
328var map = ((IValueMapper)this).GetMapper<TIn, float>();
Scorers\SchemaBindablePredictorWrapper.cs (1)
172var map = ValueMapper.GetMapper<TSrc, TDst>();
Microsoft.ML.Ensemble (2)
OutputCombiners\BaseStacking.cs (1)
97var map = mapper.GetMapper<VBuffer<Single>, TOutput>();
Selector\SubModelSelector\BaseDiverseSelector.cs (1)
44var map = vm.GetMapper<VBuffer<Single>, TOutput>();
Microsoft.ML.FastTree (2)
FastTree.cs (1)
1300var conv = Conversions.DefaultInstance.GetStandardConversion<T1, T2>(itemType1, itemType2, out bool identity);
TreeEnsembleFeaturizer.cs (1)
746var converter = Conversions.DefaultInstance.GetStandardConversion<TInput, ulong>(type, dstType, out identity);
Microsoft.ML.Mkl.Components (1)
OlsLinearRegression.cs (1)
460var lrMap = lrPredictor.GetMapper<VBuffer<float>, float>();