語言

GamTrainerBase<TOptions,TTransformer,TPredictor>.OptionsBase 類別

定義

基於GAM的訓練家選項的基礎職業。

public abstract class GamTrainerBase<TOptions,TTransformer,TPredictor>.OptionsBase : Microsoft.ML.Trainers.TrainerInputBaseWithWeight where TOptions : GamTrainerBase<TOptions,TTransformer,TPredictor>.OptionsBase, new() where TTransformer : ISingleFeaturePredictionTransformer<TPredictor> where TPredictor : class
type GamTrainerBase<'Options, 'ransformer, 'Predictor (requires 'Options :> GamTrainerBase<'Options, 'ransformer, 'Predictor>.OptionsBase and 'Options : (new : unit -> 'Options) and 'ransformer :> ISingleFeaturePredictionTransformer<'Predictor> and 'Predictor : null)>.OptionsBase = class
    inherit TrainerInputBaseWithWeight
Public MustInherit Class GamTrainerBase(Of TOptions, TTransformer, TPredictor).OptionsBase
Inherits TrainerInputBaseWithWeight

類型參數

TOptions
TTransformer
TPredictor
繼承
GamTrainerBase<TOptions,TTransformer,TPredictor>.OptionsBase
衍生

建構函式

名稱 Description
GamTrainerBase<TOptions,TTransformer,TPredictor>.OptionsBase()

基於GAM的訓練家選項的基礎職業。

欄位

名稱 Description
DiskTranspose

執行轉調時,是利用磁碟本身還是資料本身的原生轉位功能(如適用)。

EnablePruning

啟用訓練後的樹枝修剪,以避免過度擬合。 它需要一個驗證集。

EntropyCoefficient

熵(正則化)係數介於0到1之間。

ExampleWeightColumnName

例如,用欄位來表示重量。

(繼承來源 TrainerInputBaseWithWeight)
FeatureColumnName

欄位用於特徵。

(繼承來源 TrainerInputBase)
FeatureFlocks

是否在資料集準備時將特徵集體化以加快訓練。

GainConfidenceLevel

樹苗調整需要建立信心。 只有當其與隨機選擇的增益概率高於此值時,才考慮該增益。

GetDerivativesSampleRate

在 GetDerivatives 函式中,每個查詢取樣 k 次。

LabelColumnName

欄位用於標籤。

(繼承來源 TrainerInputBaseWithLabel)
LearningRate

學習速度。

MaximumBinCountPerFeature

每個特徵最大可辨識的值(bin)數量。

MaximumTreeOutput

單一樹輸出絕對值的上限。

MinimumExampleCountPerLeaf

形成新樹葉所需的最小數據點數。

NumberOfIterations

訓練資料的總數。

NumberOfThreads

要用的線程數量。

Seed

隨機數產生器的種子。

適用於