MLBazaar / MLBlocks

A library for composing end-to-end tunable machine learning pipelines.
https://mlbazaar.github.io/MLBlocks
MIT License
114 stars 35 forks source link

Support undeclared parameters in MLBlock #118

Open csala opened 4 years ago

csala commented 4 years ago

Current MLBlock does not support passing parameters that have not been declared in the primitive definition. This might be necessary in cases where the arguments expected by the primitive are dynamically known at runtime, and not when the JSON annotation is created.

To fix this, a new entry called unknown should be added within the hyperparameters dictionary, which, if set to true, disables the strict checking.