2 writes to RecencyGain
Microsoft.ML.Samples (2)
Dynamic\Trainers\BinaryClassification\AveragedPerceptronWithOptions.cs (1)
33RecencyGain = 0.1f,
Dynamic\Trainers\Regression\OnlineGradientDescentWithOptions.cs (1)
35RecencyGain = 0.1f,
9 references to RecencyGain
Microsoft.ML.StandardTrainers (9)
Standard\Online\AveragedLinear.cs (9)
85/// Determines whether <see cref="RecencyGain"/> is multiplicative or additive. 88/// <see langword="true" /> means <see cref="RecencyGain"/> is multiplicative. 89/// <see langword="false" /> means <see cref="RecencyGain"/> is additive. 282if (_args.RecencyGain == 0) 292Gain = (_args.RecencyGainMultiplicative ? Gain * _args.RecencyGain : Gain + _args.RecencyGain); 314Contracts.CheckUserArg(options.RecencyGain >= 0, nameof(options.RecencyGain), UserErrorNonNegative); 317Contracts.Check(!options.LazyUpdate || !options.RecencyGainMultiplicative && options.RecencyGain == 0, "Cannot have both recency gain and lazy updates.");