paradox icon indicating copy to clipboard operation
paradox copied to clipboard

Feature request: ps_from_df

Open pfistfl opened this issue 2 years ago • 0 comments

I think a nifty feature would be creating a ParamSet (or better, the code to create it) from a data.frame / data.table. This might go a long way, e.g. for human-in-the-loop BO etc.

Proposed functionality: input: data.frame output: str, a copy-pasteable string that creates the ParamSet, preferably using shorthand notation.

  • types should be inferred from data.frame types
  • levels and limits from the available data
  • no support for e.g. inferring constraints / dependencies, the user needs to manually add them.

pfistfl avatar Feb 06 '23 16:02 pfistfl