Skip to content
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

Minimization routine lacks constraints #2

Open
jackdawjackdaw opened this issue Nov 13, 2012 · 0 comments
Open

Minimization routine lacks constraints #2

jackdawjackdaw opened this issue Nov 13, 2012 · 0 comments

Comments

@jackdawjackdaw
Copy link

The minimization routine used to find the optimal hyperparameters is currently rather basic. The pthread wrappers and driver routines are rather convoluted and could be tidied up, this is probably a secondary issue :)

My primary concern is that the actual minimizer doesn't include constraints. The user may have information about acceptable ranges for the various length scales. These should strictly be included as priors on the likelihood that is being minimized, this may require some extensive modifications to the code. The simpler case is to actually respect the ranges specified in the optstruct, currently these ranges are used when sampling initial starting points for the minimization but are not used to guide the evolution to keep it inside these ranges.

I tried a branch where the evolution is directly halted if it escapes from the allowed ranges, this is a very poor strategy rather like diving out of a car every time it looks like you won't make a corner instead of applying the breaks.

Anyone have any experience with constrained L2 minimizers? We only need simple inequality constraints: x < 3 or y > 5, as opposed to complex f(x,y,z,w) == 0 in allowed region type constraints.

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

No branches or pull requests

1 participant