Skip to content

symfit 0.3.2!

Compare
Choose a tag to compare
@tBuLi tBuLi released this 02 Jan 16:38
· 915 commits to master since this release

What better way to start the new year than with a version of symfit?

This version introduces two great new fitting types: LinearLeastSquares and NonLinearLeastSquares.

Up until now all fitting in symfit was done numerically and iteratively. However, LinearLeastSquares is an implementation of the analytical solution to the least squares problem. Therefore, no more iterations. It's one step and you'll have your answer!

However, this only works with models linear in the parameters. For nonlinear models there is NonLinearLeastSquares. NonLinearLeastSquares works by approximating your model by it's first-order Taylor expansion and then iteratively improving the fit using LinearLeastSquares.

These objects are an exciting step towards my goal of implementing constrained fitting in a sexy and generic manner throughout symfit.

p.s. It also features some minor bug fixes.