Skip to content

Conversation

@guitargeek
Copy link
Contributor

Backport of #15183.

@guitargeek guitargeek self-assigned this Apr 15, 2024
@guitargeek guitargeek changed the title Xgboost v628 [v628][CI] Add xgboost and scikit-learn to requirements Apr 15, 2024
@lmoneta
Copy link
Member

lmoneta commented Apr 15, 2024

Can you just add the two commits fixing the test? I have #15236 adding already xgboost and scikit-learn

@github-actions
Copy link

Test Results

    12 files      12 suites   2d 4h 19m 42s ⏱️
 2 540 tests  2 536 ✅ 0 💤 4 ❌
28 437 runs  28 433 ✅ 0 💤 4 ❌

For more details on these failures, see this check.

Results for commit 57b121e.

  * avoid warnings with opened file that is not closed

  * don't assume the number of features is in the `_features_count`
    attribute (that one doesn't exist with xgboost 2.0)

  * support the `"reg:squarederror"` target, which is the default
    regression target in xgboost 2.0
XGBoost has to be imported before ROOT to avoid crashes because of clashing
std::regexp symbols that are exported by cppyy.
See also: wlav/cppyy#227
@guitargeek guitargeek merged commit 1bf3d5a into root-project:v6-28-00-patches Apr 15, 2024
@guitargeek guitargeek deleted the xgboost_v628 branch April 15, 2024 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants