Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Add integration test for BOHB (#985)
Browse files Browse the repository at this point in the history
add integration test for bohb, change search space's name to search_space_advisor
  • Loading branch information
PurityFan authored and QuanluZhang committed Apr 15, 2019
1 parent d8fd9ed commit 5ee549d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 5 deletions.
25 changes: 25 additions & 0 deletions test/config_test/tuners/mnist-bohb.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
authorName: nni
experimentName: default_test
maxExecDuration: 5m
maxTrialNum: 2
trialConcurrency: 1
searchSpacePath: search_space_advisor.json

advisor:
builtinAdvisorName: BOHB
classArgs:
max_budget: 27
min_budget: 1
eta: 3
optimize_mode: maximize
trial:
codeDir: ../../../examples/trials/mnist-advisor
command: python3 mnist.py
gpuNum: 0

useAnnotation: false
multiPhase: false
multiThread: false

trainingServicePlatform: local

6 changes: 1 addition & 5 deletions test/config_test/tuners/mnist-hyperband.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,14 @@ experimentName: default_test
maxExecDuration: 5m
maxTrialNum: 2
trialConcurrency: 1
searchSpacePath: search_space_hyperband.json
searchSpacePath: search_space_advisor.json

advisor:
builtinAdvisorName: Hyperband
classArgs:
optimize_mode: maximize
R: 60
eta: 3
assessor:
builtinAssessorName: Medianstop
classArgs:
optimize_mode: maximize
trial:
codeDir: ../../../examples/trials/mnist-advisor
command: python3 mnist.py
Expand Down

0 comments on commit 5ee549d

Please sign in to comment.