728x90
๋ฐ˜์‘ํ˜•

์ „์ฒด ๊ธ€ 198

[Learn][English] "Can I get this to go?" – ์Œ์‹ ํฌ์žฅ ์ฃผ๋ฌธํ•  ๋•Œ ์œ ์šฉํ•œ ์˜์–ด ํ‘œํ˜„

์‹๋‹น์ด๋‚˜ ์นดํŽ˜์—์„œ ์Œ์‹์„ ๋จน์ง€ ์•Š๊ณ  ํฌ์žฅํ•ด์„œ ๊ฐ€๊ณ  ์‹ถ์„ ๋•Œ ์–ด๋–ป๊ฒŒ ๋งํ•ด์•ผ ํ• ๊นŒ?๋ฐ”๋กœ "Can I get this to go?"๋ผ๋Š” ํ‘œํ˜„์„ ์‚ฌ์šฉํ•˜๋ฉด ๋œ๋‹ค.1. "Can I get this to go?"์˜ ์˜๋ฏธ"Can I get this to go?"๋Š” "์ด๊ฑฐ ํฌ์žฅํ•  ์ˆ˜ ์žˆ๋‚˜์š”?"๋ผ๋Š” ๋œป์œผ๋กœ, ์Œ์‹์„ ํฌ์žฅ ์ฃผ๋ฌธํ•  ๋•Œ ์ž์ฃผ ์‚ฌ์šฉ๋˜๋Š” ํ‘œํ˜„์ž„.์˜ˆ๋ฅผ ๋“ค์–ด, ํ–„๋ฒ„๊ฑฐ ๊ฐ€๊ฒŒ์—์„œ ์ฃผ๋ฌธํ•œ ์Œ์‹์„ ๋งค์žฅ์—์„œ ๋จน์ง€ ์•Š๊ณ  ๊ฐ€์ ธ๊ฐ€๊ณ  ์‹ถ๋‹ค๋ฉด "Can I get this to go?"๋ผ๊ณ  ๋งํ•˜๋ฉด ๋จ.2. ์˜ˆ๋ฌธ๊ณผ ํ•จ๊ป˜ ๋ฐฐ์šฐ๊ธฐ(1) ๊ธฐ๋ณธ์ ์ธ ํ™œ์šฉ ์˜ˆ๋ฌธCan I get this to go, please?→ ์ด๊ฑฐ ํฌ์žฅํ•  ์ˆ˜ ์žˆ๋‚˜์š”? I’d like to get this to go.→ ์ด๊ฑฐ ํฌ์žฅํ•ด ์ฃผ์„ธ์š”. Can I have my coffee ..

[Python][AI] ํ•œ๊ตญ ๋กœ๋˜ ๋ถ„์„: ๋‹น์ฒจ ๋ฒˆํ˜ธ ๋ถ„์„๊ณผ ํŒจํ„ด ์ฐพ๊ธฐ(EDA)

2025.02.18 - [๊ฐœ๋ฐœ Code/์ธ๊ณต์ง€๋Šฅ A.I.] - [Python][AI] ํ•œ๊ตญ ๋กœ๋˜ ๋ถ„์„: ๋‹น์ฒจ ํ™•๋ฅ ๊ณผ ์˜ˆ์ธก์˜ ๋ถˆ๊ฐ€๋Šฅ์„ฑ [Python][AI] ํ•œ๊ตญ ๋กœ๋˜ ๋ถ„์„: ๋‹น์ฒจ ํ™•๋ฅ ๊ณผ ์˜ˆ์ธก์˜ ๋ถˆ๊ฐ€๋Šฅ์„ฑ1. ํ•œ๊ตญ ๋กœ๋˜ ๊ฐœ๋…๋กœ๋˜๋Š” 1๋ถ€ํ„ฐ 45๊นŒ์ง€์˜ ์ˆซ์ž ์ค‘ 6๊ฐœ๋ฅผ ์„ ํƒํ•˜๋Š” ๋ฐฉ์‹์˜ ๋ณต๊ถŒ์ด๋‹ค. ๊ตฌ๋งค์ž๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋ฐฉ๋ฒ•์œผ๋กœ ๋ฒˆํ˜ธ๋ฅผ ์„ ํƒํ•  ์ˆ˜ ์žˆ๋‹ค.์ž๋™ ์„ ํƒ: 45๊ฐœ์˜ ๋ฒˆํ˜ธ ์ค‘ 6๊ฐœ ๋ฒˆํ˜ธ๋ฅผ ๋ฌด์ž‘์œ„๋กœ ๋ถ€์—ฌ๋ฐ›5hr1rnp.tistory.com ๋ณธ ๊ธ€์—์„œ๋Š” ๋กœ๋˜ ๋‹น์ฒจ ๋ฐ์ดํ„ฐ์— ๋Œ€ํ•œ ํƒ์ƒ‰์  ๋ฐ์ดํ„ฐ ๋ถ„์„(EDA)์„ ์ง„ํ–‰ํ•˜๋ฉฐ, ๋‹ค์–‘ํ•œ ํ†ต๊ณ„์  ํŠน์ง•์„ ์‚ดํŽด๋ณด๊ฒ ๋‹ค.1. ๋ฐ์ดํ„ฐ ์ „์ฒ˜๋ฆฌ๋กœ๋˜ ๋ฐ์ดํ„ฐ๋Š” ๋™ํ–‰๋ณต๊ถŒ ์‚ฌ์ดํŠธ์—์„œ ์ œ๊ณตํ•˜๋Š” ์—‘์…€ ํŒŒ์ผ์„ ๊ฐ๊ฐ lotto-1.xls(1~600ํšŒ), lotto-2.xls(601~1,159ํšŒ)๋กœ ์ €์žฅํ•จ..

