RegressionModelParameters Class

Definition

Model parameters for regression.

C#
public abstract class RegressionModelParameters : Microsoft.ML.Trainers.LinearModelParameters
Inheritance
Derived

Properties

Bias

The predictor's bias term.

(Inherited from LinearModelParameters)
Weights

The predictor's feature weight coefficients.

(Inherited from LinearModelParameters)

Explicit Interface Implementations

ICalculateFeatureContribution.FeatureContributionCalculator

Used to determine the contribution of each feature to the score of an example by FeatureContributionCalculatingTransformer. For linear models, the contribution of a given feature is equal to the product of feature value times the corresponding weight.

(Inherited from LinearModelParameters)
ICanSaveModel.Save(ModelSaveContext) (Inherited from ModelParametersBase<TOutput>)

Applies to

Product Versions
ML.NET 1.0.0, 1.1.0, 1.2.0, 1.3.1, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 2.0.0, 3.0.0, 4.0.0, Preview