Skip to content
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

Feat/confusion matrix metric #138

Merged
merged 21 commits into from
Dec 9, 2024
Merged

Feat/confusion matrix metric #138

merged 21 commits into from
Dec 9, 2024

Conversation

JSabadin
Copy link
Contributor

@JSabadin JSabadin commented Nov 25, 2024

Confusion Matrix Metric

In this PR, we have added the Confusion Matrix (CM) metric, which is logged using the log_matrix function from the luxonis_ml tracker. The Confusion Matrix is supported for the following tasks:

  • Detection
  • Classification
  • Segmentation

We should merge this after PR #209 in luxonis-ml is merged, as it enables the logging of a matrix.

@JSabadin JSabadin requested a review from a team as a code owner November 25, 2024 16:49
@JSabadin JSabadin requested review from kozlov721, klemen1999, tersekmatija and conorsim and removed request for a team November 25, 2024 16:49
@github-actions github-actions bot added the enhancement New feature or request label Nov 25, 2024
Copy link

codecov bot commented Nov 27, 2024

Codecov Report

Attention: Patch coverage is 56.84932% with 63 lines in your changes missing coverage. Please review.

Project coverage is 94.35%. Comparing base (631b905) to head (d4170a9).
Report is 21 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...train/attached_modules/metrics/confusion_matrix.py 49.57% 60 Missing ⚠️
luxonis_train/config/config.py 75.00% 2 Missing ⚠️
...ts/unittests/test_metrics/test_confusion_matrix.py 93.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #138      +/-   ##
==========================================
- Coverage   96.31%   94.35%   -1.97%     
==========================================
  Files         147      166      +19     
  Lines        6304     7302     +998     
==========================================
+ Hits         6072     6890     +818     
- Misses        232      412     +180     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@klemen1999 klemen1999 merged commit c052c04 into main Dec 9, 2024
7 of 10 checks passed
@klemen1999 klemen1999 deleted the feat/confusion-matrix-metric branch December 9, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants