You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building a new external repo for algorithm plugins to metaopt, most of the content is boiler-plate. It should be easy to make an automatic script to generate new repos.
This would create a functional repo including LICENSE , MANIFEST.in, setup.cfg, setup.py and a file src/metaopt/algo/skopt/bayes.py, containing a skeleton algorithm class definition named BayesianOptimizer. Note that for simplicity The entry point would be bayesianoptimizer = metaopt.algo.skopt.bayes:BayesianOptimizer, based on algorithm's class name.
The user would then obviously be free to edit those files as desired.
The text was updated successfully, but these errors were encountered:
bouthilx
added
the
enhancement
Improves a feature or non-functional aspects (e.g., optimization, prettify, technical debt)
label
Feb 28, 2018
When building a new external repo for algorithm plugins to metaopt, most of the content is boiler-plate. It should be easy to make an automatic script to generate new repos.
Lines subject to changes
Example based on metaopt-skopt-bayes
package name
author name
author email
packages
entry point
'skopt_bayes = metaopt.algo.skopt.bayes:BayesianOptimizer'
additional requirements
Script's requests
The script would prompt the following requests to build the lines I described above.
To create a template like the repository example, one would provide this to the script:
This would create a functional repo including LICENSE , MANIFEST.in, setup.cfg, setup.py and a file src/metaopt/algo/skopt/bayes.py, containing a skeleton algorithm class definition named BayesianOptimizer. Note that for simplicity The entry point would be
bayesianoptimizer = metaopt.algo.skopt.bayes:BayesianOptimizer
, based on algorithm's class name.The user would then obviously be free to edit those files as desired.
The text was updated successfully, but these errors were encountered: