Estimagic is now optimagic #530
janosg
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We recently renamed estimagic to optimagic but kept the estimagic name as an internal namespace. In this discussion we explain why we did that and how it will affect users. If any questions remain, feel free to ask below.
Why renaming?
The main reason for renaming the package to optimagic is that estimagic gave users the wrong impression that this is mostly a statistical package with some optimization capabilities. While at the very beginning this was the case, we have long transitioned to being first and foremost an optimization package with some additional capabilities for nonlinear estimation.
Why not splitting?
Keeping the estimation functionality as part of optimagic has two advantages:
minimize
andmaximize
interfaces, it is much easier to keep the estimation functionality aligned with the optimization functionality when they are developed in the same repository.How it affects users
Users need to change how they install the package and how they import functions and classes.
Changes in installation
Users need to install
optimagic
instead ofestimagic
. This is true for all users, even those who only use the estimation functionality. AFutureWarning
is issued for everyone who installs the package asestimagic
. Installation instructions can be found hereChanges in imports
All functions and classes related to numerical optimization should now be imported from
optimagic
instead ofestimagic
. The complete list of affected functions can be found here. As shown in the tutorials we suggest to use the shortand:And then writing things like
Importing the optimization functions from
estimagic
is still possible but deprecated until version0.6.0
.FutureWarnings
are issued.Functions and classes related to estimation can and should still be imported from the
estimagic
namespace. All such functions can be found hereBeta Was this translation helpful? Give feedback.
All reactions