語言

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
衍生
實作

欄位

名稱 Description
Bias

模型攔截。 也稱為偏誤或平均效應。

NumberOfShapeFunctions

模型中使用的形狀函數數量。

方法

名稱 Description
GetBinEffects(Int32)

取得每個特徵的分箱權重。

GetBinUpperBounds(Int32)

取得每個特徵的箱上限。

明確介面實作

名稱 Description
ICalculateFeatureContribution.FeatureContributionCalculator

用來計算每個特徵對範例分數的貢獻。FeatureContributionCalculatingTransformer 對於廣義加法模型(GAM),特徵的貢獻等於該特徵在特徵值下評估的形狀函數。

ICanSaveModel.Save(ModelSaveContext)

GAM 模型參數的基底類別。

(繼承來源 ModelParametersBase<TOutput>)

適用於