OlsTrainer.Options Class

Definition

Options for the OlsTrainer as used in Ols(Options)

C#
public sealed class OlsTrainer.Options : Microsoft.ML.Trainers.TrainerInputBaseWithWeight
Inheritance

Constructors

Fields

BatchSize

Number of data points per batch, when loading data.

CalculateStatistics

Whether to calculate per parameter (e.g., the coefficient of the i-th input feature) significance statistics.

ExampleWeightColumnName

Column to use for example weight.

(Inherited from TrainerInputBaseWithWeight)
FeatureColumnName

Column to use for features.

(Inherited from TrainerInputBase)
L2Regularization

L2 regularization weight. Adding L2 regularization turns this algorithm into a form of ridge regression, rather than, strictly speaking, ordinary least squares.

LabelColumnName

Column to use for labels.

(Inherited from TrainerInputBaseWithLabel)

Applies to

Product Versions
ML.NET 1.0.0, 1.1.0, 1.2.0, 1.3.1, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 2.0.0, 3.0.0, Preview, 4.0.0