5 implementations of IFeatureContributionMapper
Microsoft.ML.Data (2)
Prediction\Calibrator.cs (2)
290IValueMapperDist, IFeatureContributionMapper, ICalculateFeatureContribution, 641IBindableCanSavePfa, IBindableCanSaveOnnx, IFeatureContributionMapper
Microsoft.ML.FastTree (2)
FastTree.cs (1)
2782IFeatureContributionMapper,
GamModelParameters.cs (1)
30IFeatureContributionMapper, ICanSaveInTextFormat, ICanSaveSummary, ICanSaveInIniFormat
Microsoft.ML.StandardTrainers (1)
Standard\LinearModelParameters.cs (1)
51IFeatureContributionMapper,
22 references to IFeatureContributionMapper
Microsoft.ML.Data (19)
Prediction\Calibrator.cs (8)
296private readonly IFeatureContributionMapper _featureContribution; 316_featureContribution = predictor as IFeatureContributionMapper; 338ValueMapper<TSrc, VBuffer<float>> IFeatureContributionMapper.GetFeatureContributionMapper<TSrc, TDst>(int top, int bottom, bool normalize) 729private readonly IFeatureContributionMapper _featureContribution; 756_featureContribution = SubModel as IFeatureContributionMapper; 763_featureContribution = SubModel as IFeatureContributionMapper; 807ValueMapper<TSrc, VBuffer<float>> IFeatureContributionMapper.GetFeatureContributionMapper<TSrc, TDst>(int top, int bottom, bool normalize) 810Host.Check(_featureContribution != null, "Predictor does not implement " + nameof(IFeatureContributionMapper));
Prediction\ICalculateFeatureContribution.cs (2)
40internal IFeatureContributionMapper ContributionMapper { get; } 41internal FeatureContributionCalculator(IFeatureContributionMapper contributionMapper) => ContributionMapper = contributionMapper;
Scorers\FeatureContributionCalculation.cs (6)
79var pred = predictor as IFeatureContributionMapper; 102public readonly IFeatureContributionMapper Predictor; 119public BindableMapper(IHostEnvironment env, IFeatureContributionMapper predictor, int topContributionsCount, int bottomContributionsCount, bool normalize, bool stringify) 152ctx.LoadModel<IFeatureContributionMapper, SignatureLoadModel>(env, out Predictor, ModelFileUtils.DirPredictor); 282IFeatureContributionMapper predictor)
Transforms\FeatureContributionCalculationTransformer.cs (3)
60private readonly IFeatureContributionMapper _predictor; 101_predictor = modelParameters as IFeatureContributionMapper; 121ctx.LoadModel<IFeatureContributionMapper, SignatureLoadModel>(env, out _predictor, ModelFileUtils.DirPredictor);
Microsoft.ML.FastTree (2)
FastTree.cs (1)
2931ValueMapper<TSrc, VBuffer<float>> IFeatureContributionMapper.GetFeatureContributionMapper<TSrc, TDst>(int top, int bottom, bool normalize)
GamModelParameters.cs (1)
402ValueMapper<TSrc, VBuffer<float>> IFeatureContributionMapper.GetFeatureContributionMapper<TSrc, TDstContributions>
Microsoft.ML.StandardTrainers (1)
Standard\LinearModelParameters.cs (1)
402ValueMapper<TSrc, VBuffer<float>> IFeatureContributionMapper.GetFeatureContributionMapper<TSrc, TDstContributions>(int top, int bottom, bool normalize)