Skip to content

Conversation

@congdanh2516
Copy link

@congdanh2516 congdanh2516 commented Jan 9, 2025

Fixes # .

Description

Act: Add confusion_metrics_patch.py file:
Purpose: confusion_metrics_patch.py a is an updated version of confusion_metrics.py. It adds comments to explain the meaning of the lines of code for the compute_confusion_matrix_metric() function. In addition, a small improvement in the update is switching from using if-elif to match-case structure to optimize the code structure.

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

@KumoLiu
Copy link
Contributor

KumoLiu commented Jan 13, 2025

Hi @congdanh2516, seems you added many unrelated files in this pr. Could you please remove them? Thanks.

@congdanh2516 congdanh2516 deleted the patch-notes branch January 26, 2025 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants