Export a model to JSON
The trained CatBoost model can be saved as a JSON file. This file can be accessed later to apply the model. Refer to the CatBoost JSON model tutorial for format details.
Choose the implementation for more details.
Method | Parameters | Description |
---|---|---|
| format | The output format of the model. Set this parameter to “json”. |
Method | Parameters | Description |
---|---|---|
| format | The output format of the model. Set this parameter to “json”. |
The following command keys can be specified for the corresponding commands and are used when the model is trained:
Command | Command keys | Key description |
---|---|---|
catboost fit | --model-format | A comma-separated list of output model formats. Set the value of this key to “json”. |
Command | Command keys | Key description |
---|---|---|
catboost fit | --model-format | A comma-separated list of output model formats. Set the value of this key to “json”. |