tutorial_3_tryTunersAndAccessors.md 1.71 KB
Newer Older
Scarlett Li's avatar
Scarlett Li committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Tutorial - Try different Tuners and Accessors

NNI provides an easy to adopt approach to set up parameter tuning algorithms as well as early stop policies, we call them **Tuners** and **Accessors**.
  
**Tuner** specifies the algorithm you use to generate hyperparameter sets for each trial. In NNI, we support two approaches to set the tuner. 
1. Directly use tuner provided by nni sdk

        required fields: builtinTunerName and classArgs. 

2. Customize your own tuner file

        required fields: codeDirectory, classFileName, className and classArgs.

### **Learn More about tuners**
* For detailed defintion and usage aobut the required field, please refer to [Config an experiment](ExperimentConfig.md)
xuehui's avatar
xuehui committed
16
* [Tuners in the latest NNI release](HowToChooseTuner.md)
Scarlett Li's avatar
Scarlett Li committed
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
* [How to implement your own tuner](howto_2_CustomizedTuner.md)


**Assessor** specifies the algorithm you use to apply early stop policy. In NNI, there are two approaches to set theassessor. 
1. Directly use accessor provided by nni sdk

        required fields: builtinAssessorName and classArgs. 

2. Customize your own tuner file

        required fields: codeDirectory, classFileName, className and classArgs.

### **Learn More about assessor**
* For detailed defintion and usage aobut the required field, please refer to [Config an experiment](ExperimentConfig.md)
* Find more about the detailed instruction about [enable accessor](EnableAssessor.md)
* [How to implement your own assessor](../examples/assessors/README.md)

## **Learn More**
* [How to run an experiment on local (with multiple GPUs)?](tutorial_1_CR_exp_local_api.md)
* [How to run an experiment on multiple machines?](tutorial_2_RemoteMachineMode.md)
* [How to run an experiment on OpenPAI?](PAIMode.md)