Share via


LinearModelParameters 类

定义

线性模型参数的基类。

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
继承
LinearModelParameters
派生
实现

属性

Bias

预测器的偏差术语。

Weights

预测器的特征权重系数。

显式接口实现

ICalculateFeatureContribution.FeatureContributionCalculator

用于确定每个功能对示例分数的贡献。FeatureContributionCalculatingTransformer 对于线性模型,给定特征的贡献等于相应权重的特征值乘积。

ICanSaveModel.Save(ModelSaveContext)

线性模型参数的基类。

(继承自 ModelParametersBase<TOutput>)

适用于