blackbox icon indicating copy to clipboard operation
blackbox copied to clipboard

Integer / categorical parameters

Open beojan opened this issue 4 years ago • 1 comments

Is there a way to limit parameters to integers only? I'm currently rounding the parameter in the objective function, but this leads to the same value being evaluated multiple times.

beojan avatar Jul 10 '20 18:07 beojan

The method/code was originally designed assuming that parametric space is continuous. Therefore, yes, for monotonic integers within a given range you can do rounding trick - I did that myself few times, seems to work well. There is no specific input format for integer parameters at the moment.

As for the categorical parameters in general case (non-integers), those obviously don't guarantee continuity (since their order is arbitrary) and therefore, I believe, the only way to proceed is to perform multiple optimizations for each combination of those parameters.

paulknysh avatar Jul 14 '20 00:07 paulknysh