-
Notifications
You must be signed in to change notification settings - Fork 93
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
Clean up internal column logic in _run_classifier_helper
function
#457
Clean up internal column logic in _run_classifier_helper
function
#457
Conversation
Signed-off-by: Sarah Yurick <[email protected]>
Signed-off-by: Sarah Yurick <[email protected]>
if prob_col: | ||
df[prob_col] = 0 |
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.
I wanted CrossFit to internally create the prob_col
, but I was having trouble getting this to work. Specifically, I was able to get the entire classification pipeline to work, but then at the end prob_col
would be dropped somewhere and not returned with the result.
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.
Thanks for making the PR. I like the changes, thanks for cleaning it up.
Would you mind creating a issue on crossfit (with a MRE), we can merge this PR and then fix it in crossfit.
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.
I have opened an issue here: rapidsai/crossfit#108. Please LMK if there is anything else I can clarify there. 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.
LGTM. Thanks for making these changes
if prob_col: | ||
df[prob_col] = 0 |
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.
Thanks for making the PR. I like the changes, thanks for cleaning it up.
Would you mind creating a issue on crossfit (with a MRE), we can merge this PR and then fix it in crossfit.
Closes #425.