Commit ad8b0f0c authored by QuanluZhang's avatar QuanluZhang Committed by fishyds
Browse files

update doc for smac tuner (#140)

parent 2f7d2287
......@@ -9,7 +9,8 @@ searchSpacePath: search_space.json
#choice: true, false
useAnnotation: false
tuner:
#choice: TPE, Random, Anneal, Evolution
#choice: TPE, Random, Anneal, Evolution,
#SMAC (SMAC should be installed through nnictl)
builtinTunerName: TPE
classArgs:
#choice: maximize, minimize
......@@ -17,4 +18,4 @@ tuner:
trial:
command: python3 main.py
codeDir: .
gpuNum: 0
\ No newline at end of file
gpuNum: 0
......@@ -8,7 +8,8 @@ trainingServicePlatform: local
#choice: true, false
useAnnotation: true
tuner:
#choice: TPE, Random, Anneal, Evolution
#choice: TPE, Random, Anneal, Evolution,
#SMAC (SMAC should be installed through nnictl)
builtinTunerName: TPE
classArgs:
#choice: maximize, minimize
......@@ -16,4 +17,4 @@ tuner:
trial:
command: python3 mnist.py
codeDir: .
gpuNum: 0
\ No newline at end of file
gpuNum: 0
......@@ -10,6 +10,7 @@ searchSpacePath: search_space.json
useAnnotation: false
tuner:
#choice: TPE, Random, Anneal, Evolution, BatchTuner
#SMAC (SMAC should be installed through nnictl)
builtinTunerName: BatchTuner
classArgs:
#choice: maximize, minimize
......
......@@ -9,7 +9,8 @@ searchSpacePath: search_space.json
#choice: true, false
useAnnotation: false
tuner:
#choice: TPE, Random, Anneal, Evolution
#choice: TPE, Random, Anneal, Evolution,
#SMAC (SMAC should be installed through nnictl)
builtinTunerName: TPE
classArgs:
#choice: maximize, minimize
......@@ -17,4 +18,4 @@ tuner:
trial:
command: python3 mnist-keras.py
codeDir: .
gpuNum: 0
\ No newline at end of file
gpuNum: 0
......@@ -8,7 +8,8 @@ trainingServicePlatform: local
#choice: true, false
useAnnotation: true
tuner:
#choice: TPE, Random, Anneal, Evolution
#choice: TPE, Random, Anneal, Evolution,
#SMAC (SMAC should be installed through nnictl)
builtinTunerName: TPE
classArgs:
#choice: maximize, minimize
......@@ -16,4 +17,4 @@ tuner:
trial:
command: python3 mnist.py
codeDir: .
gpuNum: 0
\ No newline at end of file
gpuNum: 0
......@@ -9,7 +9,8 @@ searchSpacePath: search_space.json
#choice: true, false
useAnnotation: false
tuner:
#choice: TPE, Random, Anneal, Evolution
#choice: TPE, Random, Anneal, Evolution,
#SMAC (SMAC should be installed through nnictl)
builtinTunerName: TPE
classArgs:
#choice: maximize, minimize
......@@ -17,4 +18,4 @@ tuner:
trial:
command: python3 mnist.py
codeDir: .
gpuNum: 0
\ No newline at end of file
gpuNum: 0
......@@ -9,7 +9,8 @@ searchSpacePath: ~/nni/examples/trials/mnist/search_space.json
#choice: true, false
useAnnotation: false
tuner:
#choice: TPE, Random, Anneal, Evolution
#choice: TPE, Random, Anneal, Evolution,
#SMAC (SMAC should be installed through nnictl)
builtinTunerName: TPE
classArgs:
#choice: maximize, minimize
......@@ -23,4 +24,4 @@ assessor:
trial:
command: python3 mnist.py
codeDir: ~/nni/examples/trials/mnist
gpuNum: 0
\ No newline at end of file
gpuNum: 0
......@@ -9,7 +9,8 @@ searchSpacePath: search_space.json
#choice: true, false
useAnnotation: false
tuner:
#choice: TPE, Random, Anneal, Evolution
#choice: TPE, Random, Anneal, Evolution,
#SMAC (SMAC should be installed through nnictl)
builtinTunerName: TPE
classArgs:
#choice: maximize, minimize
......
# How to use Tuner that NNI supports?
For now, NNI could support tuner algorithms as following:
For now, NNI has supported the following tuner algorithms. Note that NNI installation only installs a subset of those algorithms, other algorithms should be installed through `nnictl package install` before you use them. For example, for SMAC the installation command is `nnictl package install --name=SMAC`.
- TPE
- Random Search
- Anneal
- Naive Evolution
- SMAC
- SMAC (to install through `nnictl`)
- ENAS (ongoing)
- Batch (ongoing)
......@@ -75,4 +75,4 @@ There are two filed you need to set:
[2]: http://www.jmlr.org/papers/volume13/bergstra12a/bergstra12a.pdf
[3]: https://arxiv.org/pdf/1703.01041.pdf
[4]: https://www.cs.ubc.ca/~hutter/papers/10-TR-SMAC.pdf
[5]: https://github.com/automl/SMAC3
\ No newline at end of file
[5]: https://github.com/automl/SMAC3
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment