I use this code to test CatBoostClassifier.
import numpy as np from catboost import CatBoostClassifier, Pool # initialize data train_data = np.random.randint(0,