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

Midabo   
   Á¶È¸ 10400   Ãßõ 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 12/28
2016-06   10819   ±èȲÁß
2015-08   36112   witbox
2015-08   22244   ±èÀºÈ£
2019-07   14940   ½ºÄµl¹ÎÇö±â
2023-07   54303   µö·¯´×¼­¹ö
2014-02   13894   ºü½Ã¿Â
2014-11   31902   ä¼±ÀÏ
2020-06   8724   ĵÀ§µå
2021-03   12837   ¹Ú¹®Çü
2023-08   57824   µö·¯´×¼­¹ö
2014-02   12754   ±è¿µÀÛ
2016-10   16817   stone92±è°æ¹Î
2021-03   13297   µö·¯´×¼­¹ö
2018-11   13921   ¼ÛÁÖȯ
2014-11   29128   ±èȲÁß
2015-08   52657   ÁÒ¯
2016-10   17069   Å×Å©ÀξÆÆ®21
2015-08   31449   witbox
2016-10   18777   À¯µ¿ÈÆ
2019-10   12578   NeOpLE