-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[FIX] Fixes for scikit-learn 1.0 #5608
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5608 +/- ##
=======================================
Coverage 85.96% 85.96%
=======================================
Files 313 313
Lines 65466 65466
=======================================
+ Hits 56275 56277 +2
+ Misses 9191 9189 -2 |
I fixed the failing tests, but can't reproduce core dumps on Mac. Help wanted. |
I merged as is. I tried reproducing the segfaults locally. At first, I could not, but after I installed xgboost (an optional Orange dependency) it reliably segfaults on my 10.14 Mac. I just need to do the following in a fresh virtualenv:
For xgboost to work, you also need libomp. Before trying anything, do @janezd, can you replicate? |
I can. |
Actually, the learner just crashes, always.
|
We may be experiencing dmlc/xgboost#7156: the crash happens at the same point, but if during debugging I change the value of variable Xgboost 1.5.0rc was released 4 days ago, and release is planned for Oct 11. I suggest we wait it out; till then, we can add a (time-bombed) exclusion for xgboost tests on MacOs. |
That was a got find! Let's hope that 1.5 fixes this segfault and perhaps also #5599. |
[FIX] Fixes for scikit-learn 1.0
Issue
Tests fail after release of scikit-learn 1.0.
columns
to distinguish between arrays and pandas frame.Orange.data.Table
also hascolumns
, but with different content, which caused a problem when (incorrectly) passed to scikit.Changes
X
, not the wholeTable
.To be considered:
Orange.data.Table
's propertycolumns
, which contains an instance of this:orange3/Orange/data/table.py
Line 190 in 03e8ada
Includes