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