-
Notifications
You must be signed in to change notification settings - Fork 37
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
Remove ML_VALIDATION #658
base: main
Are you sure you want to change the base?
Remove ML_VALIDATION #658
Conversation
37c2fa3
to
5a6a8e0
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #658 +/- ##
==========================================
- Coverage 92.23% 92.19% -0.04%
==========================================
Files 135 135
Lines 4918 4909 -9
Branches 800 800
==========================================
- Hits 4536 4526 -10
Misses 241 241
- Partials 141 142 +1 ☔ View full report in Codecov by Sentry. |
credsweeper/credentials/candidate.py
Outdated
# None - ML is applicable but not processed yet; "NA" - ML is not applicable; float - the ml decision | ||
# Note: -1.0 is possible too for some activation functions in ml model, so let avoid negative values | ||
self.ml_probability: Union[None, str, float] = None if use_ml else "NA" |
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.
What about use None
not "NA"
for ml_probability
?
I think "NA"
seems better to convey the meaning.
Co-authored-by: ShinHyung Choi <[email protected]>
Description
Please include a summary of the change and which is fixed.
How has this been tested?
Please describe the tests that you ran to verify your changes.