Skip to content

Multistart fails if any single starting parameters, making it effectively useless #512

Description

@HKaras

When using parametric distance models it is often the case that the fitting fails due to a singular matrix error or because the SVD did not converge.

One possible solution to this is to use the multistart fit option and sample a number of starting positions, at a cost of increased fit time. However, currently if any single starting paramter fails the whole fit fails.

Proposal
A try, except block is added in the multi-start function with failed fits skiped. A warning should then be raised if any starting conditions are skipped.

Furthermore, this could be parallelised to speed up the perfomance and give a progress bar.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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