arm ํ๋ก์ธ์ (AWS : gravition2, rhel)์์ ๋ฒ์ 0.23.1์์ ๋ค์๊ณผ ๊ฐ์ ์ค๋ฅ๊ฐ ๋ฐ์ํฉ๋๋ค.
1038 >>> from sklearn.model_selection import train_test_split
1039 >>> X, y = make_classification(random_state=0)
1040 >>> X_train, X_test, y_train, y_test = train_test_split(
1041 ... X, y, random_state=0)
1042 >>> clf = GradientBoostingClassifier(random_state=0)
1043 >>> clf.fit(X_train, y_train)
1044 GradientBoostingClassifier(random_state=0)
1045 >>> clf.predict(X_test[:2])
1046 array([1, 0])
1047 >>> clf.score(X_test, y_test)
Expected:
0.88
Got:
0.84
pytest -v sklearn/ensemble/_gb.py::sklearn.ensemble._gb.GradientBoostingClassifier
PASSED๊ฐ ๋ฐ์ํฉ๋๋ค.
FAILED๊ฐ ๋ฐ์ํฉ๋๋ค.
1047 >>> clf.score(X_test, y_test)
Expected:
0.88
Got:
0.84
System:
python: 3.6.8 (default, Dec 5 2019, 16:02:25) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]
executable: /usr/bin/python3
machine: Linux-4.18.0-193.1.2.el8_2.aarch64-aarch64-with-redhat-8.2-Ootpa
Python dependencies:
pip: 20.1.1
setuptools: 39.2.0
sklearn: 0.23.1
numpy: 1.14.3
scipy: 1.0.0
Cython: 0.29
pandas: 1.0.5
matplotlib: 3.2.1
joblib: 0.14.0
threadpoolctl: 2.1.0
Built with OpenMP: True
Linux-4.18.0-193.1.2.el8_2.aarch64-aarch64-with-redhat-8.2-Ootpa
Traceback (most recent call last):
File "<string>", line 3, in <module>
NameError: name 'Python' is not defined
@ murata-yu ๋ณด๊ณ ์์ ๊ฐ์ฌ๋๋ฆฝ๋๋ค. https://github.com/scikit-learn/scikit-learn/pull/17996 ์์ ์ฌํ ํ ์ ์์ต๋๋ค.
๊ทธ๊ฒ์ด ์ค์ ๋ฌธ์ ๋ฅผ ๋ํ๋ด๋ ๊ฒ์ธ์ง ์์ง ํ์คํ์ง ์๋ค๋ฉด ์ฐ๋ฆฌ๋ ๋จ์ง ๊ด์ฉ์ ์ฆ๊ฐ์์ผ์ผํฉ๋๋ค.
์ฌ์ฉ์ ๊ด์ ์์ 0.8 ๋ฒ์์์ ์ ํ๋ ๋ณํ์ 4 %๋ ์์ ์์น ๋ฐ์ฌ๋ฆผ ๋ถ์ผ์น ์ด์์ผ๋ก ๋ณด์ ๋๋ค. ์กฐ์ฌ ํ ๊ฐ์น๊ฐ ์์ต๋๋ค.
https://github.com/scikit-learn/scikit-learn/pull/17644#issuecomment -663857435์ ์ค๋ช ๋๋๋ก docker / qemu ์ปจํ ์ด๋์ arm64 miniforge ํ๊ฒฝ์์ scikit-learn์ ๋น๋ํ์ฌ ๋ก์ปฌ์์ ๋ฌธ์ ๋ฅผ ์ฌํ ํ ์ ์์ต๋๋ค.