CLIedit

This section contains a detailed description of the loudml command line interface(CLI):

Running the loudml command with -h option in a terminal will output the following help message:

loudml -h
usage: loudml [-h] [-c CONFIG]
              {delete-model,predict,forecast,train,list-models,create-model} ...

LoudML command-line tool

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG, --config CONFIG
                        Path to configuration file (default:
                        /etc/loudml/config.yml)

Commands:
  {delete-model,predict,forecast,train,list-models,create-model}

If you want to use the default path for LoudML storage (/var/lib/loudml), the user who executes the loudml command must be in the loudml group and the directory must be writeable for the users of this group:

chmod -R g+w /var/lib/loudml
usermod -a -G loudml <user>
Important

Run previous command in your favourite shell and then completely log out of your account and log back in (if in doubt, reboot!)