Dela via


LinearRegressionModelParameters Class

Definition

Model parameters for linear regression.

public sealed class LinearRegressionModelParameters : Microsoft.ML.Trainers.RegressionModelParameters
type LinearRegressionModelParameters = class
    inherit RegressionModelParameters
Public NotInheritable Class LinearRegressionModelParameters
Inherits RegressionModelParameters
Inheritance

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