2 interfaces inheriting from IValueMapperDist
Microsoft.ML.Data (2)
Model\Onnx\ICanSaveOnnx.cs (1)
85
internal interface IDistCanSaveOnnx : ISingleCanSaveOnnx,
IValueMapperDist
Model\Pfa\ICanSavePfa.cs (1)
101
internal interface IDistCanSavePfa : ISingleCanSavePfa,
IValueMapperDist
4 implementations of IValueMapperDist
Microsoft.ML.Data (1)
Prediction\Calibrator.cs (1)
290
IValueMapperDist
, IFeatureContributionMapper, ICalculateFeatureContribution,
Microsoft.ML.Ensemble (1)
Trainer\EnsembleDistributionModelParameters.cs (1)
24
TDistPredictor,
IValueMapperDist
Microsoft.ML.StandardTrainers (2)
Standard\Simple\SimpleTrainers.cs (2)
41
IValueMapperDist
335
IValueMapperDist
, ISingleCanSaveOnnx
37 references to IValueMapperDist
Microsoft.ML.Data (8)
Commands\ScoreCommand.cs (1)
387
if (predictor is
IValueMapperDist
)
Model\Onnx\ICanSaveOnnx.cs (1)
81
/// For simple mappers. Intended to be used for <see cref="
IValueMapperDist
"/>
Model\Pfa\ICanSavePfa.cs (1)
97
/// For simple mappers. Intended to be used for <see cref="
IValueMapperDist
"/>
Prediction\Calibrator.cs (2)
300
DataViewType
IValueMapperDist
.DistType => NumberDataViewType.Single;
324
ValueMapper<TIn, TOut, TDist>
IValueMapperDist
.GetMapper<TIn, TOut, TDist>()
Scorers\SchemaBindablePredictorWrapper.cs (3)
403
private readonly
IValueMapperDist
_distMapper;
475
private void CheckValid(out
IValueMapperDist
distMapper)
479
distMapper = Predictor as
IValueMapperDist
;
Microsoft.ML.Ensemble (8)
Trainer\EnsembleDistributionModelParameters.cs (8)
45
private readonly
IValueMapperDist
[] _mappers;
51
DataViewType
IValueMapperDist
.DistType => NumberDataViewType.Single;
82
private VectorDataViewType InitializeMappers(out
IValueMapperDist
[] mappers)
86
mappers = new
IValueMapperDist
[Models.Length];
90
var
vmd = Models[i].Predictor as
IValueMapperDist
;
105
private bool IsValid(
IValueMapperDist
mapper, out VectorDataViewType inputType)
176
ValueMapper<TIn, TOut, TDist>
IValueMapperDist
.GetMapper<TIn, TOut, TDist>()
Microsoft.ML.StandardTrainers (21)
Standard\MulticlassClassification\OneVersusAllTrainer.cs (10)
312
IValueMapperDist
ivmd = null;
314
((ivmd = predictors[0] as
IValueMapperDist
) == null ||
325
var dists = new
IValueMapperDist
[predictors.Length];
327
dists[i] = (
IValueMapperDist
)predictors[i];
384
var predictors = new
IValueMapperDist
[len];
682
private readonly
IValueMapperDist
[] _mappers;
687
internal ImplDist(
IValueMapperDist
[] predictors)
691
_mappers = new
IValueMapperDist
[predictors.Length];
695
var
vm = predictors[i];
705
private bool IsValid(
IValueMapperDist
mapper, ref VectorDataViewType inputType)
Standard\MulticlassClassification\PairwiseCouplingTrainer.cs (6)
253
private readonly
IValueMapperDist
[] _mappers;
314
private VectorDataViewType InitializeMappers(out
IValueMapperDist
[] mappers)
316
mappers = new
IValueMapperDist
[_predictors.Length];
320
var
vmd = _predictors[i] as
IValueMapperDist
;
327
private bool IsValid(
IValueMapperDist
mapper, ref VectorDataViewType inputType)
Standard\Simple\SimpleTrainers.cs (5)
33
/// This is a faulty model parameters that claims to be a <see cref="
IValueMapperDist
"/>. We maintain the class for
66
DataViewType
IValueMapperDist
.DistType => NumberDataViewType.Single;
133
ValueMapper<TIn, TOut, TDist>
IValueMapperDist
.GetMapper<TIn, TOut, TDist>()
443
DataViewType
IValueMapperDist
.DistType => NumberDataViewType.Single;
454
ValueMapper<TIn, TOut, TDist>
IValueMapperDist
.GetMapper<TIn, TOut, TDist>()