0.9.0 Release
What's Changed
BREAKING UPDATES
Update config format; for now the old config format is still supported though.
-
Move weights in configs to a ind metric property not a separate list …
…inside objective_options -
Working config class with attrs
Config class working that instantiates from a dictionary and if the passed in dictionary
has subdictionaries that should be classes according to the config class, then those get converted (instantiated).Also add ability for global and early stopping strategies to be used in config now.
-
Convert Wrapper instantiation to new config dataclass style classes.
Write tests to instantiate config from yaml and wrapper from config class -
Add a method to convert all config class formats to new formats.
Add a method in config class to instantiate config class calledfrom_deprecated
that takes an old format style and converts it to a new format style, while
emitting a deprecation warning.
Add a test that instantiates all former config files with this. -
Config converters don't run when directly instantiating Config with i…
…ts sub Dataclassesbefore it would always try and instantiate its subdataclasses from dicts (as if always from json),
now you can construct a Config class from a ScriptOptions class and SchedulerOptions class, etc. -
Serialize and desialize config, fix storage tests
Fix all serialization for config and and config sub options, and fix all storage tests.
Fix some options in metrics for config
allow again to run total trials for scheduler or n_trials -
Add function in conf.py to add attribute docstring from attrs metadat…
…a field -
Working config class with attrs
Config class working that instantiates from a dictionary and if the passed in dictionary
has subdictionaries that should be classes according to the config class, then those get converted (instantiated).Also add ability for global and early stopping strategies to be used in config now.
-
Convert Wrapper instantiation to new config dataclass style classes.
Write tests to instantiate config from yaml and wrapper from config class -
Add a method to convert all config class formats to new formats.
Add a method in config class to instantiate config class calledfrom_deprecated
that takes an old format style and converts it to a new format style, while
emitting a deprecation warning.
Add a test that instantiates all former config files with this. -
Config converters don't run when directly instantiating Config with i…
…ts sub Dataclassesbefore it would always try and instantiate its subdataclasses from dicts (as if always from json),
now you can construct a Config class from a ScriptOptions class and SchedulerOptions class, etc. -
Serialize and desialize config, fix storage tests
Fix all serialization for config and and config sub options, and fix all storage tests.
Fix some options in metrics for config
allow again to run total trials for scheduler or n_trials -
Add functions to generate default config
First the default config will generate a config with default values, strip away most values for a "...", and then
Default config generating functions will look at all attrs classes attributes metadata fields with a doc field and add those as comments. These comments are taken from the docs explaining what each key does -
Add generate_config cli through boa.config
Add docs for default config as well.
Add docstring for scheduler. The scheduler doc string will need mroe post processing -
Remove normalize option from load_jsonlike, load_json, and
load_yaml -
Add SAASBO
Full Changelog: 0.8.8...0.9.0