{"width":"100%","provider_name":"Hatena Blog","author_name":"kaeken","image_url":null,"provider_url":"https://hatena.blog","version":"1.0","categories":["Python","Deep Learning"],"type":"rich","height":"190","blog_url":"https://kaeken.hatenablog.com/","url":"https://kaeken.hatenablog.com/entry/2016/11/05/181846","published":"2016-11-05 18:18:46","author_url":"https://blog.hatena.ne.jp/kaeken/","blog_title":"kaeken(\u5609\u6c38\u5cf6\u5065\u53f8)\u30d6\u30ed\u30b0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkaeken.hatenablog.com%2Fentry%2F2016%2F11%2F05%2F181846\" title=\"Python\u3067\u81ea\u4f5c\u95a2\u6570\u3092\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u3057\u3066\u8aad\u307f\u8fbc\u3080 - kaeken(\u5609\u6c38\u5cf6\u5065\u53f8)\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u53c2\u8003\uff1a Python3\u306eimport\u30fb\u4e0b\u4f4d/\u4e0a\u4f4d\u968e\u5c64\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u305f\u3044\u3010import\u3011\u3010Python3\u3011 - DRY\u306a\u5099\u5fd8\u9332 \u300e\u30bc\u30ed\u304b\u3089\u4f5c\u308bDeep Learning\u300f\u3067\u81ea\u4f5c\u95a2\u6570\u304c\u3060\u3093\u3060\u3093\u8aac\u660e\u306a\u3057\u306b\u4f7f\u308f\u308c\u3066\u3044\u304f\u306e\u3067\u3001\u3044\u3063\u305f\u3093\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u307e\u3068\u3081\u3066\u8aad\u307f\u8fbc\u3080\u3053\u3068\u306b\u3059\u308b\u3002 \u672c\u756a\u74b0\u5883\u306a\u3089\u3069\u3053\u306b\u914d\u7f6e\u3059\u308b\u304b\u8003\u3048\u308b\u5fc5\u8981\u306f\u3042\u308b\u304c\u3001\u3072\u3068\u307e\u305a\u540c\u4e00\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306bmy_module.py\u3068\u3057\u3066\u307e\u3068\u3081\u3066\u304a\u304f\u3002 $ cat my_module.py # \u81ea\u4f5c\u95a2\u6570\u3092\u307e\u3068\u3081\u305f\u30e2\u30b8\u30e5\u30fc\u30eb import numpy as np def step(x): #step\u95a2\u6570 return np.array(x > 0, d\u2026","title":"Python\u3067\u81ea\u4f5c\u95a2\u6570\u3092\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u3057\u3066\u8aad\u307f\u8fbc\u3080"}