mlr-org / paradox

ParamHelpers Next Generation
https://paradox.mlr-org.com
GNU Lesser General Public License v3.0
28 stars 7 forks source link

ConfigSpace <-> ParamSet conversion #348

Open sumny opened 3 years ago

sumny commented 3 years ago

I do not expect this PR to get merged, therefore I open it as a draft. Provides two functions cs_to_ps and ps_to_cs that allow for ConfigSpace <-> ParamSet mappings (relying on reticulate). Maybe we can keep this PR open for some visibility, I guess some people might find it useful. Disclaimer: NOT thoroughly tested (but still better than constructing your cs/ps completely from scratch, I guess)