2 writes to Predictor
Microsoft.ML.Data (2)
Scorers\FeatureContributionCalculation.cs (2)
133Predictor = predictor; 152ctx.LoadModel<IFeatureContributionMapper, SignatureLoadModel>(env, out Predictor, ModelFileUtils.DirPredictor);
9 references to Predictor
Microsoft.ML.Data (9)
Scorers\FeatureContributionCalculation.cs (9)
117public PredictionKind PredictionKind => Predictor.PredictionKind; 135GenericMapper = ScoreUtils.GetSchemaBindableMapper(_env, Predictor, null); 153GenericMapper = ScoreUtils.GetSchemaBindableMapper(_env, Predictor, null); 166CheckSchemaValid(env, schema, Predictor); 182ctx.SaveModel(Predictor, ModelFileUtils.DirPredictor); 226Contracts.AssertValue(Predictor); 229var map = Predictor.GetFeatureContributionMapper<TSrc, VBuffer<float>>(_topContributionsCount, _bottomContributionsCount, _normalize); 265Contracts.AssertValue(Predictor); 271var map = Predictor.GetFeatureContributionMapper<TSrc, VBuffer<float>>(_topContributionsCount, _bottomContributionsCount, _normalize);