Skip to content

Conversation

@sepandhaghighi
Copy link
Owner

@sepandhaghighi sepandhaghighi commented Nov 24, 2025

Reference Issues/PRs

#578 #619

What does this implement/fix? Explain your changes.

  • Document modified

Any other comments?

@codecov
Copy link

codecov bot commented Nov 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.46%. Comparing base (9bb3e30) to head (3122f81).
⚠️ Report is 1 commits behind head on dev.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sepandhaghighi sepandhaghighi marked this pull request as ready for review November 25, 2025 03:24
Copy link
Collaborator

@sadrasabouri sadrasabouri left a 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.

Comment on lines +3449 to +3455
"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]"
Copy link
Collaborator

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.

Copy link
Owner Author

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.

Comment on lines +3496 to +3501
"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]"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same for here

Comment on lines +3542 to +3546
"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]"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same for here

@sadrasabouri sadrasabouri merged commit 757d018 into dev Nov 26, 2025
27 checks passed
@sadrasabouri sadrasabouri deleted the document branch November 26, 2025 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants