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

Improve error message when wrong number of hyperparameters #446

Open
orasis opened this issue Oct 22, 2015 · 1 comment
Open

Improve error message when wrong number of hyperparameters #446

orasis opened this issue Oct 22, 2015 · 1 comment
Assignees

Comments

@orasis
Copy link

orasis commented Oct 22, 2015

When using 2 hyper parameters when 3 is expected, the current error is "Request failed with response 500: None
list index out of range"

This took me about 20 minutes to hunt down. A more explicit error message stating that the wrong number of hyper parameters was provided would be better.

@suntzu86 suntzu86 self-assigned this Nov 4, 2015
@suntzu86
Copy link
Contributor

suntzu86 commented Nov 4, 2015

Sorry I've been gone for so long! See: #448 for details.

I'll add this to my upcoming to-do list. Yup, I agree, the I/O bounds/type/etc checking is pretty weak. You can pass in inf and NaN right now too in place of numeric parameters and watch things break :/

num hyperparams in particular is tougher b/c the precise number is dependent on the covariance kernel. But I'll make report an error properly.

edit: @orasis ^^

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

2 participants