SgdBinaryTrainerBase<TModel>.OptionsBase Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public class SgdBinaryTrainerBase<TModel>.OptionsBase : Microsoft.ML.Trainers.TrainerInputBaseWithWeight where TModel : class
type SgdBinaryTrainerBase<'Model (requires 'Model : null)>.OptionsBase = class
inherit TrainerInputBaseWithWeight
Public Class SgdBinaryTrainerBase(Of TModel).OptionsBase
Inherits TrainerInputBaseWithWeight
Type Parameters
- TModel
- Inheritance
-
SgdBinaryTrainerBase<TModel>.OptionsBase
- Derived
Constructors
SgdBinaryTrainerBase<TModel>.OptionsBase() |
Fields
CheckFrequency |
Determines the frequency of checking for convergence in terms of number of iterations. |
ConvergenceTolerance |
The convergence tolerance. If the exponential moving average of loss reductions falls below this tolerance, the algorithm is deemed to have converged and will stop. |
ExampleWeightColumnName |
Column to use for example weight. (Inherited from TrainerInputBaseWithWeight) |
FeatureColumnName |
Column to use for features. (Inherited from TrainerInputBase) |
L2Regularization |
The L2 weight for regularization. |
LabelColumnName |
Column to use for labels. (Inherited from TrainerInputBaseWithLabel) |
LearningRate |
The initial learning rate used by SGD. |
NumberOfIterations |
The maximum number of passes through the training dataset. |
NumberOfThreads |
The degree of lock-free parallelism used by SGD. |
PositiveInstanceWeight |
The weight to be applied to the positive class. This is useful for training with imbalanced data. |
Shuffle |
Determines whether to shuffle data for each training iteration. |