OptimizeResult#
- class gammapy.modeling.OptimizeResult(models, nfev, total_stat, trace, minuit=None, **kwargs)[source]#
Bases:
FitStepResult
Optimize result object.
- Parameters:
- models
DatasetModels
Best fit models.
- nfevint
Number of function evaluations.
- total_statfloat
Value of the fit statistic at minimum.
- trace
Table
Parameter trace from the optimisation.
- minuit
Minuit
, optional Minuit object. Default is None.
- kwargsdict
Extra
kwargs
are passed to the backend.
- models
Attributes Summary
Optimizer backend used for the fit.
Optimizer status message.
Optimizer method used for the fit.
Minuit object.
Best fit models.
Number of function evaluations.
Best fit parameters.
Fit success status flag.
Value of the fit statistic at minimum.
Parameter trace from the optimisation.
Methods Summary
to_dict
()Convert to dictionary.
Attributes Documentation
- backend#
Optimizer backend used for the fit.
- message#
Optimizer status message.
- method#
Optimizer method used for the fit.
- minuit#
Minuit object.
- models#
Best fit models.
- nfev#
Number of function evaluations.
- parameters#
Best fit parameters.
- success#
Fit success status flag.
- total_stat#
Value of the fit statistic at minimum.
- trace#
Parameter trace from the optimisation.
Methods Documentation