0

I use mlflow and hyperopt for tuning a model, and trying to figure out hyperopt sampling methods.

I have directly used line of codes from the documentation, as such: enter image description here my code:

space = {"batch_size": hp.quniformint("batch_size", 16, 256),}

but I get the error:

AttributeError: module 'hyperopt.hp' has no attribute 'quniformint'

Otherwise, my code works with sampling implementation like hp.choice.

Did anyone came across this error? I know that the hyperopt documentation has not always been updated, that could explain this error. Otherwise I basically want to sample uniformly descrete values between 16 and 256 with increment of 16. How else could I do that?

Jacek Laskowski
75k28 gold badges253 silver badges440 bronze badges
asked Mar 28 at 11:08

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.