Notice
Recent Posts
Recent Comments
ยซ   2024/11   ยป
์ผ ์›” ํ™” ์ˆ˜ ๋ชฉ ๊ธˆ ํ† 
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Tags more
Archives
Today
Total
๊ด€๋ฆฌ ๋ฉ”๋‰ด

๐ŸŒฒ์ž๋ผ๋‚˜๋Š”์ฒญ๋…„

๋ชจ๋‘์˜ ๋”ฅ๋Ÿฌ๋‹ -ํŒŒ์ดํ† ์น˜ ch3-ch4 ์ •๋ฆฌ ๋ณธ๋ฌธ

ํŒŒ์ดํ† ์น˜

๋ชจ๋‘์˜ ๋”ฅ๋Ÿฌ๋‹ -ํŒŒ์ดํ† ์น˜ ch3-ch4 ์ •๋ฆฌ

JihyunLee 2019. 3. 19. 23:39
๋ฐ˜์‘ํ˜•

๋ชจ๋‘์˜ ๋”ฅ๋Ÿฌ๋‹ ๋งํฌ : https://www.youtube.com/watch?v=SKq-pmkekTk&list=PLbbloOsdWVwTNNkjnLuqEWtzjRqfBALF7


๋ชจ๋‘์˜ ๋”ฅ๋Ÿฌ๋‹ ch03


optimizer(loss๋ฅผ ์ตœ์†Œ๋กœ ๋งŒ๋“œ๋Š” w๋ฅผ ์ฐพ๋Š” ๋ฐฉ๋ฒ•) : ๊ฒฝ์‚ฌ ํ•˜๊ฐ•๋ฒ• ์•Œ๊ณ ๋ฆฌ์ฆ˜


loss ๋ฅผ ๊ฐ€์žฅ ์ž‘๊ฒŒ ๋งŒ๋“œ๋Š” w๋ฅผ ์ฐพ๋Š” ๊ฒƒ์ด learning์˜ ๋ชฉํ‘œ์ด๋‹ค.

๊ฐ€์žฅ ์˜ค์ฐจ๊ฐ€ ์ž‘์€ ๊ณณ์„ ์ฐพ๋Š”๋ฐฉ๋ฒ• -> ๋ฏธ๋ถ„์„ ์ด์šฉํ•ด์„œ!


๋ณ€์ˆ˜๊ฐ€ ๋‘๊ฐœ, ์„ธ๊ฐœ์ผ๋•Œ๋„ ๋ฏธ๋ถ„์ด ๊ฐ€๋Šฅํ•˜๋‹ค(์˜ˆ๋ฅผ๋“ค์–ด, ์‹œํ—˜๊ณต๋ถ€์‹œ๊ฐ„, ์‹œํ—˜๋‚œ์ด๋„ ๋‘ ๋ฐ์ดํ„ฐ๋ฅผ ์ด์šฉํ•ด ์‹œํ—˜ ๊ฒฐ๊ณผ๋ฅผ ์˜ˆ์ธกํ•˜๊ณ  ์‹ถ์€ ๊ฒฝ์šฐ)


๋ชจ๋‘์˜ ๋”ฅ๋Ÿฌ๋‹ ch04


์™ผ์ชฝ์—์„œ ์˜ค๋ฅธ์ชฝ์œผ๋กœ w1์ด ๊ฒฐ๊ณผ๊ฐ’์— ๋ฏธ์น˜๋Š” ์˜ํ–ฅ์„ ๊ฒฐ๊ณผ๋กœ ๊ณ„์‚ฐํ•ด ๋‚ด๋Š” ๋ฐฉ๋ฒ•์ด ์žˆ์ง€๋งŒ ์‹ ๊ฒฝ๋ง์ด ๋ณต์žกํ•ด์ง€๋ฉด ํ˜„์‹ค์ ์ด์ง€ ๋ชปํ•œ ๋ฐฉ๋ฒ•์ด ๋œ๋‹ค.

back propagation์€ ์˜ค๋ฅธ์ชฝ์—์„œ ์™ผ์ชฝ์œผ๋กœw1 ์ด ๊ฒฐ๊ณผ๊ฐ’์— ๋ฏธ์น˜๋Š” ์˜ํ–ฅ์„ ์•Œ์•„๋‚ด์„œ(์˜ํ–ฅ= ๋ฏธ๋ถ„๊ฐ’) w1์˜ ์ˆ˜์ •์„ ๊ฐ€๋Šฅํ•˜๊ฒŒ ํ•œ๋‹ค

์‹ ๊ฒฝ๋ง์ด ๋ณต์žกํ•˜๋”๋ผ๋„ ์‚ฌ์šฉ์— ๋ฌธ์ œ๊ฐ€ ์—†๋‹ค.





optimzer ํ•จ์ˆ˜:

์ง€๊ธˆ๊นŒ์ง€๋Š” ํ™•๋ฅ ์  ๊ฒฝ์‚ฌ ํ•˜๊ฐ•๋ฒ• = SGD๋ฅผ ์‚ฌ์šฉํ•ด ์™”๋‹ค(๋ฏธ๋ถ„-> ๋ฐ˜์˜ -> ๋ฏธ๋ถ„ -> ๋ฐ˜์˜)

๋ง๊ณ ๋„ ๋‹ค์–‘ํ•œ optimizere๋“ค์ด ์žˆ๋‹ค.







๋ฐ˜์‘ํ˜•