2 implementations of IPredictorWithFeatureWeights
Microsoft.ML.Data (2)
Prediction\Calibrator.cs (2)
473
IPredictorWithFeatureWeights
<float>,
549
IPredictorWithFeatureWeights
<float>,
19 references to IPredictorWithFeatureWeights
Microsoft.ML.Data (17)
Prediction\Calibrator.cs (17)
68
FeatureWeightsCalibratedModelParameters<
IPredictorWithFeatureWeights
<float>, ICalibrator>.LoaderSignature)]
72
ParameterMixingCalibratedModelParameters<
IPredictorWithFeatureWeights
<float>, ICalibrator>.LoaderSignature)]
478
private readonly
IPredictorWithFeatureWeights
<float> _featureWeights;
484
Host.Assert(predictor is
IPredictorWithFeatureWeights
<float>);
485
_featureWeights = predictor as
IPredictorWithFeatureWeights
<float>;
506
Host.Check(SubModel is
IPredictorWithFeatureWeights
<float>, "Predictor does not implement " + nameof(
IPredictorWithFeatureWeights
<float>));
507
_featureWeights = (
IPredictorWithFeatureWeights
<float>)SubModel;
554
private readonly
IPredictorWithFeatureWeights
<float> _featureWeights;
561
Host.Assert(predictor is
IPredictorWithFeatureWeights
<float>);
562
_featureWeights = predictor as
IPredictorWithFeatureWeights
<float>;
583
Host.Check(SubModel is
IPredictorWithFeatureWeights
<float>, "Predictor does not implement " + nameof(
IPredictorWithFeatureWeights
<float>));
584
_featureWeights = SubModel as
IPredictorWithFeatureWeights
<float>;
1043
var
predWithFeatureScores = predictor as
IPredictorWithFeatureWeights
<float>;
1045
return 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