How to find the best threshold with Pycaret

I am using the pycaret library and created a Catboost model from it

enter image description here

The model has a great AUC score, but pretty bad Recall and F1 which means that the normal threshold of 0.5 is not ideal, but that there is a threshold that will give good score for both of those metrics.

Is there any way to find this threshold? I am not so sure how to work this since I am trying out Pycaret

Read more here:

Content Attribution

This content was originally published by DanCor at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: