๋ฐ์ดํ„ฐ ๋ถ„์„

๋งฅ๋ถ์—์„œ ์•„๋‚˜์ฝ˜๋‹ค ์ฃผํ”ผํ„ฐ ๋…ธํŠธ๋ถ ์„ธํŒ…ํ•˜๊ธฐ for import xgboost

์ฃผ์˜ ๐Ÿฑ 2022. 8. 30. 13:41
728x90
๋ฐ˜์‘ํ˜•

๋งฅ๋ถ์—์„œ ์ฃผํ”ผํ„ฐ ๋…ธํŠธ๋ถ์„ ์‹คํ–‰ํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” ์•„๋‚˜์ฝ˜๋‹ค ์„ค์น˜๊ฐ€ ํ•„์š”ํ•˜๋‹ค. 

https://www.anaconda.com/products/distribution

 

Anaconda | Anaconda Distribution

Anaconda's open-source Distribution is the easiest way to perform Python/R data science and machine learning on a single machine.

www.anaconda.com

 

์—์„œ ๋‹ค์šด๋กœ๋“œ ์ง„ํ–‰ ํ›„ ์„ค์น˜ํ•ด์ค€๋‹ค.

You cannot install Anaconda in this location ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜๋”๋ผ๋„ Install for me only ์˜ต์…˜์„ ์„ ํƒ ํ›„ ์„ค์น˜ํ•˜๋ฉด ํ•ด๊ฒฐ๋œ๋‹ค.

์„ค์น˜๊ฐ€ ์™„๋ฃŒ๋œ ํ›„ Anaconda navigator ํ”„๋กœ๊ทธ๋žจ์„ ํด๋ฆญํ•˜์—ฌ ์‹คํ–‰ํ•œ๋‹ค. 

 

์ฃผํ”ผํ„ฐ ๋…ธํŠธ๋ถ์˜ Launch ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅธ๋‹ค.

๋ธŒ๋ผ์šฐ์ €์—์„œ ์ฃผํ”ผํ„ฐ ๋…ธํŠธ๋ถ์ด ์—ด๋ฆฌ๊ฒŒ ๋œ๋‹ค.

 

New์—์„œ Python3๋ฅผ ํด๋ฆญํ•˜๋ฉด ์ƒˆ ๋นˆ ๋…ธํŠธ๋ถ์ด ์—ด๋ฆฐ๋‹ค. 

 

xgboost๋Š” ๊ธฐ๋ณธ์ ์œผ๋กœ ๊น”๋ ค ์žˆ์ง€ ์•Š๊ธฐ๋•Œ๋ฌธ์— ํ„ฐ๋ฏธ๋„์—์„œ pip install xgboost๋กœ ์„ค์น˜ํ•œ๋‹ค.

๊ทธ ํ›„ ์ฃผํ”ผํ„ฐ ๋…ธํŠธ๋ถ์—์„œ import xgboost๋ฅผ ์‹คํ–‰ํ•˜๋ฉด ์•„๋ฌด๊ฒƒ๋„ ๋œจ์ง€ ์•Š์œผ๋ฉด ์„ค์น˜์— ์„ฑ๊ณตํ•œ ๊ฒƒ์ด๋‹ค. 

๋ฐ˜์‘ํ˜•

'๋ฐ์ดํ„ฐ ๋ถ„์„' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

[๋ฐ์ดํ„ฐ ๋ถ„์„] pandas ๊ธฐ์ดˆ  (0) 2021.03.22