4 implementations of IPredictorWithFeatureWeights
Microsoft.ML.Data (2)
Prediction\Calibrator.cs (2)
473
IPredictorWithFeatureWeights
<float>,
549
IPredictorWithFeatureWeights
<float>,
Microsoft.ML.FastTree (1)
FastTree.cs (1)
2781
IPredictorWithFeatureWeights
<float>,
Microsoft.ML.StandardTrainers (1)
Standard\LinearModelParameters.cs (1)
50
IPredictorWithFeatureWeights
<float>,
29 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 (6)
Standard\SdcaBinary.cs (6)
1750
/// <see cref="
IPredictorWithFeatureWeights
{TResult}"/>. Please do NOT use it whenever possible.
1752
internal sealed class LegacySdcaBinaryTrainer : SdcaBinaryTrainerBase<
IPredictorWithFeatureWeights
<float>>
1813
private 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
2407
SgdBinaryTrainerBase<
IPredictorWithFeatureWeights
<float>>
2452
private protected override
IPredictorWithFeatureWeights
<float> CreateModel(VBuffer<float> weights, float bias)
Microsoft.ML.Transforms (6)
LearnerFeatureSelection.cs (4)
41
public IComponentFactory<ITrainer<
IPredictorWithFeatureWeights
<Single>>> Filter =
44
ComponentCatalog.CreateInstance<ITrainer<
IPredictorWithFeatureWeights
<Single>>>(env, typeof(SignatureFeatureScorerTrainer), "SDCA", options: null));
297
var
rfs = predictor as
IPredictorWithFeatureWeights
<Single>;
PermutationFeatureImportance.cs (2)
70
var
predictorWithWeights = model.Model as
IPredictorWithFeatureWeights
<Single>;