2 writes to RecencyGain
Microsoft.ML.Samples (2)
Dynamic\Trainers\BinaryClassification\AveragedPerceptronWithOptions.cs (1)
33
RecencyGain
= 0.1f,
Dynamic\Trainers\Regression\OnlineGradientDescentWithOptions.cs (1)
35
RecencyGain
= 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.
282
if (_args.
RecencyGain
== 0)
292
Gain = (_args.RecencyGainMultiplicative ? Gain * _args.
RecencyGain
: Gain + _args.
RecencyGain
);
314
Contracts.CheckUserArg(options.
RecencyGain
>= 0, nameof(options.
RecencyGain
), UserErrorNonNegative);
317
Contracts.Check(!options.LazyUpdate || !options.RecencyGainMultiplicative && options.
RecencyGain
== 0, "Cannot have both recency gain and lazy updates.");