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