[Python][AI] ํ•œ๊ตญ ๋กœ๋˜ ๋ถ„์„: ๋‹น์ฒจ ํ™•๋ฅ ๊ณผ ์˜ˆ์ธก์˜ ๋ถˆ๊ฐ€๋Šฅ์„ฑ

1. ํ•œ๊ตญ ๋กœ๋˜ ๊ฐœ๋…๋กœ๋˜๋Š” 1๋ถ€ํ„ฐ 45๊นŒ์ง€์˜ ์ˆซ์ž ์ค‘ 6๊ฐœ๋ฅผ ์„ ํƒํ•˜๋Š” ๋ฐฉ์‹์˜ ๋ณต๊ถŒ์ด๋‹ค. ๊ตฌ๋งค์ž๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋ฐฉ๋ฒ•์œผ๋กœ ๋ฒˆํ˜ธ๋ฅผ ์„ ํƒํ•  ์ˆ˜ ์žˆ๋‹ค.์ž๋™ ์„ ํƒ: 45๊ฐœ์˜ ๋ฒˆํ˜ธ ์ค‘ 6๊ฐœ ๋ฒˆํ˜ธ๋ฅผ ๋ฌด์ž‘์œ„๋กœ ๋ถ€์—ฌ๋ฐ›์Œ๋ฐ˜์ž๋™ ์„ ํƒ: ์›ํ•˜๋Š” ๋ฒˆํ˜ธ ์ผ๋ถ€(1~5๊ฐœ)๋ฅผ ์ง์ ‘ ์„ ํƒํ•˜๊ณ , ๋‚˜๋จธ์ง€๋Š” ๋ฌด์ž‘์œ„๋กœ ์ฑ„์›€์ˆ˜๋™ ์„ ํƒ: 6๊ฐœ ๋ฒˆํ˜ธ๋ฅผ ์ „๋ถ€ ์ง์ ‘ ์„ ํƒ์ถ”์ฒจ์€ ๋งค์ฃผ ํ† ์š”์ผ ์ €๋…์— ์ง„ํ–‰๋˜๋ฉฐ, 6๊ฐœ์˜ ๋‹น์ฒจ๋ฒˆํ˜ธ์™€ 1๊ฐœ์˜ ๋ณด๋„ˆ์Šค๋ฒˆํ˜ธ๊ฐ€ ๋ฌด์ž‘์œ„๋กœ ๊ฒฐ์ •๋œ๋‹ค. ๋ณด๋„ˆ์Šค๋ฒˆํ˜ธ๋Š” 2๋“ฑ ๋‹น์ฒจ์ž๋ฅผ ํŒ๋ณ„ํ•˜๋Š” ๋ฐ ์‚ฌ์šฉ๋œ๋‹ค.2. ๋‹น์ฒจ ๋“ฑ๊ธ‰๊ณผ ํ™•๋ฅ ๋กœ๋˜์˜ ๋‹น์ฒจ์€ ๋ฒˆํ˜ธ ์ผ์น˜ ๊ฐœ์ˆ˜์— ๋”ฐ๋ผ 5๊ฐœ์˜ ๋“ฑ๊ธ‰์œผ๋กœ ๋‚˜๋‰จ. ๊ฐ ๋“ฑ๊ธ‰๋ณ„ ๋‹น์ฒจ ํ™•๋ฅ ๊ณผ ๋‹น์ฒจ๊ธˆ ๋ฐฐ๋ถ„ ๊ตฌ์กฐ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Œ. ๋“ฑ์œ„๋‹น์ฒจ ์กฐ๊ฑด๋‹น์ฒจ ํ™•๋ฅ ๋‹น์ฒจ๊ธˆ ๋ฐฐ๋ถ„1๋“ฑ6๊ฐœ ๋ฒˆํ˜ธ ์ผ์น˜1 / 8,145,060์ด ๋‹น์ฒจ๊ธˆ ์ค‘ 4๋“ฑ, 5๋“ฑ ์ œ์™ธ ๊ธˆ..

