-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use list instead of array Numpy does not seam to support anymore non homogeneous arrays (for shapes at least). We don't need an array, so we should rather use lists. * Update tests/unittests/algo/test_tpe.py * Update tox.ini * Add namespace_packages to setup.py * Add orion.algo.space as package * Change pylint include pattern to include all of orion and exclude ignored paths * Pylint * Fix docs * Turn orion.algo.base into a module * Move orion.algo.parallel_strategy to orion.algo.base * Move algo to their own modules * Add algos packages * Fix missing quotes * Add missing imports * Remove colors * Limit numpy version pending dependencies update * Update MANIFEST.in * Include orion logo file * Fix too-many-lines and f-string * Fix Fidelity repr * Fix doc8 * Fix config code block Co-authored-by: Setepenre <[email protected]> Co-authored-by: Fabrice Normandin <[email protected]> Co-authored-by: Pierre Delaunay <[email protected]>
- Loading branch information
1 parent
584ad9f
commit 9c81a61
Showing
52 changed files
with
334 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,11 +11,27 @@ | |
with open("tests/requirements.txt") as f: | ||
tests_require = f.readlines() | ||
|
||
packages = [ # Packages must be sorted alphabetically to ease maintenance and merges. | ||
"orion.algo", | ||
"orion.algo.mofa", | ||
|
||
# Builtin algo plugins that are built-in | ||
algos = [ | ||
"orion.algo.asha", | ||
"orion.algo.axoptimizer", | ||
"orion.algo.bohb", | ||
"orion.algo.dehb", | ||
"orion.algo.evolution_es", | ||
"orion.algo.gridsearch", | ||
"orion.algo.hebo", | ||
"orion.algo.hyperband", | ||
"orion.algo.mofa", | ||
"orion.algo.nevergradoptimizer", | ||
"orion.algo.pbt", | ||
"orion.algo.random", | ||
"orion.algo.tpe", | ||
] | ||
|
||
packages = [ # Packages must be sorted alphabetically to ease maintenance and merges. | ||
"orion.algo.base", | ||
"orion.algo.space", | ||
"orion.analysis", | ||
"orion.benchmark", | ||
"orion.client", | ||
|
@@ -85,7 +101,11 @@ | |
author="Epistímio", | ||
author_email="[email protected]", | ||
url="https://github.com/epistimio/orion", | ||
packages=packages, | ||
packages=packages + algos, | ||
namespace_packages=[ | ||
"orion", | ||
"orion.algo", | ||
], | ||
package_dir={"": "src"}, | ||
data_files=dashboard_files, | ||
include_package_data=True, | ||
|
@@ -128,7 +148,8 @@ | |
"cloudpickle", | ||
"PyYAML", | ||
"pymongo>=3", | ||
"numpy>=1.17", | ||
# Issue #1061 Pending update of hebo | ||
"numpy>=1.17,<1.24", | ||
"scipy", | ||
"gitpython", | ||
"filelock", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
"""ASHA hyperparameter""" | ||
|
||
from .asha import ASHA, ASHABracket, compute_budgets | ||
|
||
__all__ = [ | ||
"ASHA", | ||
"ASHABracket", | ||
"compute_budgets", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
"""AxOptimizer hyperparameter""" | ||
|
||
from .axoptimizer import AxOptimizer, import_optional | ||
|
||
__all__ = [ | ||
"AxOptimizer", | ||
"import_optional", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
"""Base module to create new algorithm a instantiate them""" | ||
|
||
from .base import BaseAlgorithm, algo_factory | ||
from .registry import Registry | ||
|
||
__all__ = ["BaseAlgorithm", "algo_factory", "Registry"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.