Module not imported but called in the section Evaluating Machine Learning Model section #34

Closed
opened 2025-11-02 00:02:00 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @sahajrajmalla on GitHub (Jun 1, 2022).

The website link https://madewithml.com/courses/mlops/evaluation/#intuition of Coarse-grained section suggests to import function precision_recall_curve by

from sklearn.metrics import precision_recall_curve

but another function precision_recall_fscore_support from the same module path is called for computing evaluation metrics by

overall_metrics = precision_recall_fscore_support(y_test, y_pred, average="weighted")
Originally created by @sahajrajmalla on GitHub (Jun 1, 2022). The website link https://madewithml.com/courses/mlops/evaluation/#intuition of Coarse-grained section suggests to import function `precision_recall_curve` by ```python from sklearn.metrics import precision_recall_curve ``` but another function `precision_recall_fscore_support` from the same module path is called for computing evaluation metrics by ```python overall_metrics = precision_recall_fscore_support(y_test, y_pred, average="weighted") ```
Author
Owner

@GokuMohandas commented on GitHub (Jun 8, 2022):

Good catch, thank you @sahajrajmalla. I'll push the updates later this week with some more incoming changes.

@GokuMohandas commented on GitHub (Jun 8, 2022): Good catch, thank you @sahajrajmalla. I'll push the updates later this week with some more incoming changes.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/Made-With-ML#34