OlsTrainer.Options 類別

定義

OlsTrainerOls (選項) 中所使用的 選項

public sealed class OlsTrainer.Options : Microsoft.ML.Trainers.TrainerInputBaseWithWeight
type OlsTrainer.Options = class
    inherit TrainerInputBaseWithWeight
Public NotInheritable Class OlsTrainer.Options
Inherits TrainerInputBaseWithWeight
繼承

建構函式

OlsTrainer.Options()

OlsTrainerOls (選項) 中所使用的 選項

欄位

BatchSize

載入數據時,每個批次的數據點數目。

CalculateStatistics

是否要計算每個參數 (例如,第 i 個輸入特徵的係數) 顯著性統計數據。

ExampleWeightColumnName

要用於加權的數據行。

(繼承來源 TrainerInputBaseWithWeight)
FeatureColumnName

要用於功能的數據行。

(繼承來源 TrainerInputBase)
L2Regularization

L2 正規化權數。 新增 L2 正規化會將此演算法變成一種形式的回歸,而不是嚴格來說,一般最小平方。

LabelColumnName

要用於標籤的數據行。

(繼承來源 TrainerInputBaseWithLabel)

適用於