I want to measure area under the curve of precision-recall curve (AUPRC) in catboost, but the CatBoostClassifier
, doesn not have AUPRC
as an evaluation metric.Any suggestion that helps me to measure this performance metric will be appreciated.
This is the code I use:
model = CatBoostClassifier(
custom_loss=['Accuracy','Precision','Recall','F1','AUC'],
random_seed=42,
logging_level='Silent')
model.fit(
X_train, Y_train,
eval_set=(X_test, Y_test), plot=True)