5 writes to Value
Microsoft.ML.StandardTrainers (5)
Optimizer\L1Optimizer.cs (1)
228
Value
= Eval(in _newX, ref _newGrad);
Optimizer\Optimizer.cs (4)
241
Value
= LastValue = Eval(in _x, ref _grad);
369
Value
= temp;
414
Value
= Eval(in _newX, ref _newGrad);
495
Value
= Eval(in _newX, ref _newGrad);
17 references to Value
Microsoft.ML.StandardTrainers (17)
Optimizer\L1Optimizer.cs (1)
231
if (
Value
<= LastValue - Gamma * unnormCos)
Optimizer\OptimizationMonitor.cs (4)
170
_unnormMeanImprovement = (state.LastValue - state.
Value
) + _lambda * _unnormMeanImprovement;
241
float value = state.
Value
;
324
float value = state.
Value
;
381
float val = norm / Math.Abs(state.
Value
);
Optimizer\Optimizer.cs (11)
368
LastValue =
Value
;
416
if (float.IsPositiveInfinity(
Value
))
422
if (!FloatUtils.IsFinite(
Value
))
423
throw ch.Except("Optimizer unable to proceed with loss function yielding {0}",
Value
);
426
PointValueDeriv curr = new PointValueDeriv(alpha,
Value
, dirDeriv);
497
if (!FloatUtils.IsFinite(
Value
))
498
throw ch.Except("Optimizer unable to proceed with loss function yielding {0}",
Value
);
501
PointValueDeriv curr = new PointValueDeriv(alpha,
Value
, dirDeriv);
623
pch.Checkpoint(state.
Value
, null, 0);
651
pch.Checkpoint(state.
Value
, improvement, state.Iter);
661
optimum = state.
Value
;
Standard\LogisticRegression\LbfgsPredictorBase.cs (1)
706
loss = e.State.
Value
;