Raspberry 3 b+ ¿¡ xgboost ¼³Ä¡±â

Midabo   
   Á¶È¸ 10904   Ãßõ 0    

Python 에 Machine Learning package 중 xgboost 라는 그라디언트 부스팅 라이브러리가 있습니다.

최근 xgboost 로 training 된 모델을 서빙할 서버를 알아보던 중 라즈베리파이가 가능할 것 같아서 3 b+ 버전을 영입하였습니다.


OS : Raspbian Stretch Lite ( CLI 버전입니다. )

https://www.raspberrypi.org/downloads/raspbian/ 

install guide : https://www.raspberrypi.org/documentation/installation/installing-images/README.md 


이후 로그인 하고 다음과 같이 업데이트 및 라이브러리를 설치합니다.

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install python3-pip python3-numpy python3-scipy git python-setuptools

이 후에 git cloning 을 하고요

git clone --recursive https://github.com/dmlc/xgboost

# stackoverflow 등에 Makefile 에서 msse3 옵션을 끄라고 되어 있으나, xgboost 0.83 버전 에서는 안해도 설치가 됩니다.


클론된 xgboost 디렉터리로 이동하여서

make -j4 


컴파일이 완료되면

xgboost/python-package 로 이동하여서

sudo python3 setup.py install

입력하여 라이브러리 설치를 완료합니다.


웹서빙은 django 로 하고 있습니다.






Á¦¸ñPage 13/28
2016-05   18453   ±èȲÁß
2019-06   16396   ¹Ú¹®Çü
2019-08   14317   °Å´Ï½ºÆ®
2020-04   13735   ¸¸¼®±º
2015-07   15040   ºÐ³ëÀÇ´Ù¿îÈú
2016-05   20519   ºÐ³ëÀÇ´Ù¿îÈú
2021-02   10835   µö·¯´×¼­¹ö
2015-07   13309   ȸ¿øK
2015-08   12295   QS¿ÕÅëÅ°¼Õ¡¦
2017-09   46741   À̼±È£
2015-08   13597   QS¿ÕÅëÅ°¼Õ¡¦
2016-06   10802   QS¿ÕÅëÅ°¼Õ¡¦
2016-10   15608   stone92±è°æ¹Î
2020-05   13614   isaiah
2013-05   122206   MikroTikÀÌÁø
2016-10   17416   Å×Å©ÀξÆÆ®21
2016-10   19138   À¯µ¿ÈÆ
2019-10   13186   NeOpLE
2023-08   56368   µö·¯´×¼­¹ö
2016-06   10123   ÇüÀ̾ä