-
Notifications
You must be signed in to change notification settings - Fork 225
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
Feature/tabular warning #606
Feature/tabular warning #606
Conversation
Codecov Report
@@ Coverage Diff @@
## master #606 +/- ##
=======================================
Coverage 83.58% 83.58%
=======================================
Files 207 207
Lines 13838 13840 +2
=======================================
+ Hits 11566 11568 +2
Misses 2272 2272
|
alibi_detect/cd/tabular.py
Outdated
# No categories_per_feature dict so assume no categorical features present | ||
else: | ||
self.x_ref_categories, self.cat_vars = {}, [] | ||
warnings.warn('No `categories_per_feature` dict provided so all features are assumed to be categorical. ' |
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.
"... all features are assumed to be numerical." instead of categorical.
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.
Ooops, good spot, thanks!
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.
Corrected now! 👍🏻
Resolves #588.
The following warning is raised when a
categories_per_feature
dict is not provided: