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
[issue-1248] features inference for passed into check dataframes #1355
Conversation
I think that in Dataset line 889 we can add the warning "DataFrame was passed, initializing deepchecks.tabular.Dataset using the given dataframe" |
I think the warning massage is good for both cases (if the user passed a DF directly or created a DS without specifying categorical) |
Think it will be redundant, this function is part of a public API and it could be strange for user to see warning as this when he/she will try to use this function directly |
I don't see a reason for it to be a public API, it doesn't help the user more than calling the ctor |
ok, I have not changed its visibility marker, but I have added a warning |
resolves #1248
@Nadav-Barak
it is enough to modify line 889 in
Dataset.cast_to_dataset
to solve that issue, but I am not sure how clear the warning message raised by the features inference logic (Dataset._infer_categorical_features
line 573) will be for the users in this case. What do you think?