4 implementations of IPredictorWithFeatureWeights
Microsoft.ML.Data (2)
Prediction\Calibrator.cs (2)
473IPredictorWithFeatureWeights<float>, 549IPredictorWithFeatureWeights<float>,
Microsoft.ML.FastTree (1)
FastTree.cs (1)
2781IPredictorWithFeatureWeights<float>,
Microsoft.ML.StandardTrainers (1)
Standard\LinearModelParameters.cs (1)
50IPredictorWithFeatureWeights<float>,
29 references to IPredictorWithFeatureWeights
Microsoft.ML.Data (17)
Prediction\Calibrator.cs (17)
68FeatureWeightsCalibratedModelParameters<IPredictorWithFeatureWeights<float>, ICalibrator>.LoaderSignature)] 72ParameterMixingCalibratedModelParameters<IPredictorWithFeatureWeights<float>, ICalibrator>.LoaderSignature)] 478private readonly IPredictorWithFeatureWeights<float> _featureWeights; 484Host.Assert(predictor is IPredictorWithFeatureWeights<float>); 485_featureWeights = predictor as IPredictorWithFeatureWeights<float>; 506Host.Check(SubModel is IPredictorWithFeatureWeights<float>, "Predictor does not implement " + nameof(IPredictorWithFeatureWeights<float>)); 507_featureWeights = (IPredictorWithFeatureWeights<float>)SubModel; 554private readonly IPredictorWithFeatureWeights<float> _featureWeights; 561Host.Assert(predictor is IPredictorWithFeatureWeights<float>); 562_featureWeights = predictor as IPredictorWithFeatureWeights<float>; 583Host.Check(SubModel is IPredictorWithFeatureWeights<float>, "Predictor does not implement " + nameof(IPredictorWithFeatureWeights<float>)); 584_featureWeights = SubModel as IPredictorWithFeatureWeights<float>; 1043var predWithFeatureScores = predictor as IPredictorWithFeatureWeights<float>; 1045return new ParameterMixingCalibratedModelParameters<IPredictorWithFeatureWeights<float>, TCalibrator>(env, predWithFeatureScores, cali);
Microsoft.ML.StandardTrainers (6)
Standard\SdcaBinary.cs (6)
1750/// <see cref="IPredictorWithFeatureWeights{TResult}"/>. Please do NOT use it whenever possible. 1752internal sealed class LegacySdcaBinaryTrainer : SdcaBinaryTrainerBase<IPredictorWithFeatureWeights<float>> 1813private protected override IPredictorWithFeatureWeights<float> CreatePredictor(VBuffer<float>[] weights, float[] bias) 2403/// tools where model is weakly-typed to <see cref="IPredictorWithFeatureWeights{TResult}"/>. Please do NOT use it 2407SgdBinaryTrainerBase<IPredictorWithFeatureWeights<float>> 2452private protected override IPredictorWithFeatureWeights<float> CreateModel(VBuffer<float> weights, float bias)
Microsoft.ML.Transforms (6)
LearnerFeatureSelection.cs (4)
41public IComponentFactory<ITrainer<IPredictorWithFeatureWeights<Single>>> Filter = 44ComponentCatalog.CreateInstance<ITrainer<IPredictorWithFeatureWeights<Single>>>(env, typeof(SignatureFeatureScorerTrainer), "SDCA", options: null)); 297var rfs = predictor as IPredictorWithFeatureWeights<Single>;
PermutationFeatureImportance.cs (2)
70var predictorWithWeights = model.Model as IPredictorWithFeatureWeights<Single>;