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

How to return integer value for hyper paramater? #390

Closed
Chiu-Ping opened this issue Dec 18, 2022 · 2 comments
Closed

How to return integer value for hyper paramater? #390

Chiu-Ping opened this issue Dec 18, 2022 · 2 comments

Comments

@Chiu-Ping
Copy link

Hello expert,

For the package, is there a way to directly return the integer number for some hyperparameters? I'm just wondering if the round number will influence the final target value of the objective function, I guess it is a minor effect, but I'd like to have a precise number, not a round one. I really appreciate any help you can provide.

Best regrads

@till-m
Copy link
Member

till-m commented Dec 19, 2022

Hey @Chiu-Ping,

I'm not sure I 100% understand your question. Presumably you've seen the example in the advanced tour on how to deal with integer parameters? If that is not good enough for you/you want quicker convergence, I would encourage you to read through #376 for an overview on the state of this problem. In particular, I think this comment on another issue might be of interest. Finally, I've written a simple implementation for parameter types based on this that might be of interest to you. You can see how that works here.

Let me know if this helps.

@Chiu-Ping
Copy link
Author

Hi till,

Thanks for your reply. This is very helpful. And this is the right example to optimize the integer type.

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

2 participants