BUG - Fixing a few edge cases in the generation of the parallel coordinate plot #1800
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bug Fix Pull Request
This PR addresses a bug that may occur when using
plot_parallel_coordif the results of the crossvalidation are not correct.Description
The PR addresses the problem by adding a small eps and removing nan values from what is used in
_add_jitter.How Has This Been Tested?
A new test has been added to
test_parallel_coord.pyto check the values that are passed to_add_jitterSteps to Reproduce (original bug)
The bug first appeared in the CI testing the optuna example:
https://app.circleci.com/pipelines/github/skrub-data/skrub/7618/workflows/eef20e21-776e-42d2-b24a-3031c0c05614/jobs/14823