Skip to content

maximum recursion depth exceeded #2

@laetella

Description

@laetella

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions