Train a model


Training on GPU requires NVIDIA Driver of version 450.80.02 or higher.

Execution format

catboost fit -f <file path> [optional parameters]


See all options in the Training parameters section.

Usage examples

Train a model with 100 trees on a comma-separated pool with header:

catboost fit --learn-set train.csv --test-set test.csv --column-description  --loss-function RMSE --iterations 100 --delimiter=',' --has-header

Train a classification model on GPU:

catboost fit --learn-set ../pytest/data/adult/train_small --column-description ../pytest/data/adult/ --task-type GPU