tBuLi / symfit

Symbolic Fitting; fitting as it should be.
http://symfit.readthedocs.org
MIT License
235 stars 18 forks source link

SqrtLeastSquares object #233

Open tBuLi opened 5 years ago

tBuLi commented 5 years ago

In some cases, it might be better to optimize the square root of chi squared instead of chi squared itself. This is particularly noticable with SLSQP sometimes, and is caused by the fact that chi squared sometimes grows to fast.

The introduction of an object representing the square root of chi squared is therefore interesting, and it might even be a better default choice.

A simple version of this object has been introduced in #221, so after making testing and documentation this can be introduced rather quickly.