hypertune 1.1.0rc39__py3-none-any.whl → 1.1.0rc40__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ from clipped.utils.np import sanitize_dict, sanitize_np_types
6
6
 
7
7
  from hypertune.logger import logger
8
8
  from polyaxon.client import RunClient
9
- from polyaxon.polyflow import V1Join
9
+ from polyaxon.schemas import V1Join
10
10
  from traceml.artifacts import V1ArtifactKind, V1RunArtifact
11
11
 
12
12
 
@@ -1,7 +1,7 @@
1
1
  import hyperopt
2
2
 
3
3
  from hypertune.matrix.utils import to_numpy
4
- from polyaxon.polyflow import (
4
+ from polyaxon.schemas import (
5
5
  V1HpChoice,
6
6
  V1HpGeomSpace,
7
7
  V1HpLinSpace,
hypertune/matrix/utils.py CHANGED
@@ -5,7 +5,7 @@ from datetime import date, datetime
5
5
  from clipped.compact.pydantic import ValidationError
6
6
 
7
7
  from hypertune.matrix import dist
8
- from polyaxon.polyflow import (
8
+ from polyaxon.schemas import (
9
9
  V1HpChoice,
10
10
  V1HpDateRange,
11
11
  V1HpDateTimeRange,
@@ -22,8 +22,8 @@ from polyaxon.polyflow import (
22
22
  V1HpQUniform,
23
23
  V1HpRange,
24
24
  V1HpUniform,
25
+ validate_pchoice,
25
26
  )
26
- from polyaxon.polyflow.matrix.params import validate_pchoice
27
27
 
28
28
 
29
29
  def pchoice(values, size=None, rand_generator=None):
hypertune/pkg.py CHANGED
@@ -1,5 +1,5 @@
1
1
  NAME = "hypertune"
2
- VERSION = "1.1.0-rc39"
2
+ VERSION = "1.1.0-rc40"
3
3
  DESC = "A library for performing hyperparameter optimization with Polyaxon."
4
4
  URL = "https://github.com/polyaxon/hypertune"
5
5
  AUTHOR = "Polyaxon, Inc."
@@ -6,7 +6,7 @@ from sklearn.gaussian_process import GaussianProcessRegressor
6
6
  from sklearn.gaussian_process.kernels import RBF, Matern
7
7
 
8
8
  from hypertune.search_managers.utils import get_random_generator
9
- from polyaxon.polyflow import (
9
+ from polyaxon.schemas import (
10
10
  AcquisitionFunctions,
11
11
  GaussianProcessConfig,
12
12
  GaussianProcessesKernels,
@@ -3,7 +3,7 @@ from typing import Dict, List
3
3
  from hypertune.search_managers.base import BaseManager
4
4
  from hypertune.search_managers.bayesian_optimization.optimizer import BOOptimizer
5
5
  from hypertune.search_managers.random_search.manager import RandomSearchManager
6
- from polyaxon.polyflow import V1Bayes, V1RandomSearch
6
+ from polyaxon.schemas import V1Bayes, V1RandomSearch
7
7
 
8
8
 
9
9
  class BayesSearchManager(BaseManager):
@@ -2,7 +2,7 @@ import numpy as np
2
2
 
3
3
  from hypertune.logger import logger
4
4
  from hypertune.matrix.utils import get_max, get_min, to_numpy
5
- from polyaxon.polyflow import V1Optimization
5
+ from polyaxon.schemas import V1Optimization
6
6
 
7
7
 
8
8
  class SearchSpace:
@@ -4,7 +4,7 @@ from typing import Dict, List
4
4
 
5
5
  from hypertune.matrix.utils import to_numpy
6
6
  from hypertune.search_managers.base import BaseManager
7
- from polyaxon.polyflow import V1GridSearch
7
+ from polyaxon.schemas import V1GridSearch
8
8
 
9
9
 
10
10
  class GridSearchManager(BaseManager):
@@ -2,7 +2,7 @@ from typing import Dict, List
2
2
 
3
3
  from hypertune.search_managers.base import BaseManager
4
4
  from hypertune.search_managers.random_search.manager import RandomSearchManager
5
- from polyaxon.polyflow import V1Hyperband, V1Optimization, V1RandomSearch
5
+ from polyaxon.schemas import V1Hyperband, V1Optimization, V1RandomSearch
6
6
 
7
7
 
8
8
  class HyperbandManager(BaseManager):
@@ -6,7 +6,7 @@ from hypertune.matrix.hyperopt import to_hyperopt
6
6
  from hypertune.matrix.utils import space_get_index, to_numpy
7
7
  from hypertune.search_managers.base import BaseManager
8
8
  from hypertune.search_managers.utils import get_random_generator
9
- from polyaxon.polyflow import (
9
+ from polyaxon.schemas import (
10
10
  V1HpChoice,
11
11
  V1HpGeomSpace,
12
12
  V1HpLinSpace,
@@ -3,7 +3,7 @@ import copy
3
3
  from typing import Dict, List, Optional
4
4
 
5
5
  from hypertune.search_managers.base import BaseManager
6
- from polyaxon.polyflow import V1Mapping
6
+ from polyaxon.schemas import V1Mapping
7
7
 
8
8
 
9
9
  class MappingManager(BaseManager):
@@ -8,7 +8,7 @@ from hypertune.matrix.utils import get_length, sample
8
8
  from hypertune.search_managers.base import BaseManager
9
9
  from hypertune.search_managers.spec import SuggestionSpec
10
10
  from hypertune.search_managers.utils import get_random_generator
11
- from polyaxon.polyflow import V1RandomSearch
11
+ from polyaxon.schemas import V1RandomSearch
12
12
 
13
13
 
14
14
  class RandomSearchManager(BaseManager):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hypertune
3
- Version: 1.1.0rc39
3
+ Version: 1.1.0rc40
4
4
  Summary: A library for performing hyperparameter optimization with Polyaxon.
5
5
  Home-page: https://github.com/polyaxon/hypertune
6
6
  Author: Polyaxon, Inc.
@@ -1,32 +1,32 @@
1
1
  hypertune/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
2
- hypertune/iteration_lineage.py,sha256=ZSeyCx876ei9cRrwkefgg3sJKYVYL3CSlJO8zWWv9gg,2887
2
+ hypertune/iteration_lineage.py,sha256=z515AFwiJd9w8LjmS_9fZ3Isi3XWB1deNQtr_OssoaE,2886
3
3
  hypertune/logger.py,sha256=IHyqYlPIbssr8aCrewsPyxUBpgYPFWqvRithcGd7RDc,56
4
- hypertune/pkg.py,sha256=XqtKyMYnlrR-1tVLiHih8SgAUeRn6Q2irKrOHlMqUVY,245
4
+ hypertune/pkg.py,sha256=0us0yfVj06tZvsXqNZNn8MecMCMVLIoZzDDu5cy7k80,245
5
5
  hypertune/matrix/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
6
6
  hypertune/matrix/dist.py,sha256=4d0jdcmaMGkTjpZvkRsnsA5PgzvO4g323LZ9mVdiDuA,1442
7
- hypertune/matrix/hyperopt.py,sha256=wEw1LwmuNwlLfoFq1A31JQGkmoAkNrkV4qcKgtQpzh4,2176
8
- hypertune/matrix/utils.py,sha256=C26Vj4ulUxo-7yDl1ntY7unxA8Lc6lU3ycEneXEBJbM,9470
7
+ hypertune/matrix/hyperopt.py,sha256=d4q50BaHQCU62YnpEKr8-m7NAvMR73aRhB1tDPXHwzo,2175
8
+ hypertune/matrix/utils.py,sha256=KsTuTItUptoQvHlo4UGpXOBpVS2Sb_A_WO6pBy5FJGo,9430
9
9
  hypertune/search_managers/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
10
10
  hypertune/search_managers/base.py,sha256=IIPiJYBqexlIF9T-2JdPyVzoWSsrN-XDOOHuYltoGfA,539
11
11
  hypertune/search_managers/spec.py,sha256=Z0Vq14yaA5MEz1lbaay8QSCIRIjTWnYQjPzaU0KhRfY,725
12
12
  hypertune/search_managers/utils.py,sha256=8gLvRNTmFTm6xUDx3HgHv4h4_Dl5ywGHpAffIM6Tm5E,134
13
13
  hypertune/search_managers/bayesian_optimization/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
14
- hypertune/search_managers/bayesian_optimization/acquisition_function.py,sha256=2m8gbBTCtw2aLqLSNOqFY20kTwh48tega3FsVXdCOx4,4712
15
- hypertune/search_managers/bayesian_optimization/manager.py,sha256=msQzKz7iK-6ZXxGdWMoz-Z-j0G85cEZ3bRMUjhlxsqc,1269
14
+ hypertune/search_managers/bayesian_optimization/acquisition_function.py,sha256=Hhxiks3poJ0vK6CQUo1uPYCDoknieVg4l2xcrYButX4,4711
15
+ hypertune/search_managers/bayesian_optimization/manager.py,sha256=D9onVt4EWkTjNQcVf1yQo1J4sPmLB1sqfQ6-sctpc60,1268
16
16
  hypertune/search_managers/bayesian_optimization/optimizer.py,sha256=fNxLnBpSFPVWeGNhDp_OGUwhT6h_VzOV32pY9TeNzJQ,1304
17
- hypertune/search_managers/bayesian_optimization/space.py,sha256=wKkGPZbm5fttBYJa59a1lAg7JMGP-IprjKqoRgqn4K0,5266
17
+ hypertune/search_managers/bayesian_optimization/space.py,sha256=gNXMHeUeCyaMurkImNuKRb7Lbo2e1ar6LbOxqN0N4o0,5265
18
18
  hypertune/search_managers/grid_search/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
19
- hypertune/search_managers/grid_search/manager.py,sha256=5qJSXUulpm4aJFIp89EZsTxMeLhbdCb5meOe5jUOe7E,755
19
+ hypertune/search_managers/grid_search/manager.py,sha256=dRq1-VdlyMhWqZsLdoHTtO1Ptyw67VD6oqDPoF2lUQM,754
20
20
  hypertune/search_managers/hyperband/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
21
- hypertune/search_managers/hyperband/manager.py,sha256=g2o_NcztTVR_BSdWH5rMSdm26vKfimhK_F_NCj_Vm2k,4970
21
+ hypertune/search_managers/hyperband/manager.py,sha256=sRsSX79zmW1cGk-pY3OPqKgFgPa-CBTmJBHf-98ArwE,4969
22
22
  hypertune/search_managers/hyperopt/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
23
- hypertune/search_managers/hyperopt/manager.py,sha256=xzqs7-QcBZXgafkaoSaaLhwiASNEeNadO4eekurJFj8,5896
23
+ hypertune/search_managers/hyperopt/manager.py,sha256=HYcKlOHYZAyH_s3X7ULvXOs-SQIs5u5VxyCNLFJibzQ,5895
24
24
  hypertune/search_managers/mapping/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
25
- hypertune/search_managers/mapping/manager.py,sha256=hyF09enY0Uq-q5TMT2eP_y83K-VlzAIt1bI9cWudUUY,633
25
+ hypertune/search_managers/mapping/manager.py,sha256=nDeS5PkD2FEX151MUpB2GWelpO_V6Yvh46NZzVVDqC8,632
26
26
  hypertune/search_managers/random_search/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
27
- hypertune/search_managers/random_search/manager.py,sha256=OlFGyBK5KTGQz8CYMmMqlIJp2m27TjGF5bSPAexly3o,1851
28
- hypertune-1.1.0rc39.dist-info/LICENSE,sha256=86kroZbQUDsmSWOomB7dpceG65UXiVSPob4581tStBc,11349
29
- hypertune-1.1.0rc39.dist-info/METADATA,sha256=Akc_wl3pqMu6eDfWDhxSO-52bZxyR3ww2ukrYkUCNO0,3313
30
- hypertune-1.1.0rc39.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
31
- hypertune-1.1.0rc39.dist-info/top_level.txt,sha256=96t0aNwmDTWYuj8VXyzogiQ8zBV06FCXZic8xyMTY14,10
32
- hypertune-1.1.0rc39.dist-info/RECORD,,
27
+ hypertune/search_managers/random_search/manager.py,sha256=NhkRCAtrkVm63YC7TCdzeQJcvK2xRYoMzU1ImZinnJY,1850
28
+ hypertune-1.1.0rc40.dist-info/LICENSE,sha256=86kroZbQUDsmSWOomB7dpceG65UXiVSPob4581tStBc,11349
29
+ hypertune-1.1.0rc40.dist-info/METADATA,sha256=3aQHHcWE9d_kt8E4kvLXz0TOt01cJFlvRBs4W8kSyYs,3313
30
+ hypertune-1.1.0rc40.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
31
+ hypertune-1.1.0rc40.dist-info/top_level.txt,sha256=96t0aNwmDTWYuj8VXyzogiQ8zBV06FCXZic8xyMTY14,10
32
+ hypertune-1.1.0rc40.dist-info/RECORD,,