microsoft / nni

An open source AutoML toolkit for automate machine learning lifecycle, including feature engineering, neural architecture search, model compression and hyper-parameter tuning.
https://nni.readthedocs.io
MIT License
14.02k stars 1.81k forks source link

Customized trial #1498

Closed liuzhe-lz closed 4 years ago

liuzhe-lz commented 5 years ago

Current Design

User Side:

Tuner Side

By default tuner algorithms will not receive metrics from customized trials. If an algorithm explicitly accepts customized trials (by implementing receive_customized_trial_result or by calling accept_customized_trials or whatever), results of all customized hyper-parameters will be reported to the tuner. NNI SDK does NOT guarantee the legality of customized hyper-parameters. Tuners are encouraged to check it themselves. However, since the user must confirm they know what they are doing before submitting an out-of-range hyper-parameter, tuners can feel free to ignore such case.

NNI Manager

TODO: check the current logic for appending jobs after experiment is done.

liuzhe-lz commented 4 years ago

Already implemented and released