How do I extract a model score based on desired precision recall for a classification model? Is there a command to extract it from precision_recall function in sklearn?

  • $\begingroup$ Welcome to the community, @user76804! Please consider adding some sample code to your question. It can further clarify your questions. $\endgroup$ – Borhan Kazimipour Jun 28 '19 at 12:11
p, r, thresholds = precision_recall_curve(y_test, y_scores)

For more clear understanding refer to this article: https://towardsdatascience.com/fine-tuning-a-classifier-in-scikit-learn-66e048c21e65

| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.