ivutils
|
Base optimizer class. More...
#include <gradopt.h>
Public Member Functions | |
virtual int | SetAccuracy (double max_df=-1, double max_dx=-1, int max_convit=2, double max_grad=-1) |
Set convergence creiteria: max_df – maximal function variance at convergence OR; maximal position variance at convergence, dx is normalized by total variable number OR maximal gradient norm max_grad at convergence. | |
Base optimizer class.
|
inlinevirtual |
Set convergence creiteria:
max_df – maximal function variance at convergence OR;
maximal position variance at convergence, dx is normalized by total variable number OR
maximal gradient norm max_grad at convergence.
Negative parameters mean that the corresponding criteria are not checked. These conditions have to be repeated for at least max_convit consecutive iterations.
Reimplemented in md_grad_optimizer< term_t >.