Struct Model::CalibrationStatus

Nested Relationships

This struct is a nested type of Template Class Model.

Struct Documentation

struct CalibrationStatus

Public Functions

inline double reduced_chi2() const
inline double aic() const
inline double bic() const
inline std::string message()

Returns a human-readable explanation of why the optimization stopped.

This function decodes the info value and provides a descriptive reason for the termination of the optimization process.

Returns:

A string describing the reason for stopping.

inline bool converged() const

Public Members

double chi2 = NAN

sum of differences between observed and expected, each divided by the standard deviation of observed and squared

double cost2 = NAN

L2 norm of cost vector evaluated at fitted parameters.

int residuals = 0

Number of residuals.

int iterations = 0

Number of iterations.

int parameters = 0

Number of model parameters.

int info = 0

See stop_reason.