[Python][AI] OpenCV YuNet์„ ํ™œ์šฉํ•œ ๋™์˜์ƒ ์–ผ๊ตด ๋ชจ์ž์ดํฌ ์ฒ˜๋ฆฌ

2025.02.17 - [๊ฐœ๋ฐœ Code/์ธ๊ณต์ง€๋Šฅ A.I.] - [Python][AI] OpenCV: ์ปดํ“จํ„ฐ ๋น„์ „ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์†Œ๊ฐœ2025.02.17 - [๊ฐœ๋ฐœ Code/์ธ๊ณต์ง€๋Šฅ A.I.] - [Python][AI] OpenCV YuNet์„ ํ™œ์šฉํ•œ ์–ผ๊ตด ํƒ์ง€2025.02.17 - [๊ฐœ๋ฐœ Code/์ธ๊ณต์ง€๋Šฅ A.I.] - [Python][AI] OpenCV YuNet์„ ํ™œ์šฉํ•œ ์–ผ๊ตด ๋ชจ์ž์ดํฌ ์ฒ˜๋ฆฌ 1. ๋™์˜์ƒ ์–ผ๊ตด ๋ชจ์ž์ดํฌ ๊ฐœ์š”์ด์ „ ๊ธ€์—์„œ๋Š” ์ •์ ์ธ ์ด๋ฏธ์ง€ ๋˜๋Š” ๋””๋ ‰ํ† ๋ฆฌ์—์„œ ์–ผ๊ตด์„ ํƒ์ง€ํ•˜๊ณ  ๋ชจ์ž์ดํฌ๋ฅผ ์ ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ๋‹ค๋ฃจ์—ˆ๋‹ค. ์ด๋ฒˆ ๊ธ€์—์„œ๋Š” ๋™์˜์ƒ์—์„œ ์–ผ๊ตด์„ ์ž๋™์œผ๋กœ ํƒ์ง€ํ•˜๊ณ  ๋ชจ์ž์ดํฌ๋ฅผ ์ ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ๋‹ค๋ฃฌ๋‹ค.OpenCV์˜ YuNet ์–ผ๊ตด ํƒ์ง€ ๋ชจ๋ธ์„ ํ™œ์šฉํ•˜์—ฌ ์‹ค์‹œ๊ฐ„์œผ๋กœ ์–ผ๊ตด์„ ๊ฐ์ง€ํ•˜๊ณ , ํ•ด๋‹น ์˜์—ญ์„ ๋ชจ์ž์ดํฌ ์ฒ˜๋ฆฌ..

[Python][AI] OpenCV YuNet์„ ํ™œ์šฉํ•œ ์–ผ๊ตด ๋ชจ์ž์ดํฌ ์ฒ˜๋ฆฌ

2025.02.17 - [๊ฐœ๋ฐœ Code/์ธ๊ณต์ง€๋Šฅ A.I.] - [Python][AI] OpenCV: ์ปดํ“จํ„ฐ ๋น„์ „ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์†Œ๊ฐœ2025.02.17 - [๊ฐœ๋ฐœ Code/์ธ๊ณต์ง€๋Šฅ A.I.] - [Python][AI] OpenCV YuNet์„ ํ™œ์šฉํ•œ ์–ผ๊ตด ํƒ์ง€ 1. ์–ผ๊ตด ๋ชจ์ž์ดํฌ ์ฒ˜๋ฆฌ ๊ฐœ์š”์ด๋ฒˆ ๊ธ€์—์„œ๋Š” OpenCV์˜ YuNet ๋ชจ๋ธ์„ ์ด์šฉํ•˜์—ฌ ์ด๋ฏธ์ง€์—์„œ ์–ผ๊ตด์„ ์ž๋™์œผ๋กœ ํƒ์ง€ํ•˜๊ณ , ํ•ด๋‹น ์˜์—ญ์— ๋ชจ์ž์ดํฌ๋ฅผ ์ ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ๋‹ค๋ฃฐ ๊ฒƒ์ด๋‹ค. 2. ์‹คํ–‰ ํ™˜๊ฒฝ ์ค€๋น„OpenCV ์„ค์น˜pip install opencv-python 3. YuNet ์–ผ๊ตด ํƒ์ง€ ๋ชจ๋ธ ๋‹ค์šด๋กœ๋“œ import osimport requests# YuNet ๋ชจ๋ธ ํŒŒ์ผ ์„ค์ •model_filename = "face_detection_yunet_2023mar.o..

[Python][AI] OpenCV YuNet์„ ํ™œ์šฉํ•œ ์–ผ๊ตด ํƒ์ง€

