-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
BaggingClassifier throws ValueError: WRITEBACKIFCOPY base is read-only #25935
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
Comments
I see that you are using scikit-learn The fact that disabling the parallelism via Could you also provide more information regarding |
Also it seems a duplicate to: #6614 and scipy/scipy#8678, #15924 |
I open scipy/scipy#18192 to try solving the issue. |
Yes, even with 1.2.2 the error still occurs.
|
This comment was marked as off-topic.
This comment was marked as off-topic.
@NeuronXCaliber Your post does not help at solving the bug. I am hiding it. |
I am closing this issue since it should be solved by installing the future SciPy release since scipy/scipy#18192 has been merged |
Describe the bug
When I use the bagging-classifier in conjunction with LinearSVC it throws
ValueError: WRITEBACKIFCOPY base is read-only
whenn_jobs!=1
.Changing
n_jobs
to 1 removes the errorSteps/Code to Reproduce
The issue is that I cannot reproduce this error with e.g iris-data but I can't share the dataset since it's company-classified.
My code is as following:
Expected Results
No error is thrown and it works
Actual Results
The error
ValueError: WRITEBACKIFCOPY
is thrown with the following stack-traceVersions
The text was updated successfully, but these errors were encountered: