New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specifying dim_contiguous causes seg faults in PatchObliqueForestClassifier #215
Comments
It seems this test works when n_estimators is low, but not when I ramp to
|
I think the issue is isolated to when dim_contiguous=False you can test this with a single tree iterated over 100-1000 different random seeds. It must occur in accessing an index that is not valid in one of two areas:
|
Checklist
main
branch.pip freeze
.Description
When there are non-contiguous dimensions, there are segmentation faults when fitting. See below for example.
Setting
dim_contiguous=(True, True)
runs fine, butdim_contiguous=(False, True)
leads to seg faults.Python traceback:
Related issues or possible duplicates
Environment
OS: Ubuntu
Python version: 3.9.16
scikit-tree version: 0.6.1
Output of
pip freeze
:Steps to reproduce
Example source:
The text was updated successfully, but these errors were encountered: