4 ms·
As far as I can see, Ceres accepts functions which calculate a residual vector, whereas ensmallen accepts only function which accept a scalar error. This is a s
by Fronzie 8y ago
As far as I can see, Ceres accepts functions which calculate a residual vector, whereas ensmallen accepts only function which accept a scalar error.
This is a subtle but important difference: The vector allows much faster convergence on a number of model fitting problems.