admin管理员组文章数量:1355564
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: 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?
本文标签: hyperparametersHyperopt attribute 39quniformint39 not recognizedStack Overflow
版权声明:本文标题:hyperparameters - Hyperopt: attribute 'quniformint' not recognized - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744041573a2580757.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论