Skip to content
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

Include split column in explanation df #2405

Merged
merged 2 commits into from
Aug 20, 2022
Merged

Include split column in explanation df #2405

merged 2 commits into from
Aug 20, 2022

Conversation

connor-mccorm
Copy link
Contributor

When generating explanations, a call to prepare_data() is made which filters out all columns except for input features. This leads to a key error during data preprocessing when Ludwig looks for a split column if a non-random type of splitting has been specified. The proposed fix makes sure that split column is not removed from the df that is sent for preprocessing from the explanations generation.

@github-actions
Copy link

Unit Test Results

       5 files   -        1         5 suites   - 1   2h 37m 41s ⏱️ - 26m 19s
2 976 tests ±       0  2 881 ✔️  -      16    95 💤 +16  0 ±0 
6 080 runs   - 2 848  5 864 ✔️  - 2 791  216 💤  - 57  0 ±0 

Results for commit d6ea01b. ± Comparison against base commit 60197fe.

@connor-mccorm connor-mccorm merged commit 25f04e8 into master Aug 20, 2022
@connor-mccorm connor-mccorm deleted the ig_split branch August 20, 2022 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants