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