miceforest
miceforest copied to clipboard
Process finished with exit code -1073741571 (0xC00000FD)
Getting this reliably. Chased it down to scipy.Spatial.KDtree. Changing leafsize doesn't help. candidate_preds is float64, shape (294695, 1).
Changing to float32 does nothing. Setting mms = 0.5 fixed the issue. Worried there might be a upper limit to the candidates that KDtree can handle.
Link to scipy issue. Temporary fix is to use balanced_tree=False.
https://github.com/scipy/scipy/issues/14799
Still getting this error for data with lots of duplicate candidate_preds. For anyone getting this error code, run:
impory sys
sys.setrecursionlimit(# dupes)
Where # dupes is some number of duplicate candidate_pred values that are causing the problem.
Another solution is to use a smaller data_subset for the variable that is failing, specifically.