1 interface inheriting from IValueMapper
Microsoft.ML.Core (1)
Data\IValueMapper.cs (1)
48
internal interface IValueMapperDist :
IValueMapper
13 implementations of IValueMapper
Microsoft.ML.Ensemble (2)
Trainer\EnsembleModelParameters.cs (1)
23
internal sealed class EnsembleModelParameters : EnsembleModelParametersBase<Single>,
IValueMapper
Trainer\Multiclass\EnsembleMulticlassModelParameters.cs (1)
17
internal sealed class EnsembleMulticlassModelParameters : EnsembleModelParametersBase<VBuffer<Single>>,
IValueMapper
Microsoft.ML.FastTree (2)
FastTree.cs (1)
2774
IValueMapper
,
GamModelParameters.cs (1)
29
public abstract class GamModelParametersBase : ModelParametersBase<float>,
IValueMapper
, ICalculateFeatureContribution,
Microsoft.ML.KMeansClustering (1)
KMeansModelParameters.cs (1)
30
IValueMapper
,
Microsoft.ML.PCA (1)
PcaTrainer.cs (1)
415
IValueMapper
,
Microsoft.ML.StandardTrainers (6)
LdSvm\LdSvmModelParameters.cs (1)
19
IValueMapper
,
Standard\LinearModelParameters.cs (1)
44
IValueMapper
,
Standard\LogisticRegression\MulticlassLogisticRegression.cs (1)
417
IValueMapper
,
Standard\MulticlassClassification\MulticlassNaiveBayesTrainer.cs (1)
226
IValueMapper
,
Standard\MulticlassClassification\OneVersusAllTrainer.cs (1)
246
IValueMapper
,
Standard\MulticlassClassification\PairwiseCouplingTrainer.cs (1)
229
IValueMapper
Microsoft.ML.Vision (1)
ImageClassificationTrainer.cs (1)
1333
public sealed class ImageClassificationModelParameters : ModelParametersBase<VBuffer<float>>,
IValueMapper
, IDisposable
97 references to IValueMapper
Microsoft.ML.Data (12)
Model\Onnx\ICanSaveOnnx.cs (1)
71
/// For simple mappers. Intended to be used for <see cref="
IValueMapper
"/> and
Model\Pfa\ICanSavePfa.cs (1)
75
/// For simple mappers. Intended to be used for <see cref="
IValueMapper
"/> and
Prediction\Calibrator.cs (7)
295
private readonly
IValueMapper
_mapper;
298
DataViewType
IValueMapper
.InputType => _mapper.InputType;
299
DataViewType
IValueMapper
.OutputType => _mapper.OutputType;
312
_mapper = SubModel as
IValueMapper
;
319
ValueMapper<TIn, TOut>
IValueMapper
.GetMapper<TIn, TOut>()
328
var map = ((
IValueMapper
)this).GetMapper<TIn, float>();
1047
if (predictor is
IValueMapper
)
Scorers\SchemaBindablePredictorWrapper.cs (3)
44
private protected readonly
IValueMapper
ValueMapper;
59
private static DataViewType GetScoreType(IPredictor predictor, out
IValueMapper
valueMapper)
63
valueMapper = predictor as
IValueMapper
;
Microsoft.ML.Ensemble (32)
OutputCombiners\BaseStacking.cs (7)
96
var
mapper = (
IValueMapper
)Meta;
115
var
ivm = Meta as
IValueMapper
;
138
Contracts.Assert(models[i].Predictor is
IValueMapper
);
139
var
m = (
IValueMapper
)models[i].Predictor;
PipelineEnsemble.cs (2)
627
if (!(pred is
IValueMapper
vm))
636
vm = pred as
IValueMapper
;
Selector\SubModelSelector\BaseDiverseSelector.cs (2)
42
var
vm = model.Predictor as
IValueMapper
;
Trainer\EnsembleDistributionModelParameters.cs (3)
49
DataViewType
IValueMapper
.InputType => _inputType;
50
DataViewType
IValueMapper
.OutputType => NumberDataViewType.Single;
140
ValueMapper<TIn, TOut>
IValueMapper
.GetMapper<TIn, TOut>()
Trainer\EnsembleModelParameters.cs (9)
42
private readonly
IValueMapper
[] _mappers;
45
DataViewType
IValueMapper
.InputType => _inputType;
46
DataViewType
IValueMapper
.OutputType => NumberDataViewType.Single;
72
private VectorDataViewType InitializeMappers(out
IValueMapper
[] mappers)
76
mappers = new
IValueMapper
[Models.Length];
80
var
vm = Models[i].Predictor as
IValueMapper
;
96
private bool IsValid(
IValueMapper
mapper, out VectorDataViewType inputType)
130
ValueMapper<TIn, TOut>
IValueMapper
.GetMapper<TIn, TOut>()
Trainer\Multiclass\EnsembleMulticlassModelParameters.cs (9)
38
private readonly
IValueMapper
[] _mappers;
40
DataViewType
IValueMapper
.InputType => _inputType;
41
DataViewType
IValueMapper
.OutputType => _outputType;
63
private void InitializeMappers(out
IValueMapper
[] mappers, out VectorDataViewType inputType, out VectorDataViewType outputType)
67
mappers = new
IValueMapper
[Models.Length];
72
var
vm = Models[i].Predictor as
IValueMapper
;
110
ValueMapper<TIn, TOut>
IValueMapper
.GetMapper<TIn, TOut>()
155
private bool IsValid(
IValueMapper
mapper, out VectorDataViewType inputType, out VectorDataViewType outputType)
Microsoft.ML.FastTree (10)
FastTree.cs (3)
2811
DataViewType
IValueMapper
.InputType => InputType;
2815
DataViewType
IValueMapper
.OutputType => OutputType;
2911
ValueMapper<TIn, TOut>
IValueMapper
.GetMapper<TIn, TOut>()
GamModelParameters.cs (3)
53
DataViewType
IValueMapper
.InputType => _inputType;
54
DataViewType
IValueMapper
.OutputType => _outputType;
193
ValueMapper<TIn, TOut>
IValueMapper
.GetMapper<TIn, TOut>()
TreeEnsembleFeaturizer.cs (4)
653
var
vm = predictor as
IValueMapper
;
724
var
vm = predictor as
IValueMapper
;
Microsoft.ML.KMeansClustering (3)
KMeansModelParameters.cs (3)
55
DataViewType
IValueMapper
.InputType => _inputType;
56
DataViewType
IValueMapper
.OutputType => _outputType;
147
ValueMapper<TIn, TOut>
IValueMapper
.GetMapper<TIn, TOut>()
Microsoft.ML.Mkl.Components (1)
OlsLinearRegression.cs (1)
459
IValueMapper
lrPredictor = new LinearRegressionModelParameters(Host, in weights, bias);
Microsoft.ML.PCA (3)
PcaTrainer.cs (3)
607
DataViewType
IValueMapper
.InputType
612
DataViewType
IValueMapper
.OutputType
617
ValueMapper<TIn, TOut>
IValueMapper
.GetMapper<TIn, TOut>()
Microsoft.ML.StandardTrainers (33)
LdSvm\LdSvmModelParameters.cs (1)
268
ValueMapper<TIn, TOut>
IValueMapper
.GetMapper<TIn, TOut>()
Standard\LinearModelParameters.cs (3)
299
DataViewType
IValueMapper
.InputType
304
DataViewType
IValueMapper
.OutputType
309
ValueMapper<TIn, TOut>
IValueMapper
.GetMapper<TIn, TOut>()
Standard\LogisticRegression\MulticlassLogisticRegression.cs (3)
450
DataViewType
IValueMapper
.InputType => InputType;
451
DataViewType
IValueMapper
.OutputType => OutputType;
767
ValueMapper<TSrc, TDst>
IValueMapper
.GetMapper<TSrc, TDst>()
Standard\MulticlassClassification\MulticlassNaiveBayesTrainer.cs (3)
254
DataViewType
IValueMapper
.InputType => _inputType;
256
DataViewType
IValueMapper
.OutputType => _outputType;
410
ValueMapper<TIn, TOut>
IValueMapper
.GetMapper<TIn, TOut>()
Standard\MulticlassClassification\OneVersusAllTrainer.cs (14)
439
DataViewType
IValueMapper
.InputType
444
DataViewType
IValueMapper
.OutputType
448
ValueMapper<TIn, TOut>
IValueMapper
.GetMapper<TIn, TOut>()
504
public abstract
IValueMapper
[] Predictors { get; }
513
protected bool IsValid(
IValueMapper
mapper, ref VectorDataViewType inputType)
600
public override
IValueMapper
[] Predictors { get; }
607
Predictors = new
IValueMapper
[predictors.Length];
611
var
vm = predictors[i] as
IValueMapper
;
684
public override
IValueMapper
[] Predictors => _mappers;
849
public override
IValueMapper
[] Predictors { get; }
856
Predictors = new
IValueMapper
[predictors.Length];
860
var
vm = predictors[i] as
IValueMapper
;
Standard\MulticlassClassification\PairwiseCouplingTrainer.cs (3)
259
DataViewType
IValueMapper
.InputType => _inputType;
260
DataViewType
IValueMapper
.OutputType => _outputType;
458
ValueMapper<TIn, TOut>
IValueMapper
.GetMapper<TIn, TOut>()
Standard\Simple\SimpleTrainers.cs (6)
64
DataViewType
IValueMapper
.InputType => _inputType;
65
DataViewType
IValueMapper
.OutputType => NumberDataViewType.Single;
124
ValueMapper<TIn, TOut>
IValueMapper
.GetMapper<TIn, TOut>()
441
DataViewType
IValueMapper
.InputType => _inputType;
442
DataViewType
IValueMapper
.OutputType => NumberDataViewType.Single;
445
ValueMapper<TIn, TOut>
IValueMapper
.GetMapper<TIn, TOut>()
Microsoft.ML.Vision (3)
ImageClassificationTrainer.cs (3)
1382
DataViewType
IValueMapper
.InputType => _inputType;
1384
DataViewType
IValueMapper
.OutputType => _outputType;
1473
ValueMapper<TSrc, TDst>
IValueMapper
.GetMapper<TSrc, TDst>()