2 implementations of IPredictorWithFeatureWeights
Microsoft.ML.Data (2)
Prediction\Calibrator.cs (2)
473IPredictorWithFeatureWeights<float>, 549IPredictorWithFeatureWeights<float>,
19 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 (2)
Standard\SdcaBinary.cs (2)
1750/// <see cref="IPredictorWithFeatureWeights{TResult}"/>. Please do NOT use it whenever possible. 2403/// tools where model is weakly-typed to <see cref="IPredictorWithFeatureWeights{TResult}"/>. Please do NOT use it