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

Midabo   
   Á¶È¸ 11850   Ãßõ 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
2017-07   31142   ¼¼¹ú½­
2017-07   31814   ¼¼¹ú½­
2017-07   240435   ¼¼¹ú½­
2017-07   41905   ¼¼¹ú½­
2017-07   556022   ¼¼¹ú½­
2017-07   39184   ¼¼¹ú½­
2017-07   44437   ¼¼¹ú½­
2017-07   47267   ¼¼¹ú½­
2017-07   50140   ¼¼¹ú½­
2017-08   48934   DDAYs
2017-09   47973   À̼±È£
2017-09   42913   ÇãÀα¸¸¶Æ¾
2017-11   41448   ¿¥ºê¸®¿À
2017-11   42288   NGC
2017-12   42991   Â÷³ÝÄÄÇ»ÅÍ
2017-12   40369   ¾Æ±¸¸£¸£
2017-12   42039   Â÷³ÝÄÄÇ»ÅÍ
2018-01   35592   catstyle
2018-02   30430   °£Àå°ÔÀå
2018-02   26858   ¹«¾Æ