Training and Testing/ValidationΒΆ
To train a model on a data set and test the model, run the following command:
silas learn [OPTIONS] [settings_file]
where settings_file specifies the settings file and OPTIONS include:
-h: Print help message and exit.
-\-na/-\-noauc: Specify that do not compute ROC-AUC. Only works for classification tasks. Use this flag when the dataset has too many classes and multi-class AUC is not used as a performance measure.
-o model_dir: Output models in the directory model_dir.
For example, to build a model using settings1.json and output the model in model/this-model/, issue the following command:
silas learn -o model/this-model/ settings1.json