-
Notifications
You must be signed in to change notification settings - Fork 320
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
Make evaluate methods return the actual object #1253
Conversation
Codecov ReportBase: 95.72% // Head: 95.88% // Increases project coverage by
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## V1.0.0.dev #1253 +/- ##
==============================================
+ Coverage 95.72% 95.88% +0.15%
==============================================
Files 47 47
Lines 3676 3816 +140
==============================================
+ Hits 3519 3659 +140
Misses 157 157
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
One minor comment but besides that
sdv/evaluation/single_table.py
Outdated
quality_report = DiagnosticReport() | ||
quality_report.generate(real_data, synthetic_data, metadata.to_dict(), verbose) | ||
return quality_report.get_results() | ||
return quality_report |
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.
minor thing I'm noticing now but these variables should probably be named diagnostic_report
sdv/evaluation/multi_table.py
Outdated
""" | ||
quality_report = DiagnosticReport() | ||
quality_report.generate(real_data, synthetic_data, metadata.to_dict(), verbose) | ||
return quality_report.get_results() | ||
return quality_report |
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 here
* Address feedback * lint * Feedback
* Address feedback * lint * Feedback
* Address feedback * lint * Feedback
Resolve #1190.
Make the evaluate methods return the actual object (
QualityReport
andDiagnosticReport
) instead of only the score/result.