๐ข importerror: No module named 'xgboost' ํด๊ฒฐ๋ฐฉ์
XGBoost๋ Gradient Boosting ์๊ณ ๋ฆฌ์ฆ์ ๋ถ์ฐํ๊ฒฝ์์๋ ์คํํ ์ ์๋๋ก ๊ตฌํํด๋์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ด๋ค.
Regression, Classification ๋ฌธ์ ๋ฅผ ๋ชจ๋ ์ง์ํ๋ฉฐ, ์ฑ๋ฅ๊ณผ ์์ ํจ์จ์ด ์ข์์, ์ธ๊ธฐ ์๊ฒ ์ฌ์ฉ๋๋ ์๊ณ ๋ฆฌ์ฆ์ด๋ค.
์๋ ์ฝ๋์ฒ๋ผ XGBoost๋ชจ๋ธ์ importํ ๋ ์ค์น๋ฅผ ๋ฏธ๋ฆฌํด์ฃผ์ด์ผํ๋ค.
๊ทธ๋ ์ง ์์ผ๋ฉด importerror๊ฐ ๋ฐ์ํ๋ค.
๊ฐ๋จํ๊ฒ pip install xgboost ๋ฅผ ์ฌ์ฉํ๋ ๊ฒ์ผ๋ก ํด๊ฒฐ๊ฐ๋ฅํ๋ค.
pip install xgboost๋ฅผ ๋จผ์ ์คํํ๊ณ ์ฝ๋๋ฅผ ์คํํ๋ฉด ๋๋ค.
์๊ฐ์ 1๋ถ~5๋ถ์ ๋ ๊ฑธ๋ฆด ์ ์๋ค.
๋๊ธ