{"id":7550,"date":"2019-07-16T11:20:14","date_gmt":"2019-07-16T02:20:14","guid":{"rendered":"http:\/\/www.gisdeveloper.co.kr\/?p=7550"},"modified":"2020-05-28T10:21:52","modified_gmt":"2020-05-28T01:21:52","slug":"%ed%99%9c%ec%84%b1%ed%99%94-%ed%95%a8%ec%88%98activation-function","status":"publish","type":"post","link":"http:\/\/www.gisdeveloper.co.kr\/?p=7550","title":{"rendered":"\ud65c\uc131\ud654 \ud568\uc218(Activation Function)"},"content":{"rendered":"<p>\ud65c\uc131\ud654\ud568\uc218\ub294 \uc785\ub825\uac12\uc774 \ud2b9\uc815 \ub274\ub7f0\uc5d0\uc11c \ucc98\ub9ac\ub418\uc5b4 \uacb0\uacfc\uac12\uc744 \uc0dd\uc131\ud560\ub54c \uc801\uc6a9\ub418\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. \ud65c\uc131\ud654 \ud568\uc218\ub85c \uc774 \uae00\uc5d0\uc11c\ub294 3\uac00\uc9c0\ub97c \uc5b8\uae09\ud558\ub294\ub370 \uccab\uc9f8\ub294 \uacc4\ub2e8\ud568\uc218, \ub458\uc9f8\ub294 \uc2dc\uadf8\ubaa8\uc774\ub4dc \ud568\uc218, \uc14b\uc9f8\ub294 ReLU \ud568\uc218\uc785\ub2c8\ub2e4. \uac01 \ud65c\uc131\ud654 \ud568\uc218\uc758 \uc218\uc2dd\uacfc \uadf8\ub798\ud504\ub97c \uc0b4\ud3b4\ubcf4\uba74 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<h4>\uc2dc\uadf8\ubaa8\uc774\ub4dc \ud568\uc218(Sigmoid Function)<\/h4>\n<p><center><\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 47px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.gisdeveloper.co.kr\/wp-content\/ql-cache\/quicklatex.com-88ccb8ded50fea8985195670c844b6ad_l3.png\" height=\"47\" width=\"139\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#36;&#36;&#104;&#40;&#120;&#41;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#49;&#43;&#101;&#94;&#123;&#45;&#120;&#125;&#125;&#36;&#36;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p><\/center><\/p>\n<p>\uc704\uc758 \uc2dd\uc744 \uadf8\ub798\ud504\ub85c \uc2dc\uac01\ud654\ud558\uae30 \uc704\ud55c \ucf54\ub4dc\ub294 \uc544\ub798\uc640 \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">\r\nimport numpy as np\r\nimport matplotlib.pylab as plt\r\n\r\ndef sigmoid(x):\r\n    return 1 \/ (1 + np.exp(-x))\r\n\r\nx = np.arange(-10.0, 10, 0.1)\r\ny = sigmoid(x)\r\n\r\nplt.plot(x, y)\r\nplt.show()\r\n<\/pre>\n<p>\uacb0\uacfc \uadf8\ub798\ud504\ub294 \uc544\ub798\uc640 \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.gisdeveloper.co.kr\/wp-content\/uploads\/2019\/07\/sigmoid_graph.png\" alt=\"\" width=\"1918\" height=\"1082\" class=\"aligncenter size-full wp-image-7554\" \/><\/p>\n<h4>\uacc4\ub2e8\ud568\uc218(Step Function)<\/h4>\n<p><center><\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 64px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.gisdeveloper.co.kr\/wp-content\/ql-cache\/quicklatex.com-a12069969dc674a83888e53ca5d1bc8e_l3.png\" height=\"64\" width=\"204\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#36;&#36;&#104;&#40;&#120;&#41;&#61;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#99;&#97;&#115;&#101;&#115;&#125; &#32;&#32;&#32;&#32;&#48;&#32;&#32;&#38;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#40;&#120;&#32;&#92;&#108;&#101;&#113;&#32;&#48;&#41;&#92;&#92; &#32;&#32;&#32;&#32;&#49;&#32;&#32;&#38;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#40;&#120;&#32;&#62;&#32;&#48;&#41; &#32;&#32;&#92;&#101;&#110;&#100;&#123;&#99;&#97;&#115;&#101;&#115;&#125;&#36;&#36;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p><\/center><\/p>\n<p>\uc704\uc758 \uc2dd\uc744 \uadf8\ub798\ud504\ub85c \uc2dc\uac01\ud654\ud558\uae30 \uc704\ud55c \ucf54\ub4dc\ub294 \uc544\ub798\uc640 \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">\r\nimport numpy as np\r\nimport matplotlib.pylab as plt\r\n\r\ndef step(x):\r\n    return np.array(x > 0, dtype=np.int)\r\n\r\nx = np.arange(-10.0, 10, 0.1)\r\ny = step(x)\r\n\r\nplt.plot(x, y)\r\nplt.show()\r\n<\/pre>\n<p>\uacb0\uacfc \uadf8\ub798\ud504\ub294 \uc544\ub798\uc640 \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.gisdeveloper.co.kr\/wp-content\/uploads\/2019\/07\/step_graph.png\" alt=\"\" width=\"1918\" height=\"988\" class=\"aligncenter size-full wp-image-7563\" \/><\/p>\n<h4>ReLU<\/h4>\n<p><center><\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 64px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.gisdeveloper.co.kr\/wp-content\/ql-cache\/quicklatex.com-3d476edd4a9d2e312ac9f26d1b84d63b_l3.png\" height=\"64\" width=\"206\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#36;&#36;&#104;&#40;&#120;&#41;&#61;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#99;&#97;&#115;&#101;&#115;&#125; &#32;&#32;&#32;&#32;&#48;&#32;&#32;&#38;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#40;&#120;&#32;&#92;&#108;&#101;&#113;&#32;&#48;&#41;&#92;&#92; &#32;&#32;&#32;&#32;&#120;&#32;&#32;&#38;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#40;&#120;&#32;&#62;&#32;&#48;&#41; &#32;&#32;&#92;&#101;&#110;&#100;&#123;&#99;&#97;&#115;&#101;&#115;&#125;&#36;&#36;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p><\/center><\/p>\n<p>\uc704\uc758 \uc2dd\uc744 \uadf8\ub798\ud504\ub85c \uc2dc\uac01\ud654\ud558\uae30 \uc704\ud55c \ucf54\ub4dc\ub294 \uc544\ub798\uc640 \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">\r\nimport numpy as np\r\nimport matplotlib.pylab as plt\r\n\r\ndef ReLU(x):\r\n    return np.maximum(0, x)\r\n\r\nx = np.arange(-10.0, 10, 0.1)\r\ny = ReLU(x)\r\n\r\nplt.plot(x, y)\r\nplt.show()\r\n<\/pre>\n<p>\uacb0\uacfc \uadf8\ub798\ud504\ub294 \uc544\ub798\uc640 \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.gisdeveloper.co.kr\/wp-content\/uploads\/2019\/07\/ReLU_graph.png\" alt=\"\" width=\"1918\" height=\"1092\" class=\"aligncenter size-full wp-image-7566\" \/><\/p>\n<h4>Softmax<\/h4>\n<p>\ubaa8\ub378\uc758 \ub9c8\uc9c0\ub9c9 \uad6c\uc131\uc778 \ucd9c\ub825\uce35\uc5d0\uc11c \uc785\ub825 \ub370\uc774\ud130\uac00 \uc5b4\ub5a4 \ud074\ub798\uc2a4\ub85c \ubd84\ub958\ub418\ub294\uc9c0\uc5d0 \ub300\ud55c \ud655\ub960\uac12\uc73c\ub85c\uc368 \uc0ac\uc6a9\ub418\ub294 \ud65c\uc131\ud654 \ud568\uc218\ub85c \uc2dd\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<p><center><\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 91px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.gisdeveloper.co.kr\/wp-content\/ql-cache\/quicklatex.com-688bac55e629e1016c0eaacfe5487f36_l3.png\" height=\"91\" width=\"151\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#36;&#36;&#121;&#95;&#123;&#107;&#125;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#101;&#120;&#112;&#40;&#97;&#95;&#123;&#107;&#125;&#41;&#125;&#123;&#92;&#100;&#105;&#115;&#112;&#108;&#97;&#121;&#115;&#116;&#121;&#108;&#101;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#123;&#110;&#125;&#32;&#123;&#92;&#101;&#120;&#112;&#40;&#97;&#95;&#123;&#105;&#125;&#41;&#125;&#125;&#36;&#36;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p><\/center><\/p>\n<p>\uacb0\uacfc\uc801\uc73c\ub85c \uac01 \ucd9c\ub825\uac12\ub4e4\uc758 \ud569\uc740 1\ub85c\uc368 \uac01 \ucd9c\ub825\uac12\uc744 \ud655\ub960\ub85c \ud574\uc11d\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h4>\uc30d\uace1\ud0c4\uc820\ud2b8(Hyperbolic Tangent)<\/h4>\n<p>\ud65c\uc131\ud654 \ud568\uc218\ub85c \uc0ac\uc6a9\ub418\ub294 \uc2e0\uacbd\ub9dd\uc740 \ub300\ud45c\uc801\uc73c\ub85c RNN\uc785\ub2c8\ub2e4. RNN\uc740 \uc21c\ud658\uc2e0\uacbd\ub9dd(Recurrent Network Network)\uc785\ub2c8\ub2e4. \uc218\uc2dd\uc740 \uc544\ub798\uc640 \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<p><center><\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 45px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.gisdeveloper.co.kr\/wp-content\/ql-cache\/quicklatex.com-4ddfe5c6c236bac61affc0621146395b_l3.png\" height=\"45\" width=\"181\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#36;&#36;&#116;&#97;&#110;&#104;&#40;&#120;&#41;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#101;&#94;&#123;&#120;&#125;&#45;&#101;&#94;&#123;&#45;&#120;&#125;&#125;&#123;&#101;&#94;&#123;&#120;&#125;&#43;&#101;&#94;&#123;&#45;&#120;&#125;&#125;&#36;&#36;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p><\/center><\/p>\n<p>\uadf8\ub798\ud504\ub85c \uadf8\ub824\ubcf4\uba74 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.gisdeveloper.co.kr\/wp-content\/uploads\/2019\/07\/tanh.png\" alt=\"\" width=\"1619\" height=\"1389\" class=\"aligncenter size-full wp-image-8266\" \/><\/p>\n<p>\uc2e0\uacbd\ub9dd\uc5d0\uc11c\uc758 \ud65c\uc131\ud654\ud568\uc218\ub294 \uac01 \ub274\ub7f0\uacc4\uce35\uc758 \uac12\uc744 \uadf8 \ub2e4\uc74c \ub274\ub7f0\uacc4\uce35\uc73c\ub85c \uc804\ub2ec\ud560\ub54c \ube44\uc120\ud615\uc131\uc744 \ubd80\uc5ec\ud574\uc8fc\uac8c \ub429\ub2c8\ub2e4. \uc989, \ud65c\uc131\ud654\ud568\uc218\ub294 \ubc18\ub4dc\uc2dc \ube44\uc120\ud615\ud664\uc218\uc5ec\uc57c \ud558\uba70 \uc190\uc2e4\uac12\uc758 \ucd5c\uc18c\ud654\ub97c \uc704\ud55c \uacbd\uc0ac\ud558\uac15\ubc95\uc744 \uc704\ud574 \ubc18\ub4dc\uc2dc \ubbf8\ubd84 \uac00\ub2a5\ud55c \ud568\uc218\uc5ec\uc57c \ud569\ub2c8\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud65c\uc131\ud654\ud568\uc218\ub294 \uc785\ub825\uac12\uc774 \ud2b9\uc815 \ub274\ub7f0\uc5d0\uc11c \ucc98\ub9ac\ub418\uc5b4 \uacb0\uacfc\uac12\uc744 \uc0dd\uc131\ud560\ub54c \uc801\uc6a9\ub418\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. \ud65c\uc131\ud654 \ud568\uc218\ub85c \uc774 \uae00\uc5d0\uc11c\ub294 3\uac00\uc9c0\ub97c \uc5b8\uae09\ud558\ub294\ub370 \uccab\uc9f8\ub294 \uacc4\ub2e8\ud568\uc218, \ub458\uc9f8\ub294 \uc2dc\uadf8\ubaa8\uc774\ub4dc \ud568\uc218, \uc14b\uc9f8\ub294 ReLU \ud568\uc218\uc785\ub2c8\ub2e4. \uac01 \ud65c\uc131\ud654 \ud568\uc218\uc758 \uc218\uc2dd\uacfc \uadf8\ub798\ud504\ub97c \uc0b4\ud3b4\ubcf4\uba74 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4. \uc2dc\uadf8\ubaa8\uc774\ub4dc \ud568\uc218(Sigmoid Function) &nbsp; &nbsp; \uc704\uc758 \uc2dd\uc744 \uadf8\ub798\ud504\ub85c \uc2dc\uac01\ud654\ud558\uae30 \uc704\ud55c \ucf54\ub4dc\ub294 \uc544\ub798\uc640 \uac19\uc2b5\ub2c8\ub2e4. import numpy as np import matplotlib.pylab as plt def sigmoid(x): return &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.gisdeveloper.co.kr\/?p=7550\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ud65c\uc131\ud654 \ud568\uc218(Activation Function)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[132],"tags":[],"class_list":["post-7550","post","type-post","status-publish","format-standard","hentry","category-deep-machine-learning"],"_links":{"self":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/7550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7550"}],"version-history":[{"count":20,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/7550\/revisions"}],"predecessor-version":[{"id":9396,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/7550\/revisions\/9396"}],"wp:attachment":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7550"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}