2025.02.17 - [๊ฐœ๋ฐœ Code/์ธ๊ณต์ง€๋Šฅ A.I.] - [Python][AI] OpenCV: ์ปดํ“จํ„ฐ ๋น„์ „ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์†Œ๊ฐœ1. YuNet์„ ์ด์šฉํ•œ ์–ผ๊ตด ํƒ์ง€ ๊ฐœ์š”OpenCV๋Š” ๊ฐ•๋ ฅํ•œ ์ด๋ฏธ์ง€ ์ฒ˜๋ฆฌ ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜๋ฉฐ, cv2.FaceDetectorYN์„ ์ด์šฉํ•˜๋ฉด ๋”ฅ๋Ÿฌ๋‹ ๊ธฐ๋ฐ˜ ์–ผ๊ตด ํƒ์ง€๋ฅผ ๊ฐ„๋‹จํ•˜๊ฒŒ ์ˆ˜ํ–‰ํ•  ์ˆ˜ ์žˆ๋‹ค. ์ด๋ฒˆ ๊ธ€์—์„œ๋Š” OpenCV์˜ YuNet ๋ชจ๋ธ์„ ์‚ฌ์šฉํ•˜์—ฌ ์ด๋ฏธ์ง€์—์„œ ์–ผ๊ตด์„ ํƒ์ง€ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ๋‹ค๋ฃฌ๋‹ค.2. ์‹คํ–‰ ํ™˜๊ฒฝ ์ค€๋น„(1) OpenCV ์„ค์น˜YuNet์„ ์‚ฌ์šฉํ•˜๋ ค๋ฉด opencv-python ํŒจํ‚ค์ง€๋งŒ ์„ค์น˜ํ•˜๋ฉด ๋จ. Jupyter Notebook์—์„œ ๋‹ค์Œ ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ•˜์—ฌ ์„ค์น˜ํ•  ์ˆ˜ ์žˆ์Œ.pip install opencv-python ์„ค์น˜๊ฐ€ ์™„๋ฃŒ๋˜๋ฉด, OpenCV ๋ฒ„์ „์„ ํ™•์ธํ•˜์—ฌ ์ •์ƒ์ ์œผ๋กœ ์„ค์น˜๋˜์—ˆ๋Š”..

[Python][AI] OpenCV: ์ปดํ“จํ„ฐ ๋น„์ „ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์†Œ๊ฐœ

