语言

GamModelParametersBase 类

定义

GAM 模型参数的基类。

public abstract class GamModelParametersBase : Microsoft.ML.Trainers.ModelParametersBase<float>, Microsoft.ML.Trainers.ICalculateFeatureContribution
type GamModelParametersBase = class
    inherit ModelParametersBase<single>
    interface ICalculateFeatureContribution
Public MustInherit Class GamModelParametersBase
Inherits ModelParametersBase(Of Single)
Implements ICalculateFeatureContribution
继承
GamModelParametersBase
派生
实现

字段

名称 说明
Bias

模型截获。 也称为偏差或平均效果。

NumberOfShapeFunctions

模型中使用的形状函数数。

方法

名称 说明
GetBinEffects(Int32)

获取每个功能的装箱权重。

GetBinUpperBounds(Int32)

获取每个功能的 bin 上限。

显式接口实现

名称 说明
ICalculateFeatureContribution.FeatureContributionCalculator

用于确定每个功能对示例分数的贡献。FeatureContributionCalculatingTransformer 对于通用累加模型(GAM),特征的贡献等于以特征值计算的给定特征的形状函数。

ICanSaveModel.Save(ModelSaveContext)

GAM 模型参数的基类。

(继承自 ModelParametersBase<TOutput>)

适用于