{"id":40442,"date":"2024-11-04T01:51:46","date_gmt":"2024-11-04T01:51:46","guid":{"rendered":"https:\/\/atmokpo.com\/w\/?p=40442"},"modified":"2024-11-26T06:39:10","modified_gmt":"2024-11-26T06:39:10","slug":"32-%ea%b2%bd%ed%97%98-%ec%9e%ac%ec%83%9dexperience-replay%ea%b3%bc-%ec%83%98%ed%94%8c-%ed%9a%a8%ec%9c%a8%ec%84%b1-%ed%96%a5%ec%83%81-%ea%b8%b0%eb%b2%95-prioritized-experience-replay-%eb%93%b1","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/40442\/","title":{"rendered":"32. \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay)\uacfc \uc0d8\ud50c \ud6a8\uc728\uc131 \ud5a5\uc0c1 \uae30\ubc95, Prioritized Experience Replay \ub4f1 \uace0\uae09 \uae30\ubc95 \uc18c\uac1c"},"content":{"rendered":"<p><body><\/p>\n<p>\uac15\ud654 \ud559\uc2b5\uc740 \uc778\uacf5\uc9c0\ub2a5 \ubd84\uc57c\uc5d0\uc11c \ube60\ub974\uac8c \uc9c4\ud654\ud558\uace0 \uc788\ub294 \ubd84\uc57c \uc911 \ud558\ub098\uc785\ub2c8\ub2e4. \ud2b9\ud788 Deep Reinforcement Learning(DRL)\uc758 \ubc1c\uc804\uacfc \ud568\uaed8 \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay) \uae30\ubc95\uc740 \ud6a8\uc728\uc801\uc778 \ud559\uc2b5\uc744 \uc704\ud55c \ud544\uc218\uc801\uc778 \ubc29\ubc95\uc73c\ub85c \uc790\ub9ac\uc7a1\uc558\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \uacbd\ud5d8 \uc7ac\uc0dd \ubc0f \uc0d8\ud50c \ud6a8\uc728\uc131\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uae30 \uc704\ud55c \ub2e4\uc591\ud55c \uae30\ubc95\ub4e4, \ud2b9\ud788 Prioritized Experience Replay\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \ub2e4\ub904\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay)\uc774\ub780?<\/h2>\n<p>\uacbd\ud5d8 \uc7ac\uc0dd\uc740 \uc5d0\uc774\uc804\ud2b8\uac00 \ud658\uacbd\uc5d0\uc11c \uacbd\ud5d8\ud55c \uc0c1\ud0dc, \ud589\ub3d9, \ubcf4\uc0c1, \ub2e4\uc74c \uc0c1\ud0dc\ub97c \ubaa8\uc544\uc11c \uc800\uc7a5\ud558\uace0, \uc774\ud6c4 \ud559\uc2b5\uc5d0 \ud65c\uc6a9\ud558\ub294 \uae30\ubc95\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc5d0\uc774\uc804\ud2b8\ub294 \uacfc\uac70 \uacbd\ud5d8\uc744 \uc7ac\uc0ac\uc6a9\ud558\uac8c \ub418\uc5b4 \ub370\uc774\ud130 \ud6a8\uc728\uc131\uc744 \ub192\uc774\uace0, \uac19\uc740 \ub370\uc774\ud130\ub97c \uc5ec\ub7ec \ubc88 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc989, \ub370\uc774\ud130\ub97c \ubb34\uc791\uc704\ub85c \ubc30\uce58\ud558\uc5ec \ud559\uc2b5\ud568\uc73c\ub85c\uc368 \uacfc\uc801\ud569(overfitting)\uc744 \uc904\uc774\uace0 \uc77c\ubc18\ud654(generalization) \uc131\ub2a5\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\ub294 \ub370 \uae30\uc5ec\ud569\ub2c8\ub2e4.<\/p>\n<h3>1.1 \uacbd\ud5d8 \uc7ac\uc0dd \ubc84\ud37c<\/h3>\n<p>\uacbd\ud5d8 \uc7ac\uc0dd \ubc84\ud37c\ub294 \uc5d0\uc774\uc804\ud2b8\uac00 \ud658\uacbd\uacfc\uc758 \uc0c1\ud638\uc791\uc6a9 \uacfc\uc815\uc5d0\uc11c \uc5bb\uc740 \uacbd\ud5d8\uc744 \uc800\uc7a5\ud558\ub294 \uc7a5\uc18c\uc785\ub2c8\ub2e4. \uc774 \ubc84\ud37c\ub294 FIFO(First In First Out) \ubc29\uc2dd\uc73c\ub85c \ub3d9\uc791\ud558\uc5ec, \uc77c\uc815\ub7c9\uc758 \uacbd\ud5d8\uc774 \uc800\uc7a5\ub418\uba74 \uac00\uc7a5 \uc624\ub798\ub41c \uacbd\ud5d8\ubd80\ud130 \uc0ad\uc81c\ub429\ub2c8\ub2e4. \ubc84\ud37c \ud06c\uae30\ub294 \uc885\uc885 \ud558\uc774\ud37c\ud30c\ub77c\ubbf8\ud130\ub85c \uc124\uc815\ub418\uba70, \uc77c\ubc18\uc801\uc73c\ub85c 1\ub9cc\uc5d0\uc11c 1\ubc31\ub9cc \uc0d8\ud50c\uae4c\uc9c0 \ub2e4\uc591\ud569\ub2c8\ub2e4.<\/p>\n<h2>2. \uc0d8\ud50c \ud6a8\uc728\uc131(Sample Efficiency)<\/h2>\n<p>\uc0d8\ud50c \ud6a8\uc728\uc131\uc740 \uc5d0\uc774\uc804\ud2b8\uac00 \uc5bc\ub9c8\ub098 \uc801\uc740 \ub370\uc774\ud130\ub85c\ubd80\ud130 \ud559\uc2b5 \uc131\uacfc\ub97c \ub0b4\ub294\uc9c0\ub97c \ub098\ud0c0\ub0b4\ub294 \uc911\uc694\ud55c \uce21\uc815 \uc9c0\ud45c\uc785\ub2c8\ub2e4. \uac15\ud654 \ud559\uc2b5\uc5d0\uc11c\ub294 \ub370\uc774\ud130 \uc218\uc9d1\uc774 \ube44\uc6a9\uc774 \ub9ce\uc774 \ub4dc\ub294 \uacbd\uc6b0\uac00 \ub9ce\uae30 \ub54c\ubb38\uc5d0, \ub192\uc740 \uc0d8\ud50c \ud6a8\uc728\uc131\uc744 \ub2ec\uc131\ud558\ub294 \uac83\uc740 \ub9e4\uc6b0 \uc911\uc694\ud55c \uacfc\uc81c\uc785\ub2c8\ub2e4. \uacbd\ud5d8 \uc7ac\uc0dd\uc740 \uc774\ub7ec\ud55c \uc0d8\ud50c \ud6a8\uc728\uc131\uc744 \ub192\uc774\ub294 \ub370 \uae30\uc5ec\ud558\uc9c0\ub9cc, \ub354 \ub098\uc740 \uc131\uacfc\ub97c \uc704\ud574 \ucd94\uac00\uc801\uc778 \uae30\ubc95\ub4e4\uc774 \ud544\uc694\ud569\ub2c8\ub2e4.<\/p>\n<h3>2.1 \uacbd\ud5d8 \uc7ac\uc0dd\uc758 \ud55c\uacc4<\/h3>\n<p>\uacbd\ud5d8 \uc7ac\uc0dd\uc758 \ub2e8\uc810 \uc911 \ud558\ub098\ub294 \ub9ac\ud50c\ub808\uc774 \ubc84\ud37c\uc5d0 \uc800\uc7a5\ub41c \uacfc\uac70 \uacbd\ud5d8\ub4e4\uc5d0\uc11c \ud559\uc2b5\ud558\ub294 \uac83\uc774\uba70, \uc774\ub294 \uc5d0\uc774\uc804\ud2b8\uac00 \ud658\uacbd\uc5d0\uc11c \ud604\uc7ac\uc758 \uc0c1\ud0dc\ub97c \uc798 \ubc18\uc601\ud558\uc9c0 \ubabb\ud558\uac8c \ub9cc\ub4e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud2b9\ud788, \ud658\uacbd\uc774 \ub3d9\uc801\uc774\uba70 \uc2dc\uac04\uc774 \uc9c0\ub0a8\uc5d0 \ub530\ub77c \ubcc0\ud654\ud558\ub294 \uacbd\uc6b0, \ub108\ubb34 \uc624\ub798\ub41c \uacbd\ud5d8\uc740 \uc720\uc6a9\ud558\uc9c0 \uc54a\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>3. Prioritized Experience Replay<\/h2>\n<p>\uc774\uc81c Prioritized Experience Replay(PER)\uc5d0 \ub300\ud574 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. PER\uc740 \uacbd\ud5d8 \uc7ac\uc0dd\uc758 \uae30\ubcf8\uc801\uc778 \uac1c\ub150\uc744 \ud55c \ub2e8\uacc4 \ubc1c\uc804\uc2dc\ucf1c, \ubc84\ud37c\uc5d0 \uc800\uc7a5\ub41c \uacbd\ud5d8\uc5d0 \uc6b0\uc120\uc21c\uc704\ub97c \ub9e4\uae30\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc5d0\uc774\uc804\ud2b8\ub294 \ub354\uc6b1 \uc911\uc694\ud55c \uc0d8\ud50c\ub85c\ubd80\ud130 \ub354 \ub9ce\uc740 \ud559\uc2b5 \uae30\ud68c\ub97c \uac00\uc838\uac08 \uc218 \uc788\uac8c \ub429\ub2c8\ub2e4.<\/p>\n<h3>3.1 \uc6b0\uc120\uc21c\uc704 \ub9e4\uae30\uae30<\/h3>\n<p>\uac01 \uacbd\ud5d8\uc774 \uc5bc\ub9c8\ub098 \uc911\uc694\ud55c\uc9c0\ub97c \ud310\ub2e8\ud558\uae30 \uc704\ud574, TD \uc624\ucc28(Temporal Difference Error)\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc6b0\uc120\uc21c\uc704\ub97c \ub9e4\uae41\ub2c8\ub2e4. TD \uc624\ucc28\ub294 \ubca8\ub9cc \ubc29\uc815\uc2dd\uc73c\ub85c\ubd80\ud130 \uacc4\uc0b0\ub41c \uac12\uc73c\ub85c, \uc608\uce21\ud55c \uac00\uce58\uc640 \uc2e4\uc81c \ubcf4\uc0c1 \uc0ac\uc774\uc758 \ucc28\uc774\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4. \ub192\uc740 TD \uc624\ucc28\ub97c \uac00\uc9c4 \uc0d8\ud50c\uc740 \uc6d0\ubcf8 \ub370\uc774\ud130\uc5d0\uc11c \uc8fc\uc694\ud55c \uc815\ubcf4\ub97c \ub2f4\uace0 \uc788\ub2e4\uace0 \uac04\uc8fc\ub418\uc5b4, \ud559\uc2b5 \uacfc\uc815\uc5d0\uc11c \ub354 \ub9ce\uc774 \uc120\ud0dd\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>3.2 \uc0d8\ud50c\ub9c1 \ubc29\ubc95<\/h3>\n<p>\uc6b0\uc120\uc21c\uc704\uc5d0 \ub530\ub77c \uc0d8\ud50c\ub9c1\uc744 \uc218\ud589\ud558\uae30 \uc704\ud55c \uc5ec\ub7ec \ubc29\ubc95\uc774 \uc874\uc7ac\ud569\ub2c8\ub2e4. \uc77c\ubc18\uc801\uc73c\ub85c\ub294 \uc6b0\uc120\uc21c\uc704\ub97c \uae30\ubc18\uc73c\ub85c \ud558\ub294 \ud655\ub960\uc801 \uc0d8\ud50c\ub9c1 \uae30\ubc95\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4. \uc774 \ub54c, \uc6b0\uc120\uc21c\uc704\uac00 \ub0ae\uc740 \uc0d8\ud50c\uc740 \uc120\ud0dd\ub420 \ud655\ub960\uc774 \ub0ae\uc544\uc9c0\uba70, \uc6b0\uc120\uc21c\uc704\uac00 \ub192\uc740 \uc0d8\ud50c\uc740 \ub354 \uc790\uc8fc \uc120\ud0dd\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>3.3 PER\uc758 \uad6c\ud604<\/h3>\n<p>PER\uc758 \uae30\ubcf8 \ud750\ub984\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4: <\/p>\n<ol>\n<li>\uc0c1\ud0dc\uc5d0 \ub300\ud55c \ud589\ub3d9\uc744 \uc120\ud0dd\ud558\uace0 \uc2e4\ud589\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc0c8 \uc0c1\ud0dc \ubc0f \ubcf4\uc0c1\uc744 \uad00\ucc30\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc0c8\ub85c\uc6b4 \uacbd\ud5d8\uc744 \ub9ac\ud50c\ub808\uc774 \ubc84\ud37c\uc5d0 \uc800\uc7a5\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubc84\ud37c\uc5d0\uc11c \uc0d8\ud50c\ub9c1\ud558\uc5ec \uc5d0\uc774\uc804\ud2b8\ub97c \uc5c5\ub370\uc774\ud2b8\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc6b0\uc120\uc21c\uc704\ub97c \uc5c5\ub370\uc774\ud2b8\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h3>3.4 PER\uc758 \uc7a5\uc810\uacfc \ub2e8\uc810<\/h3>\n<p>PER\uc740 \uc5d0\uc774\uc804\ud2b8\uac00 \uc911\uc694\ud55c \uacbd\ud5d8\uc744 \ub354 \ub9ce\uc774 \ud559\uc2b5\ud560 \uc218 \uc788\ub3c4\ub85d \ub3d5\uae30 \ub54c\ubb38\uc5d0, \ub354 \ub098\uc740 \ud559\uc2b5 \uc18d\ub3c4\ub97c \uc790\ub791\ud569\ub2c8\ub2e4. \ud558\uc9c0\ub9cc \ud544\uc5f0\uc801\uc73c\ub85c \ucd94\uac00\uc801\uc778 \uacc4\uc0b0 \ube44\uc6a9\uc774 \ubc1c\uc0dd\ud558\uba70, \uc0c8\ub86d\uac8c \uc0d8\ud50c\ub9c1\ub41c \uc6b0\uc120\uc21c\uc704\ub97c \uc5c5\ub370\uc774\ud2b8\ud574\uc57c \ud558\ub294 \ubcf5\uc7a1\uc131\uc774 \uac00\uc911\ub429\ub2c8\ub2e4.<\/p>\n<h2>4. \ucd94\uac00\uc801\uc778 \uace0\uae09 \uae30\ubc95<\/h2>\n<p>\uc774\uc81c \uacbd\ud5d8 \uc7ac\uc0dd \ubc0f PER \uc678\uc5d0 \ub2e4\ub978 \uc0d8\ud50c \ud6a8\uc728\uc131\uc744 \ub192\uc774\uae30 \uc704\ud574 \uc0ac\uc6a9\ub418\ub294 \uc5ec\ub7ec \uae30\ubc95\ub4e4\uc744 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>4.1 Double Q-Learning<\/h3>\n<p>Double Q-Learning\uc740 Q-\uac12\uc758 \uc624\ubc84\uc5d0\uc2a4\ud2f0\uba54\uc774\uc158 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574 \uc81c\uc548\ub41c \uae30\uc220\uc785\ub2c8\ub2e4. \uc77c\ubc18\uc801\uc778 Q-learning\uc5d0\uc11c\ub294 \ucd5c\uc801\uc758 \ud589\ub3d9\uc744 \uc120\ud0dd\ud558\uae30 \uc704\ud574 Q-\ud14c\uc774\ube14\uc744 \uc5c5\ub370\uc774\ud2b8 \ud569\ub2c8\ub2e4. \ud558\uc9c0\ub9cc \uc774 \uacfc\uc815\uc5d0\uc11c Q-\uac12\uc774 \uacfc\ub300\ud3c9\uac00\ub418\ub294 \uacbd\ud5a5\uc774 \uc788\uc2b5\ub2c8\ub2e4. Double Q-Learning\uc740 \ub450 \uac1c\uc758 Q-\ud14c\uc774\ube14\uc744 \uc0ac\uc6a9\ud558\uc5ec, \ud604\uc7ac \ud589\ub3d9\uc744 \uc120\ud0dd\ud558\uae30 \uc704\ud574 \ud55c \ud14c\uc774\ube14\uc744 \uc559\uc0c1\ube14\ud558\uace0, \ub2e4\ub978 \ud14c\uc774\ube14\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc5c5\ub370\uc774\ud2b8\ud558\uc5ec \uacfc\ub300\ud3c9\uac00 \ubb38\uc81c\ub97c \uc904\uc785\ub2c8\ub2e4.<\/p>\n<h3>4.2 Dueling Network Architectures<\/h3>\n<p>Dueling Network\ub294 Q-value\ub97c \uc0c1\ud0dc \uac00\uce58\uc640 Advantage\ub85c \ubd84\ub9ac\ud55c \uad6c\uc870\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc5d0\uc774\uc804\ud2b8\ub294 \uc0c1\ud0dc\uc758 \uac00\uce58\uc640 \ud2b9\uc815 \ud589\ub3d9\uc758 \uc0c1\ub300\uc801\uc778 \uc774\uc810\uc744 \ub3d9\uc2dc\uc5d0 \ud559\uc2b5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uad6c\uc870\ub294 \ud2b9\ud788 \uc120\ud0dd\ud560 \ud589\ub3d9\uc758 \uc218\uac00 \ub9ce\uc740 \ubcf5\uc7a1\ud55c \ud658\uacbd\uc5d0\uc11c \uc0d8\ud50c \ud6a8\uc728\uc131\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\ub294 \ub370 \ub3c4\uc6c0\uc774 \ub429\ub2c8\ub2e4.<\/p>\n<h3>4.3 \uc0ac\uc6a9 \uac00\ub2a5\ud55c \uc778\uc9c0\uc801 \uae30\ubc95<\/h3>\n<p>\uacfc\uac70 \uacbd\ud5d8\uc744 \ubb34\uc791\uc704\ub85c \uc120\ud0dd\ud558\ub294 \ub300\uc2e0, \uc778\uc9c0\uc801 \uae30\ubc95\uc744 \uc0ac\uc6a9\ud558\uc5ec \uac01 \uc0d8\ud50c\uc758 \uc911\uc694\uc131\uc744 \ud3c9\uac00\ud558\uace0, \uadf8\uc5d0 \ub530\ub77c \uc120\ud0dd\uc801\uc778 \ud559\uc2b5\uc744 \uc218\ud589\ud558\ub294 \ubc29\ubc95\ub3c4 \uc874\uc7ac\ud569\ub2c8\ub2e4. \uc774 \uc811\uadfc\uc740 \uc0d8\ud50c\uc758 \uc7ac\uc0ac\uc6a9 \ube48\ub3c4\ub97c \ub192\uc774\uba70, \ud559\uc2b5 \uacfc\uc815\uc5d0\uc11c\uc758 \uc0d8\ud50c \ubd88\uade0\ud615 \ubb38\uc81c\ub97c \uc904\uc774\ub294 \ub370 \uae30\uc5ec\ud569\ub2c8\ub2e4.<\/p>\n<h2>5. \uc0ac\ub840 \uc5f0\uad6c: OpenAI Gym\uc5d0\uc11c\uc758 PER \uad6c\ud604<\/h2>\n<p>\uc774\uc81c OpenAI Gym \ud658\uacbd\uc5d0\uc11c Prioritized Experience Replay\ub97c \uc2e4\uc81c\ub85c \uad6c\ud604\ud574\ubcf4\ub294 \uc608\uc81c\ub97c \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uc608\uc81c\uc5d0\uc11c\ub294 CartPole \ud658\uacbd\uc744 \uc0ac\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c DQN \uc5d0\uc774\uc804\ud2b8\ub97c \uc791\uc131\ud560 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<pre>\n    <code>\n    import numpy as np\n    import random\n    import gym\n    from collections import deque\n    \n    class PrioritizedReplayBuffer:\n        def __init__(self, capacity, alpha=0.6):\n            self.capacity = capacity\n            self.alpha = alpha\n            self.buffer = []\n            self.priorities = []\n            self.position = 0\n        \n        def push(self, transition):\n            max_priority = max(self.priorities, default=1.0) if self.priorities else 1.0\n            if len(self.buffer) &lt; self.capacity:\n                self.buffer.append(transition)\n                self.priorities.append(max_priority)\n            else:\n                self.buffer[self.position] = transition\n                self.priorities[self.position] = max_priority\n            \n            self.position = (self.position + 1) % self.capacity\n        \n        def sample(self, batch_size, beta=0.4):\n            priorities = np.array(self.priorities)\n            probabilities = priorities ** self.alpha\n            probabilities \/= probabilities.sum()\n            indices = np.random.choice(len(self.buffer), size=batch_size, p=probabilities)\n            \n            samples = [self.buffer[idx] for idx in indices]\n            total_samples = len(self.buffer)\n            weights = (total_samples * probabilities[indices]) ** -beta\n            weights \/= weights.max()\n            \n            return samples, indices, weights\n        \n        def update_priorities(self, indices, priorities):\n            for idx, priority in zip(indices, priorities):\n                self.priorities[idx] = priority\n    \n    def main():\n        env = gym.make('CartPole-v1')\n        replay_buffer = PrioritizedReplayBuffer(10000)\n        num_episodes = 1000\n        \n        for episode in range(num_episodes):\n            state = env.reset()\n            done = False\n            \n            while not done:\n                # \ud589\ub3d9 \uc120\ud0dd \ub85c\uc9c1\n                action = env.action_space.sample()\n                next_state, reward, done, _ = env.step(action)\n                \n                # \uacbd\ud5d8 \ucd94\uac00\n                replay_buffer.push((state, action, reward, next_state, done))\n                \n                # \uc0d8\ud50c\ub9c1\n                if len(replay_buffer.buffer) &gt;= 32:\n                    batch, indices, weights = replay_buffer.sample(32)\n                    # \ud559\uc2b5 \ub85c\uc9c1\n                    # ...\n                    \n                    # \uc6b0\uc120\uc21c\uae30 \uc5c5\ub370\uc774\ud2b8\n                    # ...\n                \n                state = next_state\n                \n            print(f'Episode {episode} finished')\n    \n    if __name__ == \"__main__\":\n        main()\n    <\/code>\n    <\/pre>\n<h2>\uacb0\ub860<\/h2>\n<p>\ubcf8 \ud3ec\uc2a4\ud2b8\uc5d0\uc11c\ub294 \uacbd\ud5d8 \uc7ac\uc0dd\uacfc \uc0d8\ud50c \ud6a8\uc728\uc131\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uae30 \uc704\ud55c \ub2e4\uc591\ud55c \uae30\ubc95\ub4e4, \ud2b9\ud788 Prioritized Experience Replay\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uae30\ubc95\ub4e4\uc740 \uac15\ud654 \ud559\uc2b5\uc758 \ud6a8\uc728\uc131\uc744 \ub192\uc5ec\uc904 \ubfd0\ub9cc \uc544\ub2c8\ub77c, \ub354\uc6b1 \ubcf5\uc7a1\ud55c \ud658\uacbd\uc5d0\uc11c\ub3c4 \uc548\uc815\uc131\uacfc \uc131\ub2a5\uc744 \ud5a5\uc0c1\uc2dc\ud0ac \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud5a5\ud6c4 \uc9c0\uc18d\uc801\uc778 \uc5f0\uad6c\uc640 \uc2e4\ud5d8\uc744 \ud1b5\ud574 \uc774\ub7ec\ud55c \uae30\ubc95\ub4e4\uc744 \ub354 \ubc1c\uc804\uc2dc\ucf1c \ud6a8\uacfc\uc801\uc778 \uac15\ud654 \ud559\uc2b5 \uc194\ub8e8\uc158\uc744 \ub9cc\ub4e4\uc5b4 \ub098\uac00\uae38 \uae30\ub300\ud569\ub2c8\ub2e4.<\/p>\n<footer>\n<p>\uc774 \uae00\uc774 \uc5ec\ub7ec\ubd84\uc758 \uac15\ud654 \ud559\uc2b5 \uc774\ud574\uc5d0 \ub3c4\uc6c0\uc774 \ub418\uae38 \ubc14\ub78d\ub2c8\ub2e4. \ucd94\uac00\uc801\uc778 \uc9c8\ubb38\uc740 \ub313\uae00\ub85c \ub0a8\uaca8\uc8fc\uc138\uc694!<\/p>\n<\/footer>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uac15\ud654 \ud559\uc2b5\uc740 \uc778\uacf5\uc9c0\ub2a5 \ubd84\uc57c\uc5d0\uc11c \ube60\ub974\uac8c \uc9c4\ud654\ud558\uace0 \uc788\ub294 \ubd84\uc57c \uc911 \ud558\ub098\uc785\ub2c8\ub2e4. \ud2b9\ud788 Deep Reinforcement Learning(DRL)\uc758 \ubc1c\uc804\uacfc \ud568\uaed8 \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay) \uae30\ubc95\uc740 \ud6a8\uc728\uc801\uc778 \ud559\uc2b5\uc744 \uc704\ud55c \ud544\uc218\uc801\uc778 \ubc29\ubc95\uc73c\ub85c \uc790\ub9ac\uc7a1\uc558\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \uacbd\ud5d8 \uc7ac\uc0dd \ubc0f \uc0d8\ud50c \ud6a8\uc728\uc131\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uae30 \uc704\ud55c \ub2e4\uc591\ud55c \uae30\ubc95\ub4e4, \ud2b9\ud788 Prioritized Experience Replay\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \ub2e4\ub904\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay)\uc774\ub780? \uacbd\ud5d8 \uc7ac\uc0dd\uc740 \uc5d0\uc774\uc804\ud2b8\uac00 \ud658\uacbd\uc5d0\uc11c \uacbd\ud5d8\ud55c \uc0c1\ud0dc, \ud589\ub3d9, &hellip; <a href=\"https:\/\/atmokpo.com\/w\/40442\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;32. \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay)\uacfc \uc0d8\ud50c \ud6a8\uc728\uc131 \ud5a5\uc0c1 \uae30\ubc95, Prioritized Experience Replay \ub4f1 \uace0\uae09 \uae30\ubc95 \uc18c\uac1c&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[213],"tags":[],"class_list":["post-40442","post","type-post","status-publish","format-standard","hentry","category-213"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>32. \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay)\uacfc \uc0d8\ud50c \ud6a8\uc728\uc131 \ud5a5\uc0c1 \uae30\ubc95, Prioritized Experience Replay \ub4f1 \uace0\uae09 \uae30\ubc95 \uc18c\uac1c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/40442\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"32. \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay)\uacfc \uc0d8\ud50c \ud6a8\uc728\uc131 \ud5a5\uc0c1 \uae30\ubc95, Prioritized Experience Replay \ub4f1 \uace0\uae09 \uae30\ubc95 \uc18c\uac1c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uac15\ud654 \ud559\uc2b5\uc740 \uc778\uacf5\uc9c0\ub2a5 \ubd84\uc57c\uc5d0\uc11c \ube60\ub974\uac8c \uc9c4\ud654\ud558\uace0 \uc788\ub294 \ubd84\uc57c \uc911 \ud558\ub098\uc785\ub2c8\ub2e4. \ud2b9\ud788 Deep Reinforcement Learning(DRL)\uc758 \ubc1c\uc804\uacfc \ud568\uaed8 \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay) \uae30\ubc95\uc740 \ud6a8\uc728\uc801\uc778 \ud559\uc2b5\uc744 \uc704\ud55c \ud544\uc218\uc801\uc778 \ubc29\ubc95\uc73c\ub85c \uc790\ub9ac\uc7a1\uc558\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \uacbd\ud5d8 \uc7ac\uc0dd \ubc0f \uc0d8\ud50c \ud6a8\uc728\uc131\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uae30 \uc704\ud55c \ub2e4\uc591\ud55c \uae30\ubc95\ub4e4, \ud2b9\ud788 Prioritized Experience Replay\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \ub2e4\ub904\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay)\uc774\ub780? \uacbd\ud5d8 \uc7ac\uc0dd\uc740 \uc5d0\uc774\uc804\ud2b8\uac00 \ud658\uacbd\uc5d0\uc11c \uacbd\ud5d8\ud55c \uc0c1\ud0dc, \ud589\ub3d9, &hellip; \ub354 \ubcf4\uae30 &quot;32. \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay)\uacfc \uc0d8\ud50c \ud6a8\uc728\uc131 \ud5a5\uc0c1 \uae30\ubc95, Prioritized Experience Replay \ub4f1 \uace0\uae09 \uae30\ubc95 \uc18c\uac1c&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/40442\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-04T01:51:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:39:10+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/40442\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/40442\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"32. \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay)\uacfc \uc0d8\ud50c \ud6a8\uc728\uc131 \ud5a5\uc0c1 \uae30\ubc95, Prioritized Experience Replay \ub4f1 \uace0\uae09 \uae30\ubc95 \uc18c\uac1c\",\"datePublished\":\"2024-11-04T01:51:46+00:00\",\"dateModified\":\"2024-11-26T06:39:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/40442\/\"},\"wordCount\":75,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uac15\ud654\ud559\uc2b5\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/40442\/\",\"url\":\"https:\/\/atmokpo.com\/w\/40442\/\",\"name\":\"32. \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay)\uacfc \uc0d8\ud50c \ud6a8\uc728\uc131 \ud5a5\uc0c1 \uae30\ubc95, Prioritized Experience Replay \ub4f1 \uace0\uae09 \uae30\ubc95 \uc18c\uac1c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-04T01:51:46+00:00\",\"dateModified\":\"2024-11-26T06:39:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/40442\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/40442\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/40442\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"32. \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay)\uacfc \uc0d8\ud50c \ud6a8\uc728\uc131 \ud5a5\uc0c1 \uae30\ubc95, Prioritized Experience Replay \ub4f1 \uace0\uae09 \uae30\ubc95 \uc18c\uac1c\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"32. \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay)\uacfc \uc0d8\ud50c \ud6a8\uc728\uc131 \ud5a5\uc0c1 \uae30\ubc95, Prioritized Experience Replay \ub4f1 \uace0\uae09 \uae30\ubc95 \uc18c\uac1c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/40442\/","og_locale":"ko_KR","og_type":"article","og_title":"32. \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay)\uacfc \uc0d8\ud50c \ud6a8\uc728\uc131 \ud5a5\uc0c1 \uae30\ubc95, Prioritized Experience Replay \ub4f1 \uace0\uae09 \uae30\ubc95 \uc18c\uac1c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uac15\ud654 \ud559\uc2b5\uc740 \uc778\uacf5\uc9c0\ub2a5 \ubd84\uc57c\uc5d0\uc11c \ube60\ub974\uac8c \uc9c4\ud654\ud558\uace0 \uc788\ub294 \ubd84\uc57c \uc911 \ud558\ub098\uc785\ub2c8\ub2e4. \ud2b9\ud788 Deep Reinforcement Learning(DRL)\uc758 \ubc1c\uc804\uacfc \ud568\uaed8 \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay) \uae30\ubc95\uc740 \ud6a8\uc728\uc801\uc778 \ud559\uc2b5\uc744 \uc704\ud55c \ud544\uc218\uc801\uc778 \ubc29\ubc95\uc73c\ub85c \uc790\ub9ac\uc7a1\uc558\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \uacbd\ud5d8 \uc7ac\uc0dd \ubc0f \uc0d8\ud50c \ud6a8\uc728\uc131\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uae30 \uc704\ud55c \ub2e4\uc591\ud55c \uae30\ubc95\ub4e4, \ud2b9\ud788 Prioritized Experience Replay\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \ub2e4\ub904\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay)\uc774\ub780? \uacbd\ud5d8 \uc7ac\uc0dd\uc740 \uc5d0\uc774\uc804\ud2b8\uac00 \ud658\uacbd\uc5d0\uc11c \uacbd\ud5d8\ud55c \uc0c1\ud0dc, \ud589\ub3d9, &hellip; \ub354 \ubcf4\uae30 \"32. \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay)\uacfc \uc0d8\ud50c \ud6a8\uc728\uc131 \ud5a5\uc0c1 \uae30\ubc95, Prioritized Experience Replay \ub4f1 \uace0\uae09 \uae30\ubc95 \uc18c\uac1c\"","og_url":"https:\/\/atmokpo.com\/w\/40442\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-04T01:51:46+00:00","article_modified_time":"2024-11-26T06:39:10+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/40442\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/40442\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"32. \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay)\uacfc \uc0d8\ud50c \ud6a8\uc728\uc131 \ud5a5\uc0c1 \uae30\ubc95, Prioritized Experience Replay \ub4f1 \uace0\uae09 \uae30\ubc95 \uc18c\uac1c","datePublished":"2024-11-04T01:51:46+00:00","dateModified":"2024-11-26T06:39:10+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/40442\/"},"wordCount":75,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uac15\ud654\ud559\uc2b5"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/40442\/","url":"https:\/\/atmokpo.com\/w\/40442\/","name":"32. \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay)\uacfc \uc0d8\ud50c \ud6a8\uc728\uc131 \ud5a5\uc0c1 \uae30\ubc95, Prioritized Experience Replay \ub4f1 \uace0\uae09 \uae30\ubc95 \uc18c\uac1c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-04T01:51:46+00:00","dateModified":"2024-11-26T06:39:10+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/40442\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/40442\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/40442\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"32. \uacbd\ud5d8 \uc7ac\uc0dd(Experience Replay)\uacfc \uc0d8\ud50c \ud6a8\uc728\uc131 \ud5a5\uc0c1 \uae30\ubc95, Prioritized Experience Replay \ub4f1 \uace0\uae09 \uae30\ubc95 \uc18c\uac1c"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":40512,"url":"https:\/\/atmokpo.com\/w\/40512\/","url_meta":{"origin":40442,"position":0},"title":"54. \ubbf8\ub798\uc758 \uac15\ud654\ud559\uc2b5  \ucd5c\uc2e0 \uc5f0\uad6c \ub3d9\ud5a5\uacfc \ud5a5\ud6c4 \uc804\ub9dd, \uac15\ud654\ud559\uc2b5\uc758 \ubbf8\ub798 \uac00\ub2a5\uc131\uacfc \uc751\uc6a9 \ubd84\uc57c","author":"root","date":"2024\ub144 11\uc6d4 04\uc77c","format":false,"excerpt":"\uac15\ud654\ud559\uc2b5\uc740 \uc778\uacf5\uc9c0\ub2a5 \ubd84\uc57c\uc5d0\uc11c \uac00\uc7a5 \ud765\ubbf8\ub85c\uc6b4 \uc601\uc5ed \uc911 \ud558\ub098\ub85c, \uae30\uacc4 \ud559\uc2b5\uc758 \ud55c \ubd84\uc57c\ub85c\uc368, \uc5d0\uc774\uc804\ud2b8\uac00 \ud658\uacbd\uacfc \uc0c1\ud638\uc791\uc6a9\ud558\uba70 \ucd5c\uc801\uc758 \ud589\ub3d9\uc744 \ubc30\uc6b0\ub294 \uacfc\uc815\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4. \ubcf8 \uae00\uc5d0\uc11c\ub294 \uac15\ud654\ud559\uc2b5\uc758 \ucd5c\uc2e0 \uc5f0\uad6c \ub3d9\ud5a5\uacfc \uc804\ub9dd, \uadf8\ub9ac\uace0 \uc774 \uae30\uc220\uc774 \uc801\uc6a9\ub420 \uc218 \uc788\ub294 \ub2e4\uc591\ud55c \ubd84\uc57c\ub97c \uc2ec\uce35\uc801\uc73c\ub85c \ud0d0\uad6c\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uac15\ud654\ud559\uc2b5\uc758 \uac1c\uc694 \uac15\ud654\ud559\uc2b5\uc740 \uc5d0\uc774\uc804\ud2b8\uac00 \ud658\uacbd\uc5d0\uc11c\uc758 \uacbd\ud5d8\uc744 \ud1b5\ud574 \ubcf4\uc0c1\uc744 \ucd5c\ub300\ud654\ud558\ub294 \ubc29\ud5a5\uc73c\ub85c \ud589\ub3d9\uc744 \ud559\uc2b5\ud558\ub294 \uacfc\uc815\uc785\ub2c8\ub2e4.\u2026","rel":"","context":"&quot;\uac15\ud654\ud559\uc2b5&quot;\uc5d0\uc11c","block_context":{"text":"\uac15\ud654\ud559\uc2b5","link":"https:\/\/atmokpo.com\/w\/category\/%ea%b0%95%ed%99%94%ed%95%99%ec%8a%b5\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":40452,"url":"https:\/\/atmokpo.com\/w\/40452\/","url_meta":{"origin":40442,"position":1},"title":"4. \uac15\ud654\ud559\uc2b5\uacfc \ub2e4\ub978 \uba38\uc2e0\ub7ec\ub2dd \uae30\ubc95\uc758 \ube44\uad50, \uac15\ud654\ud559\uc2b5\uc758 \uc7a5\uc810\uacfc \ub2e8\uc810","author":"root","date":"2024\ub144 11\uc6d4 04\uc77c","format":false,"excerpt":"\uc791\uc131\uc77c: 2023\ub144 10\uc6d4 \uc791\uc131\uc790: \uc870\uad11\ud615 1. \uc11c\ub860 \uba38\uc2e0\ub7ec\ub2dd\uc740 \ub2e4\uc591\ud55c \uae30\ubc95\uc744 \ud1b5\ud574 \ub370\uc774\ud130\ub97c \ud559\uc2b5\ud558\uace0 \uc774\ub97c \uae30\ubc18\uc73c\ub85c \uc608\uce21 \ud639\uc740 \uacb0\uc815\uc744 \ub0b4\ub9ac\ub294 \uae30\uc220\uc774\ub2e4. \uadf8 \uc911\uc5d0\uc11c\ub3c4 \uac15\ud654\ud559\uc2b5\uc740 \uc5d0\uc774\uc804\ud2b8\uac00 \ud658\uacbd\uacfc \uc0c1\ud638\uc791\uc6a9\ud558\uba70 \ubcf4\uc0c1 \uc2e0\ud638\ub97c \ud1b5\ud574 \ud559\uc2b5\ud558\ub294 \ubc29\uc2dd\uc73c\ub85c, \ub2e4\ub978 \uba38\uc2e0\ub7ec\ub2dd \uae30\ubc95\ub4e4\uacfc\ub294 \ud655\uc5f0\ud788 \ub2e4\ub978 \ud2b9\uc9d5\uc744 \uac00\uc9c4\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \uac15\ud654\ud559\uc2b5\uacfc \ub2e4\ub978 \uba38\uc2e0\ub7ec\ub2dd \uae30\ubc95\ub4e4\uc744 \ube44\uad50\ud558\uace0, \uac15\ud654\ud559\uc2b5\uc758 \uc7a5\uc810\uacfc \ub2e8\uc810\uc744 \uc2ec\ub3c4 \uc788\uac8c\u2026","rel":"","context":"&quot;\uac15\ud654\ud559\uc2b5&quot;\uc5d0\uc11c","block_context":{"text":"\uac15\ud654\ud559\uc2b5","link":"https:\/\/atmokpo.com\/w\/category\/%ea%b0%95%ed%99%94%ed%95%99%ec%8a%b5\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":40514,"url":"https:\/\/atmokpo.com\/w\/40514\/","url_meta":{"origin":40442,"position":2},"title":"57. \uac15\ud654\ud559\uc2b5 \ud559\uc2b5 \uc790\ub8cc \ubc0f \ucee4\ubba4\ub2c8\ud2f0 \ub9ac\uc18c\uc2a4, \ucd94\ucc9c \ub3c4\uc11c, \uc628\ub77c\uc778 \uac15\uc758, \ud29c\ud1a0\ub9ac\uc5bc","author":"root","date":"2024\ub144 11\uc6d4 04\uc77c","format":false,"excerpt":"\uc791\uc131\uc77c: 2023\ub144 10\uc6d4 \uc800\uc790: \uc870\uad11\ud615 1. \uac15\ud654\ud559\uc2b5\uc758 \uc774\ud574 \uac15\ud654\ud559\uc2b5(Reinforcement Learning, RL)\uc740 \uc778\uacf5\uc9c0\ub2a5\uc758 \ud55c \ubd84\uc57c\ub85c, \uc5d0\uc774\uc804\ud2b8\uac00 \ud658\uacbd\uacfc \uc0c1\ud638\uc791\uc6a9 \ud558\uba70 \ucd5c\uc801\uc758 \ud589\ub3d9\uc744 \ud559\uc2b5\ud558\ub294 \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4. \uc774 \uacfc\uc815\uc5d0\uc11c \uc5d0\uc774\uc804\ud2b8\ub294 \ubcf4\uc0c1\uc744 \uc5bb\uae30 \uc704\ud574 \uc5ec\ub7ec \uac00\uc9c0 \ud589\ub3d9\uc744 \uc2dc\ub3c4\ud558\uace0 \uacb0\uacfc\ub97c \ubc14\ud0d5\uc73c\ub85c \ud559\uc2b5\ud569\ub2c8\ub2e4. \uac15\ud654\ud559\uc2b5\uc758 \ub300\ud45c\uc801\uc778 \ud2b9\uc9d5\uc740 \uc2dc\ud5d8\uacfc \uc624\ub958(trial and error) \ud559\uc2b5 \ubc29\uc2dd\uacfc \uc7a5\uae30\uc801\uc778 \ubcf4\uc0c1(long-term reward) \ucd5c\uc801\ud654\uc785\ub2c8\ub2e4. 2. \uac15\ud654\ud559\uc2b5\uc758\u2026","rel":"","context":"&quot;\uac15\ud654\ud559\uc2b5&quot;\uc5d0\uc11c","block_context":{"text":"\uac15\ud654\ud559\uc2b5","link":"https:\/\/atmokpo.com\/w\/category\/%ea%b0%95%ed%99%94%ed%95%99%ec%8a%b5\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":40484,"url":"https:\/\/atmokpo.com\/w\/40484\/","url_meta":{"origin":40442,"position":3},"title":"33. \ucee4\ub9ac\ud058\ub7fc \ud559\uc2b5(Curriculum Learning)\uc73c\ub85c \ub2e8\uacc4\uc801 \ud559\uc2b5 \uad6c\ud604\ud558\uae30, \ucee4\ub9ac\ud058\ub7fc \ud559\uc2b5\uc758 \uc6d0\ub9ac\uc640 \uc7a5\uc810","author":"root","date":"2024\ub144 11\uc6d4 04\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c 1. \uc11c\ub860 \uac15\ud654\ud559\uc2b5(Deep Reinforcement Learning, DRL)\uc740 \ubcf5\uc7a1\ud55c \ud658\uacbd\uc5d0\uc11c \ucd5c\uc801\uc758 \ud589\ub3d9\uc744 \ud559\uc2b5\ud558\uae30 \uc704\ud55c \uac15\ub825\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \uc774\ub7ec\ud55c \ud559\uc2b5 \uacfc\uc815\uc740 \ub9e4\uc6b0 \ube44\ud6a8\uc728\uc801\uc77c \uc218 \uc788\uc73c\uba70, \ud2b9\ud788 \ud559\uc2b5\ud558\ub294 \uc5d0\uc774\uc804\ud2b8\uac00 \ucc98\uc74c\ubd80\ud130 \ubcf5\uc7a1\ud55c \uc791\uc5c5\uc744 \ucc98\ub9ac\ud574\uc57c \ud560 \uacbd\uc6b0 \ub354\uc6b1 \uadf8\ub7ec\ud569\ub2c8\ub2e4. \uc774\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud55c \uc811\uadfc \ubc29\ubc95 \uc911 \ud558\ub098\uac00 \ubc14\ub85c \ucee4\ub9ac\ud058\ub7fc \ud559\uc2b5(Curriculum Learning)\uc785\ub2c8\ub2e4.\u2026","rel":"","context":"&quot;\uac15\ud654\ud559\uc2b5&quot;\uc5d0\uc11c","block_context":{"text":"\uac15\ud654\ud559\uc2b5","link":"https:\/\/atmokpo.com\/w\/category\/%ea%b0%95%ed%99%94%ed%95%99%ec%8a%b5\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":40460,"url":"https:\/\/atmokpo.com\/w\/40460\/","url_meta":{"origin":40442,"position":4},"title":"8. \uc0c1\ud0dc \uacf5\uac04(State Space) \uc124\uacc4\ud558\uae30, \uc0c1\ud0dc \uc778\ucf54\ub529 \uae30\ubc95 (\ubca1\ud130\ud654, \uc6d0-\ud56b \uc778\ucf54\ub529 \ub4f1)","author":"root","date":"2024\ub144 11\uc6d4 04\uc77c","format":false,"excerpt":"\uac15\ud654\ud559\uc2b5\uc5d0\uc11c \uac00\uc7a5 \uc911\uc694\ud55c \uac1c\ub150 \uc911 \ud558\ub098\ub294 \uc0c1\ud0dc \uacf5\uac04(State Space) \uc124\uacc4\uc785\ub2c8\ub2e4. \uc0c1\ud0dc\ub294 \uc5d0\uc774\uc804\ud2b8\uac00 \ud658\uacbd\uc5d0\uc11c \uc5b4\ub5a4 \uc0c1\ud669\uc5d0 \ucc98\ud574 \uc788\ub294\uc9c0\ub97c \ub098\ud0c0\ub0b4\uba70, \uc0c1\ud0dc \uacf5\uac04\uc740 \uac00\ub2a5\ud55c \ubaa8\ub4e0 \uc0c1\ud0dc\uc758 \uc9d1\ud569\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \uc0c1\ud0dc \uacf5\uac04 \uc124\uacc4\uc758 \uc911\uc694\uc131\uacfc \ud568\uaed8 \ub2e4\uc591\ud55c \uc0c1\ud0dc \uc778\ucf54\ub529 \uae30\ubc95, \ud2b9\ud788 \ubca1\ud130\ud654\uc640 \uc6d0-\ud56b \uc778\ucf54\ub529\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc0c1\ud0dc \uacf5\uac04 \uc124\uacc4\uc758 \uc911\uc694\uc131 \uc0c1\ud0dc \uacf5\uac04\uc740 \uac15\ud654\ud559\uc2b5 \uc5d0\uc774\uc804\ud2b8\uac00\u2026","rel":"","context":"&quot;\uac15\ud654\ud559\uc2b5&quot;\uc5d0\uc11c","block_context":{"text":"\uac15\ud654\ud559\uc2b5","link":"https:\/\/atmokpo.com\/w\/category\/%ea%b0%95%ed%99%94%ed%95%99%ec%8a%b5\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":25800,"url":"https:\/\/atmokpo.com\/w\/25800\/","url_meta":{"origin":40442,"position":5},"title":"\uc2a4\uc704\ud504\ud2b8\ub85c SwiftUI \ubc29\uc2dd\uc758 \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c: 14 \ube44\ub514\uc624 \uc7ac\uc0dd \uc571 \ub9cc\ub4e4\uae30","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c \uc18c\uac1c \uc560\ud50c\uc758 SwiftUI\ub294 \ud604\ub300\uc801\uc778 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uac04\uc18c\ud654\ud558\uc5ec \uac1c\ubc1c\uc790\uac00 \uc571\uc744 \uc2e0\uc18d\ud558\uac8c \ub9cc\ub4e4 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc8fc\ub294 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 SwiftUI\ub97c \uc0ac\uc6a9\ud558\uc5ec iPhone\uc5d0\uc11c \ube44\ub514\uc624\ub97c \uc7ac\uc0dd\ud560 \uc218 \uc788\ub294 \uc571\uc744 \ub9cc\ub4dc\ub294 \ubc29\ubc95\uc744 \ubc30\uc6b0\uac8c \ub429\ub2c8\ub2e4. \uc774 \uc571\uc740 \uc0ac\uc6a9\uc790\uac00 \ube44\ub514\uc624\ub97c \uac80\uc0c9\ud558\uace0 \uc120\ud0dd\ud560 \uc218 \uc788\uc73c\uba70, \uc6d0\ud65c\ud55c \uc7ac\uc0dd \uacbd\ud5d8\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ud544\uc694\ud55c \ub3c4\uad6c\uc640 \ud658\uacbd\u2026","rel":"","context":"&quot;\uc2a4\uc704\ud504\ud2b8 \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c (SwiftUI)&quot;\uc5d0\uc11c","block_context":{"text":"\uc2a4\uc704\ud504\ud2b8 \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c (SwiftUI)","link":"https:\/\/atmokpo.com\/w\/category\/%ec%8a%a4%ec%9c%84%ed%94%84%ed%8a%b8-%ec%95%84%ec%9d%b4%ed%8f%b0%ec%95%b1-%ea%b0%9c%eb%b0%9c-swiftui\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/40442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=40442"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/40442\/revisions"}],"predecessor-version":[{"id":40443,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/40442\/revisions\/40443"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=40442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=40442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=40442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}