1. OpenCV๋ž€?OpenCV(Open Source Computer Vision)๋Š” ์‹ค์‹œ๊ฐ„ ์ด๋ฏธ์ง€ ์ฒ˜๋ฆฌ ๋ฐ ์ปดํ“จํ„ฐ ๋น„์ „ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ์œ„ํ•œ ์˜คํ”ˆ์†Œ์Šค ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ. ์ธํ…”์—์„œ ๊ฐœ๋ฐœํ•˜๊ณ  2000๋…„ 6์›”์— ๋ฐœํ‘œ๋˜์—ˆ์œผ๋ฉฐ, ํ˜„์žฌ๋Š” ์ธํ…”์ด ์†์„ ๋—€ ์ƒํƒœ๋‹ค. Python, C++, Java ๋“ฑ์„ ์ง€์›ํ•˜๋ฉฐ, ๋‹ค์–‘ํ•œ ์šด์˜์ฒด์ œ(Windows, Linux, macOS)์—์„œ ์‹คํ–‰ ๊ฐ€๋Šฅํ•˜๋‹ค.2. OpenCV์˜ ์ฃผ์š” ๊ธฐ๋ŠฅOpenCV๋Š” ์ปดํ“จํ„ฐ ๋น„์ „ ๋ฐ ์ด๋ฏธ์ง€ ์ฒ˜๋ฆฌ์™€ ๊ด€๋ จ๋œ ๋‹ค์–‘ํ•œ ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•จ.(1) ์ด๋ฏธ์ง€ ๋ฐ ๋™์˜์ƒ ์ฒ˜๋ฆฌ์ด๋ฏธ์ง€ ์ฝ๊ธฐ, ์ €์žฅ, ๋ณ€ํ™˜๋™์˜์ƒ ์žฌ์ƒ ๋ฐ ํ”„๋ ˆ์ž„ ์ฒ˜๋ฆฌ์ƒ‰๊ณต๊ฐ„ ๋ณ€ํ™˜ (RGB ↔ Grayscale, HSV ๋“ฑ)(2) ํ•„ํ„ฐ ๋ฐ ๋ณ€ํ™˜๋ธ”๋Ÿฌ๋ง ๋ฐ ์ƒคํ”„๋‹์—ฃ์ง€ ๊ฒ€์ถœ (Canny Edge Detection)๊ธฐํ•˜ํ•™์  ๋ณ€ํ™˜ (ํšŒ์ „..

[Learn][Korean] How to Ask "How Long Does It Take from Here?" in Korean

When traveling in Korea, you may want to ask someone how long it takes to get to a certain place. Whether you're taking public transportation, walking, or driving, knowing how to ask this question in Korean will make your trip much easier!Basic Phrase: "How Long Does It Take from Here?"In Korean, the phrase "How long does it take from here?" can be expressed as: ์—ฌ๊ธฐ์„œ ์–ผ๋งˆ๋‚˜ ๊ฑธ๋ฆฌ๋‚˜์š”?(Yeogiseo eolmana ge..

[Learn][English] "How far is it from here?" – ๊ฑฐ๋ฆฌ ๋ฌผ์–ด๋ณผ ๋•Œ ์“ฐ๋Š” ์˜์–ด ํ‘œํ˜„

์—ฌํ–‰์„ ํ•˜๊ฑฐ๋‚˜ ๊ธธ์„ ์ฐพ์„ ๋•Œ ๊ฐ€์žฅ ์œ ์šฉํ•œ ์งˆ๋ฌธ ์ค‘ ํ•˜๋‚˜๊ฐ€ ๋ฐ”๋กœ "How far is it from here?"์ด๋‹ค.์ด ํ‘œํ˜„์€ "์—ฌ๊ธฐ์„œ ์–ผ๋งˆ๋‚˜ ๋ฉ€์–ด์š”?"๋ผ๋Š” ์˜๋ฏธ๋กœ, ๋ชฉ์ ์ง€๊นŒ์ง€์˜ ๊ฑฐ๋ฆฌ๋‚˜ ์†Œ์š” ์‹œ๊ฐ„์„ ๋ฌป๋Š” ๋ฐ ์‚ฌ์šฉ๋œ๋‹ค.1. "How far is it from here?"์˜ ์˜๋ฏธ"How far is it from here?"๋Š”โœ” ์–ด๋–ค ์žฅ์†Œ๊นŒ์ง€์˜ ๊ฑฐ๋ฆฌโœ” ์–ด๋–ค ์žฅ์†Œ๊นŒ์ง€ ๊ฐ€๋Š” ๋ฐ ๊ฑธ๋ฆฌ๋Š” ์‹œ๊ฐ„์„ ๋ฌผ์–ด๋ณผ ๋•Œ ์‚ฌ์šฉํ•˜๋Š” ํ‘œํ˜„์ž„.์˜ˆ๋ฅผ ๋“ค์–ด, ๊ด€๊ด‘์ง€์—์„œ ๋ชฉ์ ์ง€๊นŒ์ง€์˜ ๊ฑฐ๋ฆฌ๋ฅผ ์•Œ๊ณ  ์‹ถ๋‹ค๋ฉด "How far is it from here?"๋ผ๊ณ  ๋ฌผ์–ด๋ณผ ์ˆ˜ ์žˆ์Œ.2. ์˜ˆ๋ฌธ๊ณผ ํ•จ๊ป˜ ๋ฐฐ์šฐ๊ธฐ(1) ๊ธฐ๋ณธ์ ์ธ ํ™œ์šฉ ์˜ˆ๋ฌธHow far is it from here to the train station?→ ์—ฌ๊ธฐ์„œ ๊ธฐ์ฐจ์—ญ๊นŒ์ง€ ์–ผ๋งˆ๋‚˜ ๋ฉ€์–ด์š”? How f..

[Python][AI] ์„ ํ˜• vs ๋น„์„ ํ˜•, ๋‹จ์กฐ vs ๋น„๋‹จ์กฐ ๋ฐ์ดํ„ฐ์…‹ ์ •๋ฆฌ

๋ฐ์ดํ„ฐ ๋ถ„์„๊ณผ ๋จธ์‹ ๋Ÿฌ๋‹์—์„œ ๋ฐ์ดํ„ฐ๋ฅผ ์ดํ•ดํ•˜๋Š” ๊ฒƒ์€ ๋งค์šฐ ์ค‘์š”ํ•˜๋‹ค. ํŠนํžˆ ๋ฐ์ดํ„ฐ์˜ ๊ตฌ์กฐ๋ฅผ ํŒŒ์•…ํ•˜๋Š” ๊ฒƒ์€ ๋ชจ๋ธ ์„ ํƒ๊ณผ ํ•ด์„์— ํฐ ์˜ํ–ฅ์„ ๋ฏธ์นœ๋‹ค. ๋ฐ์ดํ„ฐ๋Š” ํฌ๊ฒŒ ์„ ํ˜•(linear)๊ณผ ๋น„์„ ํ˜•(non-linear), ๋‹จ์กฐ(monotonic)์™€ ๋น„๋‹จ์กฐ(non-monotonic) ํ˜•ํƒœ๋กœ ๊ตฌ๋ถ„ํ•  ์ˆ˜ ์žˆ๋‹ค.1. ์„ ํ˜•(Linear) ๋ฐ์ดํ„ฐ vs ๋น„์„ ํ˜•(Non-Linear) ๋ฐ์ดํ„ฐ(1) ์„ ํ˜• ๋ฐ์ดํ„ฐ (Linear Data)์„ ํ˜• ๋ฐ์ดํ„ฐ๋Š” ๋ณ€์ˆ˜ ๊ฐ„์˜ ๊ด€๊ณ„๊ฐ€ ์ง์„ ์œผ๋กœ ํ‘œํ˜„๋  ์ˆ˜ ์žˆ๋Š” ๋ฐ์ดํ„ฐ๋ฅผ ์˜๋ฏธํ•จ. ์ฆ‰, ํ•œ ๋ณ€์ˆ˜๊ฐ€ ์ฆ๊ฐ€ํ•  ๋•Œ ๋‹ค๋ฅธ ๋ณ€์ˆ˜๋„ ์ผ์ •ํ•œ ๋น„์œจ๋กœ ์ฆ๊ฐ€ํ•˜๊ฑฐ๋‚˜ ๊ฐ์†Œํ•˜๋Š” ํŒจํ„ด์„ ๋ณด์ž„.ํŠน์ง•๋ฐ์ดํ„ฐ๊ฐ€ ์ง์„  ๊ด€๊ณ„๋ฅผ ๋”ฐ๋ฆ„์„ ํ˜• ํšŒ๊ท€(Linear Regression) ๋ชจ๋ธ๋กœ ์‰ฝ๊ฒŒ ์„ค๋ช… ๊ฐ€๋Šฅ์˜ˆ์ธก์ด ์ง๊ด€์ ์ด๋ฉฐ ๊ณ„์‚ฐ ๋น„์šฉ์ด ๋‚ฎ์Œ์˜ˆ์ œํ‚ค์™€ ๋ชธ๋ฌด๊ฒŒ๊ฐ€..

[WebDev][Babel] Babel ์†Œ๊ฐœ: ์ตœ์‹  ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ๋ฅผ ๋ชจ๋“  ๋ธŒ๋ผ์šฐ์ €์—์„œ ์‹คํ–‰ํ•˜๊ธฐ

1. Babel์ด๋ž€?Babel์€ ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ์ปดํŒŒ์ผ๋Ÿฌ(JavaScript Compiler) ๋กœ, ์ตœ์‹  ECMAScript(ES6+) ์ฝ”๋“œ๊ฐ€ ๊ตฌํ˜• ๋ธŒ๋ผ์šฐ์ €์—์„œ๋„ ์ •์ƒ์ ์œผ๋กœ ์‹คํ–‰๋˜๋„๋ก ๋ณ€ํ™˜ํ•ด์ฃผ๋Š” ๋„๊ตฌ๋‹ค.2. Babel์ด ํ•„์š”ํ•œ ์ด์œ ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ๋Š” ๊พธ์ค€ํžˆ ๋ฐœ์ „ํ•˜๋ฉฐ ์ƒˆ๋กœ์šด ๋ฌธ๋ฒ•(์˜ˆ: let, const, async/await, ํ™”์‚ดํ‘œ ํ•จ์ˆ˜ ๋“ฑ)์ด ์ถ”๊ฐ€๋จ. ํ•˜์ง€๋งŒ ๊ตฌํ˜• ๋ธŒ๋ผ์šฐ์ €๋Š” ์ตœ์‹  ๋ฌธ๋ฒ•์„ ์ง€์›ํ•˜์ง€ ์•Š์Œ. ์ด ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•˜๊ธฐ ์œ„ํ•ด Babel์ด ํ•„์š”ํ•จ.Babel์˜ ์ฃผ์š” ์—ญํ• :โœ… ์ตœ์‹  ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ๋ฌธ๋ฒ•์„ ๊ตฌํ˜• ๋ธŒ๋ผ์šฐ์ €์—์„œ๋„ ๋™์ž‘ ๊ฐ€๋Šฅํ•˜๋„๋ก ๋ณ€ํ™˜โœ… JSX(React์—์„œ ์‚ฌ์šฉ) ๋ฐ TypeScript ์ฝ”๋“œ๋„ ๋ณ€ํ™˜ ๊ฐ€๋Šฅโœ… ์ฝ”๋“œ ์ตœ์ ํ™” ๋ฐ ํ”Œ๋Ÿฌ๊ทธ์ธ ํ™•์žฅ์„ ํ†ตํ•œ ๊ฐœ๋ฐœ ํ™˜๊ฒฝ ๊ฐœ์„ 3. Babel์˜ ํ•ต์‹ฌ ๊ฐœ๋…(1) ํŠธ๋žœ์ŠคํŒŒ์ผ๋ง(T..

[WebDev][Webpack] Webpack ์†Œ๊ฐœ: ํ˜„๋Œ€์ ์ธ ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ๋ฒˆ๋“ค๋Ÿฌ

1. Webpack์ด๋ž€?Webpack์€ ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ ๋ชจ๋“ˆ ๋ฒˆ๋“ค๋Ÿฌ(module bundler)๋‹ค. ์›น ๊ฐœ๋ฐœ์—์„œ ์—ฌ๋Ÿฌ ๊ฐœ์˜ ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ, CSS, ์ด๋ฏธ์ง€ ๋“ฑ์„ ํ•˜๋‚˜์˜ ๋ฒˆ๋“ค ํŒŒ์ผ๋กœ ๋ฌถ์–ด์ฃผ๋Š” ์—ญํ• ์„ ํ•œ๋‹ค.2. Webpack์ด ํ•„์š”ํ•œ ์ด์œ ์›น ๊ฐœ๋ฐœ์ด ์ ์  ๋ณต์žกํ•ด์ง€๋ฉด์„œ ๋‹ค์–‘ํ•œ ํŒŒ์ผ๊ณผ ๋ชจ๋“ˆ์„ ํšจ์œจ์ ์œผ๋กœ ๊ด€๋ฆฌํ•ด์•ผ ํ•˜๋Š” ํ•„์š”์„ฑ์ด ์ƒ๊น€. Webpack์„ ์‚ฌ์šฉํ•˜๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์žฅ์ ์ด ์žˆ์Œ.๋ชจ๋“ˆํ™” ์ง€์›: ES6+ ๋ชจ๋“ˆ, CommonJS, AMD ๋“ฑ์˜ ๋‹ค์–‘ํ•œ ๋ชจ๋“ˆ ์‹œ์Šคํ…œ์„ ์ง€์›ํ•จํŒŒ์ผ ํฌ๊ธฐ ์ตœ์ ํ™”: ์ฝ”๋“œ ์••์ถ•, ํŠธ๋ฆฌ ์‰์ดํ‚น(Tree Shaking) ๋“ฑ์„ ํ†ตํ•ด ์ตœ์ ํ™” ๊ฐ€๋Šฅ๊ฐœ๋ฐœ ์ƒ์‚ฐ์„ฑ ํ–ฅ์ƒ: HMR(Hot Module Replacement) ๊ธฐ๋Šฅ์œผ๋กœ ์ฝ”๋“œ ๋ณ€๊ฒฝ ์‹œ ๋น ๋ฅด๊ฒŒ ๋ฐ˜์˜๋จ์ž์› ๊ด€๋ฆฌ: CSS, ์ด๋ฏธ์ง€, ํฐํŠธ ๋“ฑ๋„ ๋ชจ..

[Python][AI] AI ๋ชจ๋ธ ์„ฑ๋Šฅ ์ง€ํ‘œ(Metrics) ์ •๋ฆฌ

AI ๋ชจ๋ธ์˜ ์„ฑ๋Šฅ์„ ํ‰๊ฐ€ํ•˜๊ธฐ ์œ„ํ•ด ๋‹ค์–‘ํ•œ ์„ฑ๋Šฅ ์ง€ํ‘œ(metrics)๊ฐ€ ์‚ฌ์šฉ๋œ๋‹ค. ๋ชจ๋ธ์ด ์–ผ๋งˆ๋‚˜ ์ •ํ™•ํ•˜๊ฒŒ ์ž‘๋™ํ•˜๋Š”์ง€, ์˜ˆ์ธก์ด ์–ผ๋งˆ๋‚˜ ์‹ ๋ขฐํ•  ์ˆ˜ ์žˆ๋Š”์ง€๋ฅผ ํ‰๊ฐ€ํ•˜๋Š” ๋ฐ ์ค‘์š”ํ•œ ์—ญํ• ์„ ํ•˜๋‹ค. ์ด๋ฒˆ ๊ธ€์—์„œ ๋Œ€ํ‘œ์ ์ธ ์„ฑ๋Šฅ ์ง€ํ‘œ๋“ค์„ ์†Œ๊ฐœํ•˜๊ฒ ๋‹ค.1. ํšŒ๊ท€(Regression) ๋ชจ๋ธ ์„ฑ๋Šฅ ์ง€ํ‘œํšŒ๊ท€ ๋ชจ๋ธ์€ ์—ฐ์†์ ์ธ ์ˆซ์ž ๊ฐ’์„ ์˜ˆ์ธกํ•˜๋Š” ๋ชจ๋ธ์ด๋ฉฐ, ์ฃผ๋กœ ํ‰๊ท  ์ œ๊ณฑ ์˜ค์ฐจ(Mean Squared Error)๋‚˜ ํ‰๊ท  ์ ˆ๋Œ€ ์˜ค์ฐจ(Mean Absolute Error) ๋“ฑ์˜ ์ง€ํ‘œ๋ฅผ ์‚ฌ์šฉํ•จ.(1) MSE (Mean Squared Error, ํ‰๊ท  ์ œ๊ณฑ ์˜ค์ฐจ)MSE๋Š” ์‹ค์ œ ๊ฐ’๊ณผ ์˜ˆ์ธก ๊ฐ’์˜ ์ฐจ์ด๋ฅผ ์ œ๊ณฑํ•œ ํ›„ ํ‰๊ท ์„ ๊ตฌํ•œ ๊ฐ’์ž„. ๊ฐ’์ด ์ž‘์„์ˆ˜๋ก ๋ชจ๋ธ์˜ ์˜ˆ์ธก์ด ์‹ค์ œ ๊ฐ’๊ณผ ๊ฐ€๊นŒ์›€์„ ์˜๋ฏธํ•จ.์žฅ์ : ์˜ค์ฐจ๋ฅผ ์ œ๊ณฑํ•˜์—ฌ ํฐ ์˜ค์ฐจ๋ฅผ ๊ฐ•์กฐํ•จ๋‹จ์ : ์ œ๊ณฑ์ด ์ ์šฉ๋˜..

[Learn][English] "I'm feeling under the weather" – ๋ชธ์ด ์•ˆ ์ข‹์„ ๋•Œ ์“ฐ๋Š” ์˜์–ด ํ‘œํ˜„

์˜์–ด์—์„œ ๋ชธ์ด ์•„ํ”„๊ฑฐ๋‚˜ ์ปจ๋””์…˜์ด ์ข‹์ง€ ์•Š์„ ๋•Œ ์ž์ฃผ ์“ฐ์ด๋Š” ํ‘œํ˜„์ด ์žˆ๋‹ค. ๊ทธ์ค‘ ํ•˜๋‚˜๊ฐ€ ๋ฐ”๋กœ "I'm feeling under the weather."๋ผ๋Š” ํ‘œํ˜„์ด๋‹ค. ์ด ํ‘œํ˜„์€ ์ง์—ญํ•˜๋ฉด "๋‚ ์”จ ์•„๋ž˜์— ์žˆ๋‹ค"๋Š” ์˜๋ฏธ์ธ๋ฐ, ์‹ค์ œ๋กœ๋Š” "๋ชธ ์ƒํƒœ๊ฐ€ ์ข‹์ง€ ์•Š๋‹ค"๋ผ๋Š” ๋œป์œผ๋กœ ์‚ฌ์šฉ๋œ๋‹ค.1. "Under the weather"์˜ ์˜๋ฏธ"I'm feeling under the weather."๋Š” "๋ชธ์ด ์ข‹์ง€ ์•Š๋‹ค" ๋˜๋Š” "๋ชธ์‚ด ๊ธฐ์šด์ด ์žˆ๋‹ค"๋Š” ์˜๋ฏธ๋กœ ์“ฐ์ด๋Š” ์˜์–ด ๊ด€์šฉ ํ‘œํ˜„์ž„.๋Œ€๋ถ€๋ถ„ ๊ฐ๊ธฐ, ํ”ผ๋กœ, ์ˆ™์ทจ ๋“ฑ์œผ๋กœ ์ธํ•ด ๋ชธ์ด ๋ฌด๊ฑฐ์šธ ๋•Œ ์‚ฌ์šฉ๋จ.์˜ˆ๋ฅผ ๋“ค์–ด, ๊ฐ๊ธฐ์— ๊ฑธ๋ ค์„œ ๊ธฐ์šด์ด ์—†์„ ๋•Œ "I'm feeling under the weather."๋ผ๊ณ  ํ•˜๋ฉด, "๋‚˜ ๋ชธ์ด ์ข€ ์•ˆ ์ข‹์•„."๋ผ๋Š” ๋œป์ด ๋จ.2. ์˜ˆ๋ฌธ๊ณผ ํ•จ๊ป˜ ๋ฐฐ์šฐ๊ธฐ(1) ๊ธฐ๋ณธ์ ์ธ..

[Learn][Korean] Storing Luggage Before Check-in at a Hotel in Korea

When traveling in Korea, you may arrive at your hotel before the official check-in time. In this case, you might wonder: "Can I leave my luggage at the hotel and explore the city before check-in?"The answer is yes! Many hotels in Korea allow guests to store their luggage at the front desk before check-in. This is a convenient option if you arrive early and don't want to carry your bags while sig..

[Learn][Korean] Understanding "ํ˜•, ๋ˆ„๋‚˜, ์˜ค๋น , ์–ธ๋‹ˆ" in Korean – How Koreans Address Older Siblings

In Korean culture, the way people address their family members and friends depends on age and gender. Unlike English, where "brother" and "sister" are used regardless of the speaker’s gender, Koreans use different terms depending on who is speaking.The four most commonly used words for older siblings are:ํ˜• (hyeong) – Used by a younger brother to refer to an older brother๋ˆ„๋‚˜ (nuna) – Used by a you..

728x90
๋ฐ˜์‘ํ˜•