@cryptotaxi247 / netdata-1 / commits / beb437096

Document ML enabled `auto` (#18784)

Co-authored-by: Fotis Voutsas <fotis@netdata.cloud> Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

Stelios Fragkakis committed Oct 15, 2024 at 13:56 UTC beb43709604ac10a0e76ebfb5eb3507b64e75540
1 file changed +4 -4
src/ml/ml-configuration.md
+4 -4
@@ -1,18 +1,18 @@
1 # ML Configuration
2
3 -Netdata's [Machine Learning](/src/ml/README.md) capabilities are enabled by default.
3 +Netdata's [Machine Learning](/src/ml/README.md) capabilities are enabled by default if the [Database mode](/src/database/README.md) is set to `db = dbengine`
4
5 To enable or disable Machine Learning capabilities on a node:
6
7 1. [Edit `netdata.conf`](/docs/netdata-agent/configuration/README.md#edit-a-configuration-file-using-edit-config)
8 -2. In the `[ml]` section, set `enabled = yes` to enable or `enabled = no` to disable
8 +2. In the `[ml]` section, set `enabled` to `yes` to enable ML, `no` to disable it, or leave it at the default `auto` to enable ML only when [Database mode](/src/database/README.md) is set to `dbengine`
9 3. [Restart Netdata](/docs/netdata-agent/start-stop-restart.md)
10
11 Below is a list of all the available configuration params and their default values.
12
13 ```bash
14 [ml]
15 - # enabled = yes
15 + # enabled = auto
16 # maximum num samples to train = 21600
17 # minimum num samples to train = 900
18 # train every = 3h
@@ -85,7 +85,7 @@ flowchart BT
85
86 ## Descriptions (min/max)
87
88 -- `enabled`: `yes` to enable, `no` to disable.
88 +- `enabled`: `yes` to enable, `no` to disable, or `auto` to let Netdata decide when to enable ML.
89 - `maximum num samples to train`: (`3600`/`86400`) This is the maximum amount of time you would like to train each model on. For example, the default of `21600` trains on the preceding 6 hours of data, assuming an `update every` of 1 second.
90 - `minimum num samples to train`: (`900`/`21600`) This is the minimum amount of data required to be able to train a model. For example, the default of `900` implies that once at least 15 minutes of data is available for training, a model is trained, otherwise it is skipped and checked again at the next training run.
91 - `train every`: (`3h`/`6h`) This is how often each model will be retrained. For example, the default of `3h` means that each model is retrained every 3 hours. Note: The training of all models is spread out across the `train every` period for efficiency, so in reality, it means that each model will be trained in a staggered manner within each `train every` period.