maximum recursion depth exceeded
Opened this issue · 0 comments
laetella commented
When I test this method on UCI dataset:banknote-authentication, there is an error:
File "../utils\covertree.py", line 319, in construct
so_so_near_p_ds, i - 1)
[Previous line repeated 979 more times]
File "../utils\covertree.py", line 317, in construct
child_d[i - 1], child_d[i], near_p_ds)
RecursionError: maximum recursion depth exceeded
when I set the recursion limit use:
import sys
sys.setrecursionlimit(100000)
The python stop to work. Is there a way to solve this question?