LinearModelParameters Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base class for linear model parameters.
public abstract class LinearModelParameters : Microsoft.ML.Trainers.ModelParametersBase<float>, Microsoft.ML.Trainers.ICalculateFeatureContribution
type LinearModelParameters = class
inherit ModelParametersBase<single>
interface ICalculateFeatureContribution
Public MustInherit Class LinearModelParameters
Inherits ModelParametersBase(Of Single)
Implements ICalculateFeatureContribution
- Inheritance
- Derived
- Implements
Properties
Bias |
The predictor's bias term. |
Weights |
The predictor's feature weight coefficients. |
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. |
ICanSaveModel.Save(ModelSaveContext) | (Inherited from ModelParametersBase<TOutput>) |