{"id":29980,"date":"2024-10-28T03:18:59","date_gmt":"2024-10-28T03:18:59","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=29980"},"modified":"2024-11-26T06:50:34","modified_gmt":"2024-11-26T06:50:34","slug":"%eb%94%a5%eb%9f%ac%eb%8b%9d-%ed%8c%8c%ec%9d%b4%ed%86%a0%ec%b9%98-%ea%b0%95%ec%a2%8c-%eb%b2%a8%eb%a7%8c-%ec%b5%9c%ec%a0%81-%eb%b0%a9%ec%a0%95%ec%8b%9d","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/29980\/","title":{"rendered":"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c,  \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd"},"content":{"rendered":"<p><body><\/p>\n<p>\ub525\ub7ec\ub2dd\uacfc \uac15\ud654\ud559\uc2b5\uc758 \uc870\ud569\uc774 \ub0a0\ub85c \ubc1c\uc804\ud558\uace0 \uc788\ub294 \uac00\uc6b4\ub370, \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd(Bellman Optimum Equation)\uc740 \uac15\ud654\ud559\uc2b5\uc758 \ud575\uc2ec \uac1c\ub150 \uc911 \ud558\ub098\ub85c \uc790\ub9ac \uc7a1\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uac8c\uc2dc\ubb3c\uc5d0\uc11c\ub294 \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd\uc758 \uae30\ubcf8 \uc6d0\ub9ac, \ub525\ub7ec\ub2dd\uc744 \ud65c\uc6a9\ud55c \uad6c\ud604 \ubc29\ubc95 \uadf8\ub9ac\uace0 \ud30c\uc774\ud1a0\uce58(PyTorch)\ub97c \uc774\uc6a9\ud55c \ucf54\ub4dc \uc608\uc81c\ub97c \uc790\uc138\ud788 \ub2e4\ub8e8\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd \uc774\ud574\ud558\uae30<\/h2>\n<p>\ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd\uc740 \ub9c8\ub974\ucf54\ud504 \uacb0\uc815 \uacfc\uc815(Markov Decision Process, MDP)\uc758 \uac01 \uc0c1\ud0dc\uc5d0\uc11c \ucd5c\uc801\uc758 \ud589\ub3d9\uc744 \uc120\ud0dd\ud558\ub294 \ubc29\ubc95\uc744 \uc815\uc758\ud569\ub2c8\ub2e4. \uc774 \ubc29\uc815\uc2dd\uc740 \ubbf8\ub798 \ubcf4\uc0c1\uc758 \ucd1d\ud569\uc744 \ucd5c\ub300\ud654\ud558\uace0\uc790 \ud560 \ub54c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>1.1 \ub9c8\ub974\ucf54\ud504 \uacb0\uc815 \uacfc\uc815(MDP)<\/h3>\n<p>MDP\ub294 \ub2e4\uc74c\uc758 4\uac00\uc9c0 \uc694\uc18c\ub85c \uad6c\uc131\ub429\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>S:<\/strong> \uc0c1\ud0dc \uc9d1\ud569 (State space)<\/li>\n<li><strong>A:<\/strong> \ud589\ub3d9 \uc9d1\ud569 (Action space)<\/li>\n<li><strong>P:<\/strong> \uc0c1\ud0dc \uc804\uc774 \ud655\ub960 (Transition probability)<\/li>\n<li><strong>R:<\/strong> \ubcf4\uc0c1 \ud568\uc218 (Reward function)<\/li>\n<\/ul>\n<h3>1.2 \ubca8\ub9cc \ubc29\uc815\uc2dd<\/h3>\n<p>\ubca8\ub9cc \ubc29\uc815\uc2dd\uc740 \ud2b9\uc815 \uc0c1\ud0dc <code>s<\/code>\uc5d0\uc11c \ucd5c\uc801\uc758 \ud589\ub3d9\uc744 \uc120\ud0dd\ud560 \ub54c, \ud604\uc7ac \uc0c1\ud0dc\uc758 \uac00\uce58\ub294 \ub2e4\uc74c\uc758 \uc2dd\uc73c\ub85c \ud45c\ud604\ub429\ub2c8\ub2e4:<\/p>\n<pre><code>V(s) = max_a [R(s,a) + \u03b3 * \u03a3 P(s'|s,a) * V(s')]<\/code><\/pre>\n<p>\uc5ec\uae30\uc11c:<\/p>\n<ul>\n<li><code>V(s)<\/code>\ub294 \uc0c1\ud0dc <code>s<\/code>\uc758 \uac00\uce58<\/li>\n<li><code>a<\/code>\ub294 \uac00\ub2a5\ud55c \ud589\ub3d9<\/li>\n<li><code>\u03b3<\/code>\ub294 \ud560\uc778 \uc778\uc790 (0 \u2264 \u03b3 &lt; 1)<\/li>\n<li><code>P(s'|s,a)<\/code>\ub294 \uc0c1\ud0dc <code>s<\/code>\uc5d0\uc11c \ud589\ub3d9 <code>a<\/code>\ub97c \ucde8\ud588\uc744 \ub54c \ub2e4\uc74c \uc0c1\ud0dc <code>s'<\/code>\ub85c \uc804\uc774\ub420 \ud655\ub960<\/li>\n<li><code>R(s,a)<\/code>\ub294 \ud604\uc7ac \uc0c1\ud0dc\uc5d0\uc11c \ud589\ub3d9 <code>a<\/code>\ub97c \ucde8\ud588\uc744 \ub54c\uc758 \ubcf4\uc0c1<\/li>\n<\/ul>\n<h2>2. \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd\uacfc \ub525\ub7ec\ub2dd<\/h2>\n<p>\ub525\ub7ec\ub2dd\uc744 \uac15\ud654\ud559\uc2b5\uc5d0 \uc811\ubaa9\ud560 \ub54c, \uc8fc\ub85c Q-\ub7ec\ub2dd(Q-learning)\uacfc \uac19\uc740 \uae30\ubc95\uc744 \uc0ac\uc6a9\ud558\uc5ec \ubca8\ub9cc \ubc29\uc815\uc2dd\uc744 \uadfc\uc0ac\ud654\ud569\ub2c8\ub2e4. \uc5ec\uae30\uc11c Q-\ud568\uc218\ub294 \ud2b9\uc815 \uc0c1\ud0dc\uc5d0\uc11c \ud2b9\uc815 \ud589\ub3d9\uc744 \ucde8\ud588\uc744 \ub54c \uae30\ub300\ub418\ub294 \ubcf4\uc0c1\uc744 \ub098\ud0c0\ub0c5\ub2c8\ub2e4.<\/p>\n<h3>2.1 Q-\ud559\uc2b5\uc758 \ubca8\ub9cc \ubc29\uc815\uc2dd<\/h3>\n<p>Q-\ud559\uc2b5\uc758 \uacbd\uc6b0 \ubca8\ub9cc \ubc29\uc815\uc2dd\uc740 \ub2e4\uc74c\uacfc \uac19\uc774 \ud45c\ud604\ub429\ub2c8\ub2e4:<\/p>\n<pre><code>Q(s,a) = R(s,a) + \u03b3 * max_a' Q(s',a')<\/code><\/pre>\n<h2>3. \ud30c\uc774\uc36c\uacfc \ud30c\uc774\ud1a0\uce58\ub85c \ubca8\ub9cc \ubc29\uc815\uc2dd \uad6c\ud604\ud558\uae30<\/h2>\n<p>\uc774\ubc88 \uc139\uc158\uc5d0\uc11c\ub294 \ud30c\uc774\ud1a0\uce58\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c Q-\ud559\uc2b5 \uc5d0\uc774\uc804\ud2b8\ub97c \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>3.1 \ud658\uacbd \uc900\ube44\ud558\uae30<\/h3>\n<p>\uc6b0\uc120, \ud544\uc694\ud55c \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc124\uce58\ud569\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc740 \ub77c\uc774\ube0c\ub7ec\ub9ac\uac00 \ud544\uc694\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>pip install torch numpy gym<\/code><\/pre>\n<h3>3.2 Q-\ub124\ud2b8\uc6cc\ud06c \uc815\uc758\ud558\uae30<\/h3>\n<p>\ub2e4\uc74c\uc73c\ub85c Q-\ub124\ud2b8\uc6cc\ud06c\ub97c \uc815\uc758\ud569\ub2c8\ub2e4. \uc774\ub294 \ud30c\uc774\ud1a0\uce58\uc758 \uc2e0\uacbd\ub9dd(neural network)\uc744 \uc774\uc6a9\ud574 \uad6c\ud604\ud560 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<pre><code>import torch\nimport torch.nn as nn\nimport numpy as np\n\nclass QNetwork(nn.Module):\n    def __init__(self, state_dim, action_dim):\n        super(QNetwork, self).__init__()\n        self.fc1 = nn.Linear(state_dim, 64)\n        self.fc2 = nn.Linear(64, 64)\n        self.fc3 = nn.Linear(64, action_dim)\n\n    def forward(self, x):\n        x = torch.relu(self.fc1(x))\n        x = torch.relu(self.fc2(x))\n        return self.fc3(x)<\/code><\/pre>\n<h3>3.3 \uc5d0\uc774\uc804\ud2b8 \ud074\ub798\uc2a4 \uc815\uc758\ud558\uae30<\/h3>\n<p>Q-\ud559\uc2b5 \uc54c\uace0\ub9ac\uc998\uc744 \uc218\ud589\ud560 \uc5d0\uc774\uc804\ud2b8 \ud074\ub798\uc2a4\ub97c \uc815\uc758\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>class Agent:\n    def __init__(self, state_dim, action_dim, learning_rate=0.001, gamma=0.99):\n        self.action_dim = action_dim\n        self.gamma = gamma\n        self.q_network = QNetwork(state_dim, action_dim)\n        self.optimizer = torch.optim.Adam(self.q_network.parameters(), lr=learning_rate)\n\n    def choose_action(self, state, epsilon):\n        if np.random.rand() &lt; epsilon:  # explore\n            return np.random.choice(self.action_dim)\n        else:  # exploit\n            state_tensor = torch.FloatTensor(state)\n            with torch.no_grad():\n                q_values = self.q_network(state_tensor)\n            return torch.argmax(q_values).item()\n\n    def learn(self, state, action, reward, next_state, done):\n        state_tensor = torch.FloatTensor(state)\n        next_state_tensor = torch.FloatTensor(next_state)\n\n        q_values = self.q_network(state_tensor)\n        target = reward + (1-done) * self.gamma * torch.max(self.q_network(next_state_tensor))\n\n        loss = nn.MSELoss()(q_values[action], target)\n\n        self.optimizer.zero_grad()\n        loss.backward()\n        self.optimizer.step()<\/code><\/pre>\n<h3>3.4 \ud6c8\ub828 \uacfc\uc815 \uc815\uc758\ud558\uae30<\/h3>\n<p>\uc774\uc81c \uc5d0\uc774\uc804\ud2b8\ub97c \ud6c8\ub828\uc2dc\ud0a4\ub294 \uacfc\uc815\uc744 \uc815\uc758\ud569\ub2c8\ub2e4. OpenAI\uc758 Gym \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc0ac\uc6a9\ud574 \uac04\ub2e8\ud55c \ud658\uacbd\uc744 \uc124\uc815\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>import gym\n\ndef train_agent(episodes=1000):\n    env = gym.make('CartPole-v1')\n    agent = Agent(state_dim=4, action_dim=2)\n\n    for episode in range(episodes):\n        state = env.reset()\n        done = False\n        total_reward = 0\n        epsilon = max(0.1, 1.0 - episode \/ 500)  # epsilon-greedy \ucee4\ub2e4\ub780 \ubcc0\ub3d9\uc131\uc744 \uc8fc\uae30 \uc704\ud568\n\n        while not done:\n            action = agent.choose_action(state, epsilon)\n            next_state, reward, done, _ = env.step(action)\n            agent.learn(state, action, reward, next_state, done)\n            state = next_state\n            total_reward += reward\n\n        print(f'Episode: {episode}, Total Reward: {total_reward}')\n\n    env.close()\n\n# \ud6c8\ub828 \uc2dc\uc791\ntrain_agent()<\/code><\/pre>\n<h2>4. \uacb0\uacfc \ubd84\uc11d \ubc0f \uacb0\ub860<\/h2>\n<p>\ud6c8\ub828\uc774 \uc644\ub8cc\ub41c \ud6c4, \uc5d0\uc774\uc804\ud2b8\uac00 CartPole \ud658\uacbd\uc5d0\uc11c \uc798 \uc218\ud589\ud558\ub294\uc9c0 \uc2dc\uac01\ud654\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uad50\uc721 \uacfc\uc815 \ub3d9\uc548, \uc5d0\uc774\uc804\ud2b8\uac00 \uc5b4\ub5bb\uac8c \ud589\ub3d9\ud558\uace0 \uc131\ub2a5\uc744 \uac1c\uc120\ud558\ub294\uc9c0\ub97c \uad00\ucc30\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd\uc744 \ud1b5\ud574 \uac15\uc870\ub41c \ucd5c\uc801\uc758 \uacbd\ub85c\ub97c \ub530\ub978\ub2e4\ub294 \uac1c\ub150\uc740 \ub525\ub7ec\ub2dd\uacfc \ud568\uaed8 \uc0ac\uc6a9\ub420 \ub54c \ub354\uc6b1 \uac15\ub825\ud569\ub2c8\ub2e4.<\/p>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd\uc758 \uac1c\ub150\uc744 \uc774\ud574\ud558\uace0, \uc774\ub97c \ud30c\uc774\ud1a0\uce58\uc640 \ud568\uaed8 \ud65c\uc6a9\ud558\uc5ec Q-\ud559\uc2b5 \uc5d0\uc774\uc804\ud2b8\ub97c \uad6c\ud604\ud558\ub294 \uacfc\uc815\uc744 \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \ubca8\ub9cc \ubc29\uc815\uc2dd\uc740 \uac15\ud654\ud559\uc2b5\uc758 \uadfc\ubcf8\uc801\uc778 \uc6d0\ub9ac\ub85c, \uc5ec\ub7ec \uc751\uc6a9 \ubd84\uc57c\uc5d0\uc11c \uc911\uc694\ud558\uac8c \ud65c\uc6a9\ub418\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc55e\uc73c\ub85c\uc758 \ub525\ub7ec\ub2dd \ubc0f \uac15\ud654\ud559\uc2b5 \uc5ec\uc815\uc5d0 \ud070 \ub3c4\uc6c0\uc774 \ub418\uae38 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<p><\/p>\n<footer>\n<p>\uc774 \uae00\uc740 \ub525\ub7ec\ub2dd\uacfc \uac15\ud654\ud559\uc2b5\uc758 \uc774\ud574\ub97c \ub3d5\uae30 \uc704\ud574 \uc791\uc131\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \ub2e4\uc591\ud55c \uc608\uc81c\uc640 \ud568\uaed8 \ud070 \ub3c4\uc6c0\uc774 \ub418\uc5c8\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<\/footer>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ub525\ub7ec\ub2dd\uacfc \uac15\ud654\ud559\uc2b5\uc758 \uc870\ud569\uc774 \ub0a0\ub85c \ubc1c\uc804\ud558\uace0 \uc788\ub294 \uac00\uc6b4\ub370, \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd(Bellman Optimum Equation)\uc740 \uac15\ud654\ud559\uc2b5\uc758 \ud575\uc2ec \uac1c\ub150 \uc911 \ud558\ub098\ub85c \uc790\ub9ac \uc7a1\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uac8c\uc2dc\ubb3c\uc5d0\uc11c\ub294 \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd\uc758 \uae30\ubcf8 \uc6d0\ub9ac, \ub525\ub7ec\ub2dd\uc744 \ud65c\uc6a9\ud55c \uad6c\ud604 \ubc29\ubc95 \uadf8\ub9ac\uace0 \ud30c\uc774\ud1a0\uce58(PyTorch)\ub97c \uc774\uc6a9\ud55c \ucf54\ub4dc \uc608\uc81c\ub97c \uc790\uc138\ud788 \ub2e4\ub8e8\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd \uc774\ud574\ud558\uae30 \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd\uc740 \ub9c8\ub974\ucf54\ud504 \uacb0\uc815 \uacfc\uc815(Markov Decision Process, MDP)\uc758 \uac01 \uc0c1\ud0dc\uc5d0\uc11c &hellip; <a href=\"https:\/\/atmokpo.com\/w\/29980\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c,  \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd&#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":[33],"tags":[],"class_list":["post-29980","post","type-post","status-publish","format-standard","hentry","category-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd - \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\/29980\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ub525\ub7ec\ub2dd\uacfc \uac15\ud654\ud559\uc2b5\uc758 \uc870\ud569\uc774 \ub0a0\ub85c \ubc1c\uc804\ud558\uace0 \uc788\ub294 \uac00\uc6b4\ub370, \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd(Bellman Optimum Equation)\uc740 \uac15\ud654\ud559\uc2b5\uc758 \ud575\uc2ec \uac1c\ub150 \uc911 \ud558\ub098\ub85c \uc790\ub9ac \uc7a1\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uac8c\uc2dc\ubb3c\uc5d0\uc11c\ub294 \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd\uc758 \uae30\ubcf8 \uc6d0\ub9ac, \ub525\ub7ec\ub2dd\uc744 \ud65c\uc6a9\ud55c \uad6c\ud604 \ubc29\ubc95 \uadf8\ub9ac\uace0 \ud30c\uc774\ud1a0\uce58(PyTorch)\ub97c \uc774\uc6a9\ud55c \ucf54\ub4dc \uc608\uc81c\ub97c \uc790\uc138\ud788 \ub2e4\ub8e8\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd \uc774\ud574\ud558\uae30 \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd\uc740 \ub9c8\ub974\ucf54\ud504 \uacb0\uc815 \uacfc\uc815(Markov Decision Process, MDP)\uc758 \uac01 \uc0c1\ud0dc\uc5d0\uc11c &hellip; \ub354 \ubcf4\uae30 &quot;\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/29980\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-28T03:18:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:50:34+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=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/29980\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/29980\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd\",\"datePublished\":\"2024-10-28T03:18:59+00:00\",\"dateModified\":\"2024-11-26T06:50:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/29980\/\"},\"wordCount\":38,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\ud30c\uc774\ud1a0\uce58 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/29980\/\",\"url\":\"https:\/\/atmokpo.com\/w\/29980\/\",\"name\":\"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-28T03:18:59+00:00\",\"dateModified\":\"2024-11-26T06:50:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/29980\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/29980\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/29980\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd\"}]},{\"@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":"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd - \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\/29980\/","og_locale":"ko_KR","og_type":"article","og_title":"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\ub525\ub7ec\ub2dd\uacfc \uac15\ud654\ud559\uc2b5\uc758 \uc870\ud569\uc774 \ub0a0\ub85c \ubc1c\uc804\ud558\uace0 \uc788\ub294 \uac00\uc6b4\ub370, \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd(Bellman Optimum Equation)\uc740 \uac15\ud654\ud559\uc2b5\uc758 \ud575\uc2ec \uac1c\ub150 \uc911 \ud558\ub098\ub85c \uc790\ub9ac \uc7a1\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uac8c\uc2dc\ubb3c\uc5d0\uc11c\ub294 \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd\uc758 \uae30\ubcf8 \uc6d0\ub9ac, \ub525\ub7ec\ub2dd\uc744 \ud65c\uc6a9\ud55c \uad6c\ud604 \ubc29\ubc95 \uadf8\ub9ac\uace0 \ud30c\uc774\ud1a0\uce58(PyTorch)\ub97c \uc774\uc6a9\ud55c \ucf54\ub4dc \uc608\uc81c\ub97c \uc790\uc138\ud788 \ub2e4\ub8e8\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd \uc774\ud574\ud558\uae30 \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd\uc740 \ub9c8\ub974\ucf54\ud504 \uacb0\uc815 \uacfc\uc815(Markov Decision Process, MDP)\uc758 \uac01 \uc0c1\ud0dc\uc5d0\uc11c &hellip; \ub354 \ubcf4\uae30 \"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd\"","og_url":"https:\/\/atmokpo.com\/w\/29980\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-28T03:18:59+00:00","article_modified_time":"2024-11-26T06:50:34+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":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/29980\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/29980\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd","datePublished":"2024-10-28T03:18:59+00:00","dateModified":"2024-11-26T06:50:34+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/29980\/"},"wordCount":38,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\ud30c\uc774\ud1a0\uce58 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/29980\/","url":"https:\/\/atmokpo.com\/w\/29980\/","name":"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-28T03:18:59+00:00","dateModified":"2024-11-26T06:50:34+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/29980\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/29980\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/29980\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \ubca8\ub9cc \ucd5c\uc801 \ubc29\uc815\uc2dd"}]},{"@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":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/29980","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=29980"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/29980\/revisions"}],"predecessor-version":[{"id":29981,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/29980\/revisions\/29981"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=29980"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=29980"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=29980"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}