OlsTrainer.Options 类

定义

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)

适用于