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

fix: use column names for database mappers #335

Merged

Conversation

shezadkhan137
Copy link
Contributor

When writing results where the metrics include 'confusion_matrix', only the first column name is written. In the case of the confusion_matrix it is "true_positive". The desired behaviour is to write all column values.

@shezadkhan137 shezadkhan137 force-pushed the fix-column-names-for-database-writer branch from d7b5ede to 3cd23fd Compare November 10, 2023 11:25
When writing results where the metrics include 'confusion_matrix', only
the first column name is written. In the case of the confusion_matrix it
is "true_positive". The desired behaviour is to write all column values.
@shezadkhan137 shezadkhan137 force-pushed the fix-column-names-for-database-writer branch from 3cd23fd to 9acc499 Compare November 14, 2023 13:26
Copy link

codecov bot commented Nov 16, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (bb28916) 82.56% compared to head (15876c6) 82.56%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #335   +/-   ##
=======================================
  Coverage   82.56%   82.56%           
=======================================
  Files         100      100           
  Lines        7552     7553    +1     
  Branches     1353     1354    +1     
=======================================
+ Hits         6235     6236    +1     
  Misses        980      980           
  Partials      337      337           

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

@nnansters
Copy link
Contributor

Looking good @shezadkhan137 ! I applied the same solution to the case of CBPE where we had exposed some internal mechanics called components. I don't like those very much, your way of doing it was more elegant. Cheers!

@nnansters nnansters merged commit a96b663 into NannyML:main Nov 16, 2023
7 checks passed
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