Loading...
2019. 11. 2. 14:42

[React.ts] React๋ฅผ Typescript๋กœ ์‹œ์ž‘ํ•ด๋ณด๊ธฐ - ๊ฐœ๋ฐœ ํ™˜๊ฒฝ ๊ตฌ์„ฑ

์•ˆ๋…•ํ•˜์„ธ์š”. Typescript๋กœ ์‹œ์ž‘ํ•˜๋Š” ์ฒซ ๊ธ€์ž…๋‹ˆ๋‹ค. Typescript์˜ ์ฒซ ์‹œ์ž‘์„ React ํ”„๋กœ์ ํŠธ๋กœ ์‹œ์ž‘ํ•˜๊ฒŒ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ๊ทธ ์ด์œ ๋Š” ์ œ๊ฐ€ ์ด๋ฒˆ์— ๋ฉ”์ธ ํ™ˆํŽ˜์ด์ง€๋ฅผ ๋‹ค์‹œ ๋ฆฌ๋‰ด์–ผ ํ•˜๊ฒŒ ๋˜๋ฉด์„œ ์ง€๋‚œ 2๋…„ ๋™์•ˆ ์‚ฌ์šฉํ•˜์ง€ ์•Š์•˜๋˜ React๋ฅผ ๋‹ค์‹œ ์‹œ์ž‘ํ•˜๊ฒŒ ๋˜์—ˆ๋Š”๋ฐ์š”. ๋น„๋ก ๋งŒ๋“œ๋Š” ์ž ๊น ๋™์•ˆ์ด์—ˆ์ง€๋งŒ ๋ฐฐ์›€๊ณผ ๊ฐ™์ด ๋”๋ถˆ์–ด ์ง„ํ–‰ํ•˜๊ฒŒ ๋˜์—ˆ๊ธฐ ๋•Œ๋ฌธ์— React์˜ ๋ณ€๊ฒฝ์ ๋„ ๊ฐ™์ด ์‚ดํŽด๋ด„๊ณผ ๋”๋ถˆ์–ด์„œ ์ด๋ฒˆ์—๋Š” Typescript๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ฐœ๋ฐœํ•˜๊ฒŒ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. Create react app React๋ฅผ ๋น ๋ฅด๊ฒŒ ์‹œ์ž‘ํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•์œผ๋กœ create-react-app์„ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์ด ์žˆ์Šต๋‹ˆ๋‹ค. Typescript๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ๋„ ์—ญ์‹œ ์ด ๋ช…๋ น์–ด๋กœ ์‰ฝ๊ณ  ํ•œ ๋ฒˆ์— ๊ตฌ์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. $ create-react-app [app..

2019. 9. 29. 10:09

[GP] Junit5๋ฅผ ์‚ฌ์šฉํ•œ Java ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ์ž‘์„ฑ

์ด ๊ธ€์€ N.K Dev Lab์—์„œ ์ž‘์„ฑ๋œ ๊ธ€์ž…๋‹ˆ๋‹ค. ์•ˆ๋…•ํ•˜์„ธ์š”. ์˜ค๋Š˜์€ ์œ ๋‹› ํ…Œ์ŠคํŠธ์— ๋Œ€ํ•œ ์ด์•ผ๊ธฐ๋ฅผ ํ•ด๋ณด๊ณ ์ž ํ•ฉ๋‹ˆ๋‹ค. ํ”„๋กœ๊ทธ๋ž˜๋ฐ ํ•˜๋‹ค๋ณด๋ฉด ์ž์‹ ์ด ์ž‘์„ฑํ•œ ์ฝ”๋“œ๊ฐ€ ์›ํ•˜๋Š” ํ˜•ํƒœ๋กœ ์ž‘์„ฑ๋˜์—ˆ๋Š”์ง€ ์•ˆ๋˜์—ˆ๋Š”์ง€๋ฅผ ํ…Œ์ŠคํŠธํ•ด๋ณด๊ณ  ์‹ถ์„ ๋•Œ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. ์ €๋Š” ์ฒ˜์Œ ํ”„๋กœ๊ทธ๋ž˜๋ฐ์„ GUI ํ”„๋กœ๊ทธ๋ž˜๋ฐ์œผ๋กœ ํ–ˆ๋‹ค๋ณด๋‹ˆ ๊ทธ ๊ฒฐ๊ณผ๋ฅผ ๋ณดํ†ต ๋ˆˆ์œผ๋กœ ํ™•์ธํ•˜๊ณค ํ–ˆ์Šต๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ CLI ํ”„๋กœ๊ทธ๋ž˜๋ฐ์„ ํ•˜๋‹ค๋ณด๋ฉด ์›ํ•˜๋Š” ๊ฒฐ๊ณผ๊ฐ€ ๋‚˜์˜ค๋Š”์ง€ ์•ˆ๋‚˜์˜ค๋Š”์ง€ ์ผ์ผ์ด ์†์œผ๋กœ ์ž…๋ ฅํ•˜๊ณ  ๊ฒฐ๊ณผ๋ฅผ ๋ณธ๋‹ค๋Š” ๊ฒƒ์ด ์‰ฝ์ง€๋งŒ์€ ์•Š์Šต๋‹ˆ๋‹ค. ๊ทธ๋Ÿด ๋•Œ ์œ ๋‹› ํ…Œ์ŠคํŠธ๋ฅผ ์‚ฌ์šฉํ•ด๋ณด์„ธ์š”. What is Unit Test ?๊ทธ๋ ‡๋‹ค๋ฉด ์œ ๋‹› ํ…Œ์ŠคํŠธ๋Š” ๋ฌด์—‡์ธ๊ฐ€์š”? ์œ ๋‹› ํ…Œ์ŠคํŠธ๋Š” ์ปดํ“จํ„ฐ ํ”„๋กœ๊ทธ๋ž˜๋ฐ์—์„œ ์†Œ์Šค ์ฝ”๋“œ์˜ ํŠน์ • ๋ชจ๋“ˆ์ด ์˜๋„๋Œ€๋กœ ์ •ํ™•ํžˆ ์ž‘๋™ํ•˜๋Š”์ง€ ๊ฒ€์ฆํ•˜๋Š” ์ผ๋ จ์˜ ์ ˆ์ฐจ ๊ณผ์ •์ž…๋‹ˆ๋‹ค. ์ข€ ๋” ์ž์„ธํ•œ ์„ค๋ช…์„ ..

2019. 8. 27. 17:19

Github Actions - React ํ”„๋กœ์ ํŠธ๋ฅผ Firebase์— Deploy ํ•˜๊ธฐ

Actions ๋งˆ์ง€๋ง‰ ํฌ์ŠคํŠธ๋กœ React ํ”„๋กœ์ ํŠธ๋ฅผ Firebase์— Deploy ํ•˜๋Š” ๊ธ€์„ ์จ๋ณด๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. ์šฐ๋ฆฌ๋Š” ์ง€๋‚œ ํฌ์ŠคํŠธ์—์„œ YAML ํŒŒ์ผ์„ ๊ฐ€์ง€๊ณ  ๊ฐ„๋‹จํ•œ Workflow์™€ Matrix์™€ Secrets ๋“ฑ์˜ ํ™˜๊ฒฝ ๋ณ€์ˆ˜๊นŒ์ง€๋ฅผ ๋‹ค๋ค„๋ดค์Šต๋‹ˆ๋‹ค. ์ด๋ฒˆ ๊ธ€์—์„œ๋Š” ๊ธฐ๋ณธ์ ์œผ๋กœ Google Firebase์— ๋Œ€ํ•œ ๊ธฐ๋ณธ์ ์ธ ์ง€์‹์ด ์žˆ๋Š” ์ƒํƒœ์—์„œ ์ง„ํ–‰์„ ํ•˜๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. Firebase์˜ ์ฒ˜์Œ๋ถ€ํ„ฐ ์‹œ์ž‘ํ•˜๊ฒŒ ๋˜๋ฉด ๊ธ€์ด ๊ธธ์–ด์ง€๊ธฐ ๋•Œ๋ฌธ์—, ๊ฐ„๋‹จํ•˜๊ฒŒ ์š”์ ๋งŒ ์งš๊ณ  ๋„˜์–ด๊ฐ€๊ธฐ ์œ„ํ•ด์„œ Firebase์˜ ๊ธฐ๋ณธ ํ™˜๊ฒฝ์ด ์ด๋ฏธ ๊ตฌ์ถ•๋œ ์ƒํƒœ์—์„œ ์ง„ํ–‰ํ•˜๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. Generate and Register Firebase Token ๋ฐฐํฌ ๋„๊ตฌ๋กœ Google Firebase์—์„œ ๊ณต์‹์ ์œผ๋กœ ์ œ๊ณตํ•˜๋Š” firebase-tools๋ฅผ ํ•œ ๋ฒˆ ..

2019. 8. 26. 14:10

Github Actions - Matrix & Secrets

์ด๋ฒˆ์—๋Š” Matrix๋ฅผ ํ™œ์šฉํ•˜์—ฌ ๋‹ค์ค‘ OS ํ™˜๊ฒฝ, ๋‹ค์–‘ํ•œ ๋ฒ„์ „์˜ ์–ธ์–ด, ํ”„๋ ˆ์ž„์›Œํฌ ๋“ฑ์„ ํ™œ์„ฑํ™” ์‹œํ‚ค๋Š” ์›Œํฌํ”Œ๋กœ์šฐ๋ฅผ ์ž‘์„ฑํ•ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. Matrix Matrix๋Š” Array์™€ ์œ ์‚ฌํ•ฉ๋‹ˆ๋‹ค. YAML์—์„œ๋Š” ํŠน์ • ๋ณ€์ˆ˜๋ฅผ ์„ ์–ธํ•  ์ˆ˜ ์žˆ๋Š”๋ฐ, ์ด๋ฅผ ๋ณต์ˆ˜๊ฐœ๋กœ ์„ ์–ธํ•˜๊ณ  ์‹ถ์„ ๊ฒฝ์šฐ์—๋Š” Matrix๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์•„๋งˆ ๊ธฐ์กด์˜ Travis CI๋ฅผ ์จ๋ณด์‹  ๋ถ„๋“ค์ด๋ผ๋ฉด ์ต์ˆ™ํ•  ๊ฒƒ์ž…๋‹ˆ๋‹ค. name: Practice actions on: push: branches: - master pull_request: branches: - master jobs: build: runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: python-version: [2.7, 3.5, 3.6, 3.7..

2019. 8. 24. 17:23

Github Actions - ๊ฐ„๋‹จํ•œ ์›Œํฌํ”Œ๋กœ์šฐ ์ƒ์„ฑํ•ด๋ณด๊ธฐ

์ง€๋‚œ ํฌ์ŠคํŠธ์—์„œ Github Actions์— ๋Œ€ํ•œ ๊ฐ„๋‹จํ•œ ์‚ฌ์šฉ๊ณผ ๊ธฐ๋Šฅ์„ ์†Œ๊ฐœํ•˜๋Š” ์‹œ๊ฐ„์„ ๊ฐ€์กŒ์—ˆ๋Š”๋ฐ์š”. ์ด๋ฒˆ์—๋Š” ์ง์ ‘ Github Actions๋ฅผ ์‚ฌ์šฉํ•ด ์›Œํฌํ”Œ๋กœ์šฐ๋ฅผ ์ž๋™ํ™”ํ•˜๋Š” ๊ฒƒ์„ ํ•ด๋ณด๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. Start ๋จผ์ € ๋ ˆํฌ์ง€ํ„ฐ๋ฆฌ๋ฅผ Actions๋ฅผ ์‚ฌ์šฉํ•˜๊ณ ์ž ํ•˜๋Š” ํ”„๋กœ์ ํŠธ๋ฅผ clone ํ•˜๋„๋ก ํ•˜์ฃ . $ git clone [Repository] ํด๋ก ํ•œ ๋ ˆํฌ์ง€ํ„ฐ๋ฆฌ์— ์•„๋ž˜์˜ ๋””๋ ‰ํ„ฐ๋ฆฌ๋ฅผ ํ•œ ๊ฐœ ๋งŒ๋“ค์–ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. $ mkdir -p .github/workflows Actions๋ฅผ ์‚ฌ์šฉํ•˜๋ ค๋ฉด ๋จผ์ € Workflow๋ฅผ ์ฝ์„ ์ˆ˜ ์žˆ๋Š” ๊ฒฝ๋กœ๊ฐ€ ํ•„์š”ํ•œ๋ฐ, ์ด ๊ฒฝ๋กœ๊ฐ€ ๋ฐ”๋กœ .github ๋””๋ ‰ํ„ฐ๋ฆฌ์ž…๋‹ˆ๋‹ค. $ touch main.yml ๊ทธ๋ฆฌ๊ณ  main.yml ๋ผ๋Š” ์ด๋ฆ„์˜ ํŒŒ์ผ์„ ํ•œ ๊ฐœ ๋งŒ๋“ค์–ด์ค๋‹ˆ๋‹ค. ์ด๊ฒƒ์ด ์ด ๋ ˆํฌ์ง€ํ„ฐ๋ฆฌ์—์„œ Mai..

2019. 8. 24. 11:38

Github Actions ๋“œ๋””์–ด ํ™œ์„ฑํ™” ๋˜๋‹ค.

์•ˆ๋…•ํ•˜์„ธ์š”. ์˜ค๋Š˜์€ Github Actions์— ๋Œ€ํ•ด ์†Œ๊ฐœํ•˜๊ณ ์ž ํ•ฉ๋‹ˆ๋‹ค. Github Actions๋Š” Github์—์„œ ์ œ๊ณตํ•˜๋Š” ์›Œํฌํ”Œ๋กœ์šฐ ์ž๋™ํ™” ์‹œ์Šคํ…œ์œผ๋กœ ๊ธฐ์กด์—๋Š” ์ด๋ฅผ ๋Œ€์ฒดํ•˜๊ธฐ ์œ„ํ•ด Travis CI, Circle CI ๋“ฑ์˜ 3rd Party ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ์‚ฌ์šฉํ–ˆ์—ˆ์Šต๋‹ˆ๋‹ค. Github Actions Features • GitHub Actions Easily build, package, release, update, and deploy your project in any language—on GitHub or any external system—without having to run code yourself. github.com ํ˜„์žฌ Github Actions๋Š” Beta ๊ธฐ๋Šฅ์œผ๋กœ ์ œ๊ณต๋˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ๊ฐ ..

2019. 8. 22. 16:06

GCP ์ž๊ฒฉ์ฆ ํ›„๊ธฐ - Google Certified Professional Cloud Architect

์•ˆ๋…•ํ•˜์„ธ์š”. ์˜ค๋Š˜์€ Google Cloud Platform ์ž๊ฒฉ์ฆ์— ๋Œ€ํ•ด์„œ ์ด์•ผ๊ธฐํ•˜๊ณ ์ž ํ•ฉ๋‹ˆ๋‹ค. 2๊ฐœ์›” ์ „, ์ €๋Š” Google์—์„œ ์ฃผ์ตœํ•œ Study Jam์— ์ฐธ๊ฐ€ํ•˜๊ฒŒ ๋˜์—ˆ๋Š”๋ฐ์š”. What is Google Study Jam ? ๊ตฌ๊ธ€ ์Šคํ„ฐ๋””์žผ์€ ๊ตฌ๊ธ€์—์„œ ์ง„ํ–‰ํ•˜๋Š” ์Šคํ„ฐ๋”” ์ง€์› ์ค‘์— ํ•˜๋‚˜๋กœ 2019๋…„์—๋Š” Machine Learning, Cloud Platform์„ ์ค‘์‹ฌ์œผ๋กœ ์Šคํ„ฐ๋””๊ฐ€ ์ง„ํ–‰๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์—ฌ๊ธฐ์„œ ์ €๋Š” ML Experienced์™€ Cloud Advanced ๊ณผ์ •์— ์ฐธ์—ฌํ•˜์˜€์Šต๋‹ˆ๋‹ค. Why Join 2๊ฐœ์›” ์ „, ํ•œ์ฐฝ Keras์™€ TensorFlow๋ฅผ ์žฌ๋ฏธ์žˆ๊ฒŒ ํ•˜๊ณ  ์žˆ์„ ๋•Œ์˜€์Šต๋‹ˆ๋‹ค. Image Classification์„ ๊ตฌํ˜„ํ•˜๊ณ ์ž CNN์„ ๊ตฌํ˜„ํ•˜๊ณ  Keras๋กœ ๋Ÿฌ๋‹์„ ๋Œ๋ ธ๊ณ , ์ด ๋•Œ๋Š” ์ง์ ‘ ๊ตฌ์ž…ํ•œ ์„œ๋ฒ„๋ฅผ ..

[GP] C++์—์„œ Map์— ๋Œ€ํ•ด ์•Œ์•„๋ณด์ž

์ด ๊ธ€์€ N.K Dev Lab์—์„œ ์ž‘์„ฑ๋œ ๊ธ€์ž…๋‹ˆ๋‹ค. ์•ˆ๋…•ํ•˜์„ธ์š”. ์˜ค๋Š˜์€ C++ STL์— ๋Œ€ํ•œ ๊ธ€์„ ์จ๋ณด๋ ค ํ•ฉ๋‹ˆ๋‹ค. ๋ณธ๋ž˜ ์ €๋Š” STL๊ณผ ๊ฐ™์€ ๊ธฐ๋ณธ์ ์ธ ๊ธ€์€ ์ž˜ ์“ฐ์ง€ ์•Š์œผ๋ ค ํ–ˆ์Šต๋‹ˆ๋‹ค. ์›Œ๋‚™ Documentation๋„ ์ž˜ ๋˜์–ด ์žˆ๋Š” ํŽธ์ด๊ณ , ๋ธ”๋กœ๊ทธ์˜ ๊ธ€ ์ฃผ์ œ๋กœ ์“ฐ๊ธฐ์—๋Š” ์ ํ•ฉํ•˜์ง€ ์•Š๋‹ค๊ณ  ์ƒ๊ฐํ–ˆ์Šต๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ์˜ค๋Š˜ ์ด ๊ธ€์„ ์“ฐ๊ฒŒ ๋œ ๊ณ„๊ธฐ๋Š” ์ œ๊ฐ€ ์•Œ๊ณ ๋ฆฌ์ฆ˜ ํ’€์ด๋ฅผ ๋ช‡ ๋ฒˆ ์ง„ํ–‰ํ•˜๋ฉด์„œ ์ œ๊ฐ€ ์ฃผ๋กœ ์“ฐ๊ณ  ์žˆ๋Š” Java ์–ธ์–ด์™€ ๋‹ค์†Œ ์ฐจ์ด๊ฐ€ ์žˆ๋Š” ๊ฒƒ์œผ๋กœ ํ™•์ธ์ด ๋œ ์ž๋ฃŒ๊ตฌ์กฐ๊ฐ€ ๋ช‡ ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๋ž˜์„œ ๊ฐ ์–ธ์–ด์—์„œ ๋น„์Šทํ•œ ์ž๋ฃŒ๊ตฌ์กฐ์˜ ํ˜•ํƒœ๊ฐ€ STL์ด๋‚˜ API๋กœ ์ง€์›๋œ๋‹คํ•˜๋”๋ผ๋„ ์–ธ์–ด์— ๋”ฐ๋ผ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์ด๋‚˜ ๊ฐ ํ•จ์ˆ˜๋“ค์— ๋Œ€ํ•œ ๊ธฐ๋Šฅ์— ๋Œ€ํ•ด์„œ๋Š” ์งš๊ณ  ๋„˜์–ด๊ฐ€์•ผ ํ•  ํ•„์š”๊ฐ€ ์žˆ๋‹ค๊ณ  ๋Š๊ผˆ์Šต๋‹ˆ๋‹ค. What is STL ?STL์€ C++์—์„œ ์ œ๊ณตํ•˜๋Š”..

2019. 7. 29. 13:25

GraalVM - R๊ณผ Java ์‚ฌ์ด

์•ˆ๋…•ํ•˜์„ธ์š”. ์ •๋ง ์˜ค๋žœ๋งŒ์— ๊ธ€์„ ์ž‘์„ฑํ•ฉ๋‹ˆ๋‹ค. ์˜ค๋Š˜์€ ์˜ค๋žœ๋งŒ์— ์ž‘์„ฑํ•œ๋‹ค๋Š” ์˜๋ฏธ๋ฅผ ๋‹ด์•„ ์กฐ๊ธˆ ํŠน๋ณ„ํ•œ ๊ฐœ๋ฐœ๊ธ€์„ ์ ์–ด๋ณด๊ณ ์ž ํ•ฉ๋‹ˆ๋‹ค. ๊ฐœ๋ฐœ์„ ํ•˜๋‹ค๋ณด๋ฉด, ํ•œ ๊ฐ€์ง€ ์–ธ์–ด๊ฐ€ ์•„๋‹Œ ์—ฌ๋Ÿฌ๊ฐ€์ง€ ์–ธ์–ด๋ฅผ ์‚ฌ์šฉํ•  ๋•Œ๊ฐ€ ๋งŽ์ด ์žˆ์Šต๋‹ˆ๋‹ค. ํŠนํžˆ ์ €์˜ ๊ฒฝ์šฐ๋Š” ๋ฐ์ดํ„ฐ ์ฒ˜๋ฆฌ ํ•˜๋ฉด์„œ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ๊ฐœ๋ฐœํ•  ๋•Œ ์ด๋Ÿฌํ•œ ๊ฒฝ์šฐ๋ฅผ ๋งŽ์ด ๋Š๋ผ๊ณค ํ–ˆ์—ˆ๋Š”๋ฐ์š”. GraalVM์ด ๋ฌด์—‡์ด๊ณ  ์ด๊ฒƒ์ด ํ˜ผ์šฉ ์–ธ์–ด์˜ ๊ฐœ๋ฐœ๊ณผ ์–ด๋– ํ•œ ์—ฐ๊ด€์ด ์žˆ๋Š”์ง€์— ๋Œ€ํ•ด ์•Œ์•„๋ณด๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. R๊ณผ Java ์‚ฌ์ด R ์–ธ์–ด๋Š” ๋ณดํ†ต ๋ฐ์ดํ„ฐ ์ฒ˜๋ฆฌ๋ฅผ ํ•  ๋•Œ ๋งŽ์ด ์‚ฌ์šฉํ•˜๋Š” ์–ธ์–ด ์ค‘ ํ•˜๋‚˜์ž…๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ๋งŒ๋“ค์ง€ ๋ชปํ•˜๋Š” ๊ฒƒ์€ ์•„๋‹™๋‹ˆ๋‹ค. R์—์„œ๋Š” Shiny๋ผ๋Š” ๊ณต์‹ ์›น ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ์ œ๊ณตํ•˜์—ฌ ์ด๋ฅผ ์ด์šฉํ•ด์„œ๋„ R์„ ์ด์šฉํ•œ ์›น ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๊ฐœ๋ฐœ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ ‡์ง€๋งŒ ์ด๋Ÿฌํ•œ ์›น ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์ด..

[GP] R์—์„œ ์ฝ”๋“œ๋ฅผ ๋ณ‘๋ ฌ์ฒ˜๋ฆฌ ํ•˜๋Š” ๋ฐฉ๋ฒ•

์ด ๊ธ€์€ N.K Dev Lab์—์„œ ์ž‘์„ฑ๋œ ๊ธ€์ž…๋‹ˆ๋‹ค. ์˜ค๋Š˜์€ R ์ฝ”๋“œ๋ฅผ ๋ณ‘๋ ฌ ์ฒ˜๋ฆฌํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด์„œ ์•Œ์•„๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ๋ณ‘๋ ฌ ์ฒ˜๋ฆฌ? ๋งŽ์ด ๋“ค์–ด๋ณด์…จ๋˜ ๋ง์”€์ด๊ฒ ์ง€๋งŒ ๋ณ‘๋ ฌ ์ฒ˜๋ฆฌ๊ฐ€ ์ผ๋‹จ ๋ฌด์—‡์ธ์ง€ ๋จผ์ € ์•Œ์•„๋ณด๊ณ  ์ง„ํ–‰ํ•ด๋ณด๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. Parallel Processing๋ณ‘๋ ฌ ์ฒ˜๋ฆฌ ํ˜น์€ ๊ณ„์‚ฐ์€ ์ปดํ“จํ„ฐ๋ฅผ ์ด์šฉํ•ด์„œ ๋™์‹œ์— ๋งŽ์€ ๊ณ„์‚ฐ์„ ํ•˜๋„๋ก ํ•˜๋Š” ์ฒ˜๋ฆฌ ๋ฐฉ๋ฒ• ์ค‘์— ํ•˜๋‚˜์ž…๋‹ˆ๋‹ค. ๊ณผ๊ฑฐ์—๋Š” ํ”„๋กœ์„ธ์„œ ์„ฑ๋Šฅ์ด ํ•˜๋‚˜๋‹น ์ฝ”์–ด ํ•œ ๊ฐœ๋ฅผ ๊ฐ€์ง€๊ณ  ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ๋ณ‘๋ ฌ ์ฒ˜๋ฆฌ๋ผ๋Š” ๊ฒƒ์€ ์‚ฌ์‹ค์ƒ ๋ถˆ๊ฐ€๋Šฅํ•œ ๊ฒƒ์— ๊ฐ€๊นŒ์› ์Šต๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ์ด๋ฅผ ๊ฐ€๋Šฅํ•˜๋„๋ก ํ•œ ๊ฒƒ์€ ๋ฉ€ํ‹ฐํƒœ์Šคํ‚น ๋ฐฉ์‹์ด ์žˆ์—ˆ๊ธฐ ๋•Œ๋ฌธ์ด์ฃ . ์ด ๋ฐฉ๋ฒ•์€ ํ•˜๋‚˜์˜ ๊ณ„์‚ฐ์„ ์—ฌ๋Ÿฌ ๊ฐœ๋กœ ์ชผ๊ฐœ์„œ ๋‚˜๋ˆ  ์ฒ˜๋ฆฌํ•˜๋Š” ๋ฐฉ์‹์œผ๋กœ ๋™์‹œ์— ๋งŽ์€ ๊ณ„์‚ฐ์„ ํ•œ๊บผ๋ฒˆ์— ์ฒ˜๋ฆฌํ•˜๋Š” ๊ฒƒ์ด๋ž‘์€ ์•ฝ๊ฐ„์˜ ์ฐจ์ด๊ฐ€ ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ํ˜„๋Œ€ ํ”„๋กœ์„ธ์„œ์—๋Š” ..