-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update optimisation #23
Comments
@Marius1311, there is: I used a special Gauss-Newton solver NLSCON in my MATLAB implementation of GPCCA.
|
Nice! What sort of speedup did you experience with this in Matlab compared to derivative-free? I would like to know this to figure out whether it's worth the effort. |
I only used this to enable clustering into hundreds of macrostates, since Nelder-Mead scales very bad with increasing |
But beware: Gauss-Newton actually never converged in my experiments, since the routine we are using is non-differentiable. It nevertheless ended somewhere near a local minimum - this at least sufficed to get a nearly optimal solution and identify the optimal number of clusters out of a large interval of potential |
Hi @Marius1311
Wow, what a HUGE formula. XD
The important thing to understand here is that the objective is convex on the feasible set and NOT on the real numbers as whole. So, if you perform unconstrained optimization on the real numbers, you can (and most likely will) have local minima.
Does the above help to get it? |
@Marius1311, still: damped GN optimization of the objective using the NLSCON is reasonable and very useful. Although it won't "really converge" and might get trapped in local minima - Nelder-Mead can also get trapped in those and it takes ages to converge for large |
ok, thanks @msmdev, that helps! |
Just found this toolbox for python optimisation: https://pypesto.readthedocs.io/en/latest/api_optimize.html @msmdev, could this be useful for us? |
@msmdev, how difficult would it be to speed up our optimisation by using derivative information? Is there a prototype implementation somewhere?
The text was updated successfully, but these errors were encountered: