aiauto-client 0.1.7__tar.gz → 0.1.8__tar.gz
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.
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/PKG-INFO +1 -1
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/examples/example_torch_multiple_objective.py +1 -1
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/examples/example_torch_single_objective.py +1 -1
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/examples/simple_example.py +3 -2
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/pyproject.toml +1 -1
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto/core.py +2 -1
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto_client.egg-info/PKG-INFO +1 -1
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/MANIFEST.in +0 -0
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/README.md +0 -0
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/setup.cfg +0 -0
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto/__init__.py +0 -0
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto/_config.py +0 -0
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto/constants.py +0 -0
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto/http_client.py +0 -0
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto/serializer.py +0 -0
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto_client.egg-info/SOURCES.txt +0 -0
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto_client.egg-info/dependency_links.txt +0 -0
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto_client.egg-info/requires.txt +0 -0
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto_client.egg-info/top_level.txt +0 -0
- {aiauto_client-0.1.7 → aiauto_client-0.1.8}/tests/test_local_storage.py +0 -0
@@ -27,7 +27,7 @@ ac = aiauto.AIAutoController('<token>')
|
|
27
27
|
|
28
28
|
|
29
29
|
# multi objective without pruning (accuracy + FLOPS)
|
30
|
-
def objective_multi(trial
|
30
|
+
def objective_multi(trial):
|
31
31
|
"""
|
32
32
|
다중 목적 함수: accuracy 최대화 + FLOPS 최소화
|
33
33
|
hyper parameter tuning을 할 때는 데이터의 일부만 사용하여 빠르게 HPO를 한다
|
@@ -27,7 +27,7 @@ ac = aiauto.AIAutoController('<token>')
|
|
27
27
|
|
28
28
|
|
29
29
|
# single objective accuracy with pruning
|
30
|
-
def objective_single(trial
|
30
|
+
def objective_single(trial):
|
31
31
|
"""
|
32
32
|
단일 목적 함수: accuracy 최대화
|
33
33
|
hyper parameter tuning 할 때는 데이터의 일부만 사용하여 빠르게 HPO를 한다
|
@@ -11,7 +11,6 @@
|
|
11
11
|
$ python simple_example.py
|
12
12
|
"""
|
13
13
|
|
14
|
-
import optuna
|
15
14
|
import aiauto
|
16
15
|
|
17
16
|
|
@@ -26,7 +25,9 @@ ac = aiauto.AIAutoController('<token>')
|
|
26
25
|
|
27
26
|
|
28
27
|
# single objective accuracy
|
29
|
-
def simple_objective(trial
|
28
|
+
def simple_objective(trial):
|
29
|
+
import optuna
|
30
|
+
import aiauto
|
30
31
|
"""
|
31
32
|
간단한 2차 함수 최적화
|
32
33
|
(x - 2)^2 + (y - 3)^2 를 최소화
|
@@ -202,7 +202,8 @@ class StudyWrapper:
|
|
202
202
|
request_data = {
|
203
203
|
"objective": {
|
204
204
|
"sourceCode": serialize(objective),
|
205
|
-
"requirementsTxt": build_requirements(requirements_file, requirements_list)
|
205
|
+
"requirementsTxt": build_requirements(requirements_file, requirements_list),
|
206
|
+
"objectiveName": objective.__name__ # 함수명 추출하여 전달
|
206
207
|
},
|
207
208
|
"batch": {
|
208
209
|
"studyName": self.study_name,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|