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

fix transforms #19

Open
lukasheinrich opened this issue Dec 20, 2020 · 0 comments
Open

fix transforms #19

lukasheinrich opened this issue Dec 20, 2020 · 0 comments

Comments

@lukasheinrich
Copy link
Collaborator

just jotting this down here for later to_inf_vec has a small bug. Should be

def to_inf_vec(param, bounds):
    bounds = jnp.asarray(bounds)
    a, b = bounds[:, 0], bounds[:, 1]
    x = 2.0 * (param - a) / (b - a) - 1.0
    return jnp.arcsin(x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant