-
-
Notifications
You must be signed in to change notification settings - Fork 125
Curve Document #623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Curve Document #623
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #623 +/- ##
=======================================
Coverage 99.46% 99.46%
=======================================
Files 15 15
Lines 3323 3323
Branches 446 446
=======================================
Hits 3305 3305
Misses 12 12
Partials 6 6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
sadrasabouri
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left minor comments.
| "source": [ | ||
| "from pycm import PCurve\n", | ||
| "crv = PCurve(actual_vector = numpy.array([1, 1, 2, 2]), probs = numpy.array([[0.1, 0.9], [0.4, 0.6], [0.35, 0.65], [0.8, 0.2]]), classes=[2, 1])\n", | ||
| "crv.thresholds\n", | ||
| "auc_trp = crv.area()\n", | ||
| "auc_trp[1]\n", | ||
| "auc_trp[2]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't they be in separate cells with the output? this way the output for intermediate statements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, but I used a previous section's template. It would be better to address this matter in a separate pull request.
| "from pycm import RCurve\n", | ||
| "crv = RCurve(actual_vector = numpy.array([1, 1, 2, 2]), probs = numpy.array([[0.1, 0.9], [0.4, 0.6], [0.35, 0.65], [0.8, 0.2]]), classes=[2, 1])\n", | ||
| "crv.thresholds\n", | ||
| "auc_trp = crv.area()\n", | ||
| "auc_trp[1]\n", | ||
| "auc_trp[2]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same for here
| "crv = F1Curve(actual_vector = numpy.array([1, 1, 2, 2]), probs = numpy.array([[0.1, 0.9], [0.4, 0.6], [0.35, 0.65], [0.8, 0.2]]), classes=[2, 1])\n", | ||
| "crv.thresholds\n", | ||
| "auc_trp = crv.area()\n", | ||
| "auc_trp[1]\n", | ||
| "auc_trp[2]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same for here
Reference Issues/PRs
#578 #619
What does this implement/fix? Explain your changes.
Any other comments?