clearml-docs/docs/guides/frameworks/catboost/catboost.md

40 lines
1.7 KiB
Markdown
Raw Permalink Normal View History

2022-03-20 13:41:28 +00:00
---
title: CatBoost
---
The [catboost_example.py](https://github.com/allegroai/clearml/blob/master/examples/frameworks/catboost/catboost_example.py)
example demonstrates the integration of ClearML into code that uses [CatBoost](https://catboost.ai).
The example script does the following:
* Trains a simple deep neural network on the CatBoost built-in [msrank](https://catboost.ai/en/docs/concepts/python-reference_datasets_msrank)
dataset.
2025-02-06 15:31:11 +00:00
* Creates a task named `CatBoost simple example` in the `examples` project
2022-03-20 13:41:28 +00:00
* ClearML automatically logs argparse command line options, and models and metrics logged by CatBoost
## Scalars
ClearML automatically captures scalars logged by CatBoost. These scalars can be visualized in plots, which appear in the
2025-02-06 15:31:11 +00:00
[ClearML web UI](../../../webapp/webapp_overview.md), in the task's **SCALARS** tab.
2022-03-20 13:41:28 +00:00
2025-02-06 15:31:11 +00:00
![Task scalars](../../../img/examples_catboost_scalars.png)
2022-03-20 13:41:28 +00:00
## Hyperparameters
2023-10-15 07:59:07 +00:00
ClearML automatically logs command line options defined with argparse. They appear in **CONFIGURATIONS > HYPERPARAMETERS > Args**.
2022-03-20 13:41:28 +00:00
2025-02-06 15:31:11 +00:00
![Task hyperparameters](../../../img/examples_catboost_configurations.png)
2022-03-20 13:41:28 +00:00
## Console
2022-05-22 07:27:30 +00:00
Text printed to the console for training progress, as well as all other console output, appear in **CONSOLE**.
2022-03-20 13:41:28 +00:00
2025-02-06 15:31:11 +00:00
![Task console](../../../img/examples_catboost_console.png)
2022-03-20 13:41:28 +00:00
## Artifacts
2025-02-06 15:31:11 +00:00
Models created by the task appear in the task's **ARTIFACTS** tab. ClearML automatically logs and tracks
2022-03-20 13:41:28 +00:00
models created using CatBoost.
2025-02-06 15:31:11 +00:00
![Task artifacts](../../../img/examples_catboost_artifacts.png)
2022-03-20 13:41:28 +00:00
2023-10-01 07:31:48 +00:00
Clicking on the model name takes you to the [model's page](../../../webapp/webapp_model_viewing.md), where you can view
the model's details and access the model.
2022-03-20 13:41:28 +00:00
![Model page](../../../img/examples_catboost_model.png)