Open ebolyen opened 7 years ago
For now, we will set a seed in the unit tests to prevent stochastic failure, and revert that commit when this bug is fixed.
PR #60 is in to set the seed @jairideout mentioned. It is possible we won't be able to revert it (if say the solution is to just raise an explanatory error, but we'll learn more later).
One possibility is to have the error message print out a histogram of this perfectly bad split -- there is a chance the user specified the wrong column
Bug Description It appears that it is possible for the visualizer to fail when it finds a "perfectly bad" split of the test and training data.
Expected Behavior @nbokulich says that this is very unlikely to happen, but we should look into reproducing and raising a different error. If a user runs into this, they should be able to just re-run their command.
Screenshots
Test failure/traceback
``` _____________________ EstimatorsTests.test_maturity_index ______________________ self =Comments This is probably going to be difficult to fix.
References It appears