CoverTree icon indicating copy to clipboard operation
CoverTree copied to clipboard

maximum recursion depth exceeded

Open laetella opened this issue 5 years ago • 0 comments

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?

laetella avatar May 28 '19 02:05 laetella