Dela via


OlsTrainer.Options Class

Definition

Options for the OlsTrainer as used in Ols(Options)

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

Constructors

OlsTrainer.Options()

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