๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ74

4/23 ํ•ด๋ดค๋˜ ๊ฒƒ ์ •๋ฆฌ 1. RMDL ์ ์šฉ ์‹œ๋„ Colab์— pip ์„ค์น˜ํ•ด ํ•˜๋‹ค๊ฐ€ checkpoint ๊ฒฝ๋กœ ๋ฐ”๊ฟ”๋ณด๋ ค๊ณ  ๋‚ด ๊นƒํ—™์— forkํ•˜๊ณ  ๊ฒฝ๋กœ ๊ณ ์ณ์„œ ์ปค๋ฐ‹ํ•œ ๋‹ค์Œ git cloneํ•จ (pip ์„ค์น˜ํ•˜๊ณ ๋„ ์ฝ”๋“œ๋ฅผ ์ˆ˜์ •ํ•  ์ˆ˜ ์žˆ๋Š” ์ง€๋Š” ๋ชจ๋ฅด๊ฒ ์Œ..) https://stackoverflow.com/questions/49322072/checkpoints-in-google-colab : ์ด๊ฑฐ ๋ณด๋ฉด checkpoint ๊ฒฝ๋กœ๋ฅผ /gdrive ๋‚ด๋กœ ๋ฐ”๊ฟ”๋„ ์•ˆ ๋  ์ˆ˜๋„ ์žˆ์„ ๊ฒƒ ๊ฐ™์Œ (๋ฌผ๋ก  mount ํ›„์—..) https://research.google.com/colaboratory/local-runtimes.html : Colab ๋กœ์ปฌ ๋Ÿฐํƒ€์ž„ ๊ด€๋ จ document. ๋กœ์ปฌ์—์„œ ์ฝ”๋“œ๋ฅผ ์‹คํ–‰ํ•˜๊ณ  ๋กœ์ปฌ ํŒŒ์ผ ์‹œ์Šคํ…œ์— ์—‘์„ธ์Šคํ•  ์ˆ˜ ์žˆ๋‹ค๊ณ  ํ•จ. ๋‹จ์ .. 2020. 4. 24.
Spark/Hadoop ์ด์šฉํ•  CentOS VM ์„ธํŒ…ํ•˜๊ธฐ CentOS์—์„œ Spark์™€ Hadoop์„ ์ด์šฉํ•ด ๋น…๋ฐ์ดํ„ฐ๋ฅผ ๋ถ„์„ํ•˜๋Š” ์‹ค์Šต์„ ํ•˜๊ธฐ ์œ„ํ•ด์„œ... VM์„ ์„ธํŒ…ํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด์„œ ์ •๋ฆฌํ•œ๋‹ค. ๋Œ์•„๋ณด๋ฉด ๋ณ„ ๊ฑฐ ์•„๋‹Œ๋ฐ ํ•˜๋ฃป๋ฐค์„ ์ƒˆ๊ณ  ๋‚˜์„œ์•ผ ์•Œ๊ฒŒ ๋˜์—ˆ๋‹ค. ๋ฏธ๋ฆฌ ๊ฒฐ๋ก ๋ถ€ํ„ฐ ๋งํ•˜์ž๋ฉด.. RAM=4GB, Disk=20GB์ด์ƒ, Cores=8๋กœ VM์„ ์„ธํŒ…ํ•˜์ž. (Cores๋Š” Multi-threading ์ด์šฉํ•  ๊ฒฝ์šฐ) VMWare ์‚ฌ์‹ค Window์—์„œ ์‹ค์Šต์„ ์ง„ํ–‰ํ•ด๋„ ๋๋Š”๋ฐ, Linux ๊ธฐ๋ฐ˜์œผ๋กœ ํ•ด๋ณด๋Š”๊ฒŒ ๋‚ซ์ง€ ์•Š์„๊นŒ ์‹ถ์–ด์„œ VM์— CentOS๋ฅผ ์˜ฌ๋ฆฌ๊ธฐ๋กœ ํ–ˆ๋‹ค. (CentOS๋Š” ์ฒ˜์Œ ์จ๋ณด๋Š” ๊ฑฐ๊ธฐ๋„ ํ•˜๊ณ ..) ์ต์ˆ™ํ•œ VirtualBox๋ฅผ ์‚ฌ์šฉํ•˜๋ ค๊ณ  ํ–ˆ๋Š”๋ฐ.. ์ด์ƒํ•˜๊ฒŒ (๋ช‡ ๋‹ฌ ์ „๋ถ€ํ„ฐ?) VM์ด ์‹œ์ž‘์ด ์•ˆ ๋˜๊ณ  ์˜ค๋ฅ˜๊ฐ€ ์žˆ์–ด์„œ ๊ฒฐ๊ตญ ํฌ๊ธฐํ–ˆ๋‹ค. ๋ฐœ์ƒํ•œ ์˜ค๋ฅ˜๋Š” ์—ฌ๊ธฐ์„œ ๋‚œ ์˜ค๋ฅ˜๋ž‘ ๊ฐ™์€.. 2020. 4. 16.
๊ฐœ๋ฐœ์ž ์ด๋ ฅ์„œ/ํฌํŠธํด๋ฆฌ์˜ค ๋ณดํ˜ธ๋˜์–ด ์žˆ๋Š” ๊ธ€ ์ž…๋‹ˆ๋‹ค. 2020. 3. 31.
NLP Encoding (wikidocs) Integer encoding - ๋‹จ์–ด ์ง‘ํ•ฉ(vocab)์˜ ๋‹จ์–ด์— ๊ณ ์œ ํ•œ ์ˆซ์ž๋ฅผ ๋ถ€์—ฌ - ๋ฐฉ๋ฒ•: python dictionary, Counter, NLTK FreqDist, Keras preprocessing.text 1) sentence/word tokenization, cleaning, normalization 2) key=๋‹จ์–ด, value=๋นˆ๋„์ˆ˜๋กœ ํ•˜์—ฌ ๋‹จ์–ด ์ง‘ํ•ฉ์„ ๋งŒ๋“ค๊ณ  ๋นˆ๋„์ˆ˜ ์ˆœ์œผ๋กœ ์ •๋ ฌ 3) ๋นˆ๋„์ˆ˜๊ฐ€ ๋†’์€ ๋‹จ์–ด๋ถ€ํ„ฐ ๋‚ฎ์€ ์ •์ˆ˜ ์ธ๋ฑ์Šค๋ฅผ ๋ถ€์—ฌ 4) ๋นˆ๋„์ˆ˜๊ฐ€ ์ ์€ ๋‹จ์–ด๋ฅผ ๋‹จ์–ด ์ง‘ํ•ฉ์—์„œ ์ œ์™ธํ•  ์ˆ˜ ์žˆ์Œ 5) ์ž์—ฐ์–ด ์ƒํƒœ์˜ ๋‹จ์–ด๋ฅผ ์ •์ˆ˜ ์ธ๋ฑ์Šค๋กœ ๋ณ€ํ™˜ - ์ •์ˆ˜ ์ธ๋ฑ์Šค๋กœ ๋ณ€ํ™˜ํ•˜๋Š” ๊ณผ์ •์—์„œ OOV๊ฐ€ ์žˆ์„ ์ˆ˜ ์žˆ์Œ - OOV(Out-Of-Vocabulary): ๋‹จ์–ด ์ง‘ํ•ฉ์— ์กด์žฌํ•˜์ง€ ์•Š๋Š” ๋‹จ์–ด (๋นˆ๋„์ˆ˜๊ฐ€ ์ ์–ด .. 2020. 3. 19.