Search⌘ K
AI Features

Creating the Classification Model

Explore how to train and finalize a CatBoost classification model in PyCaret for NLP tasks. Learn to split data, train on full datasets, and save models for future use.

Creating the model

The create_model() function lets us easily train a classification model on the dataset. In this case, we’ll create a CatBoost model because it generally performs well in classification tasks.

catboost = classification.create_model('catboost')

Run the code above in the Jupyter Notebook by ...