DngoTuner.rst 790 Bytes
Newer Older
liuzhe-lz's avatar
liuzhe-lz committed
1
2
DNGO Tuner
==========
ChrisZRen's avatar
ChrisZRen committed
3

4
5
Usage
-----
ChrisZRen's avatar
ChrisZRen committed
6
7
8
9
10
11
12

Installation
^^^^^^^^^^^^

classArgs requirements
^^^^^^^^^^^^^^^^^^^^^^

liuzhe-lz's avatar
liuzhe-lz committed
13
* **optimize_mode** (*'maximize' or 'minimize'*) - If 'maximize', the tuner will target to maximize metrics. If 'minimize', the tuner will target to minimize metrics.
ChrisZRen's avatar
ChrisZRen committed
14
15
16
17
18
19
20
21
22
23
24
* **sample_size** (*int, default = 1000*) - Number of samples to select in each iteration. The best one will be picked from the samples as the next trial.
* **trials_per_update** (*int, default = 20*) - Number of trials to collect before updating the model.
* **num_epochs_per_training** (*int, default = 500*) - Number of epochs to train DNGO model.

Example Configuration
^^^^^^^^^^^^^^^^^^^^^

.. code-block:: yaml

   # config.yml
   tuner:
25
     name: DNGOTuner
ChrisZRen's avatar
ChrisZRen committed
26
     classArgs:
27
       optimize_mode: maximize