from catboost import CatBoostClassifier, Pool
train_data = [[1, 3], [0, 4], [1, 7], [0, 3]]
train_labels = [1, 0, 1, 1]
model = CatBoostClassifier(learning_rate=0.03)
model.fit(train_data,
train_labels,
verbose=False,
plot=True)
Unsupported mimetype: application/vnd.jupyter.widget-view+json
error.ipython
, ipywidgets
and traitlets
to run some of the example.