I always get this 'pattern' PR curve when I use precision_recall_curve function to plot PR curve. enter image description here

enter image description here

The starting point is always from (0,1).

Because when thresholds set up the highest score lend to TP and FP equal 0 but precision is 1 in precision_recall_curve function.

Why precision is 1 when TP and FP equal 0 in python precision_recall_curve function ?

Are these precision_recall_curves reasonable?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.