luopengting
16aa19579c
check for param in choice if it is bool
If the values for batch_size is 'choice: [1, 2, True]', it will raise
validation exception.
Additionally, use 'type(value) is int' will not pass pylint. so use
'isinstance(x, bool) or not isinstance(x, int)' to filter invalid
value(s).
4 years ago
luopengting
1a023e2ef0
enhance the checking for system defined parameters
Add pre-checking about the param type in choice. If user use batch_size:
[2, 4, ff] in optimizer config file, it will raise an Exception to tell
that it must be integer.
4 years ago
luopengting
06590b370b
fix hint about optimizer config
5 years ago
mindspore-ci-bot
b4b18cc96d
!840 check if the parameter name is valid
Merge pull request !840 from luopengting/fix_optimizer
5 years ago
luopengting
fa9c4f68fe
check if the parameter name is valid: only letters, digits and underscore is allowed
5 years ago
luopengting
71901fd1e6
add validation for system defined parameters
5 years ago
luopengting
fc70687d52
change the error message about the `type` in optimizer config from list_err_msg to str_err_msg
5 years ago
luopengting
0f37c8135e
add cli, validation and st:
1. add cli entry
2. add more validation for hyper config
3. add validator for config dict
4. add st for optimizer config validator
5. add custom lineage for hyper config
5 years ago
luopengting
fb4c150e56
add auto-tune framework, add validation for hyper_config
5 years ago
luopengting
51d779585c
add annotations for __init__.py
5 years ago
luopengting
b0d3da8415
modify names of some variables and functions, modify some level of log
5 years ago
luopengting
b274c774ed
add optimizer:
1. add functions for calculating target buckets and params importances
2. add restful api for target buckets, importances and metadata
5 years ago