Skip to content
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

Build time test issue on arm64 and ppc64el #23901

Open
tillea opened this issue Jul 15, 2022 · 0 comments
Open

Build time test issue on arm64 and ppc64el #23901

tillea opened this issue Jul 15, 2022 · 0 comments
Labels
arch:arm ARM related issues Bug module:test-suite everything related to our tests

Comments

@tillea
Copy link

tillea commented Jul 15, 2022

Describe the bug

The Debian autobuilders catched a build time test error for the architectures arm64 and ppc64el.

This relates to issue #22503 but that was reported against version 1.0.2. I created a new issue since it now links to the recent build logs of your latest version.

Steps/Code to Reproduce

If you have access to arm64 or ppc64el architectures try to build the code and run the test suite.

Expected Results

See linked logs.

Actual Results

If you browse the end of the logs I've linked above both architectures are ending up with the following test suite error:

=================================== FAILURES ===================================
________ [doctest] sklearn.ensemble._weight_boosting.AdaBoostRegressor _________
1026     Examples
1027     --------
1028     >>> from sklearn.ensemble import AdaBoostRegressor
1029     >>> from sklearn.datasets import make_regression
1030     >>> X, y = make_regression(n_features=4, n_informative=2,
1031     ...                        random_state=0, shuffle=False)
1032     >>> regr = AdaBoostRegressor(random_state=0, n_estimators=100)
1033     >>> regr.fit(X, y)
1034     AdaBoostRegressor(n_estimators=100, random_state=0)
1035     >>> regr.predict([[0, 0, 0, 0]])
Expected:
    array([4.7972...])
Got:
    array([5.74049295])

The fact that the error is absolutely identical for am64 and ppc64el lets me assume that there is really an issue on non-amd64 64 bit architectures.

Versions

The packaged version ofscikit-learn which belongs to the linked autobuilder logs is 1.1.1
@tillea tillea added Bug Needs Triage Issue requires triage labels Jul 15, 2022
@thomasjpfan thomasjpfan added arch:arm ARM related issues module:test-suite everything related to our tests and removed Needs Triage Issue requires triage labels Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch:arm ARM related issues Bug module:test-suite everything related to our tests
Projects
None yet
Development

No branches or pull requests

2 participants