Skip to content

an aborted fit with method='least_squares' does not report correct fit results and statistics #896

Closed
@newville

Description

@newville

Description

As shown in #894, a fit with method='least_squares' that aborts, perhaps due to too many function evaluations, does not properly evaluate the residual and fit statistics with "last/best available parameter values".

Note that other methods do evaluate the residual and fit statistics with "last/best available parameter values" when the fit is aborted.

A Minimal, Complete, and Verifiable example

see #894

Link(s)

see #894

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions