{"id":18106,"date":"2022-11-30T08:04:04","date_gmt":"2022-11-30T08:04:04","guid":{"rendered":"https:\/\/club.informatix.co.jp\/?p=18106"},"modified":"2024-11-01T09:19:42","modified_gmt":"2024-11-01T09:19:42","slug":"numpy%e3%81%a7%e8%a1%8c%e5%88%97%e3%80%80%e5%9b%9e%e5%b8%b0%e5%88%86%e6%9e%90-%e3%81%9d%e3%81%ae6-%e6%9c%80%e5%b0%8f2%e4%b9%97%e6%b3%95%ef%bd%9cpython%e3%81%a7%e6%95%b0%e5%ad%a6%e3%82%92%e5%ad%a6","status":"publish","type":"post","link":"https:\/\/club.informatix.co.jp\/?p=18106","title":{"rendered":"NumPy\u3067\u884c\u5217\u3000\u56de\u5e30\u5206\u6790 \u305d\u306e6 \u6700\u5c0f2\u4e57\u6cd5\uff5cPython\u3067\u6570\u5b66\u3092\u5b66\u307c\u3046\uff01 \u7b2c27\u56de"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u6b21<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a1becbae8dea\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a1becbae8dea\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/club.informatix.co.jp\/?p=18106\/#%E7%B7%9A%E5%BD%A2%E5%9B%9E%E5%B8%B0%E3%83%A2%E3%83%87%E3%83%AB%E3%81%AE%E8%A8%AD%E5%AE%9A\" >\u7dda\u5f62\u56de\u5e30\u30e2\u30c7\u30eb\u306e\u8a2d\u5b9a<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/club.informatix.co.jp\/?p=18106\/#%E5%9B%9E%E5%B8%B0%E5%88%86%E6%9E%90%E3%81%AB%E3%81%8A%E3%81%91%E3%82%8B%E6%9C%80%E5%B0%8F2%E4%B9%97%E6%B3%95\" >\u56de\u5e30\u5206\u6790\u306b\u304a\u3051\u308b\u6700\u5c0f2\u4e57\u6cd5<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/club.informatix.co.jp\/?p=18106\/#%E5%B9%B3%E5%9D%87%E3%83%BB%E5%88%86%E6%95%A3%E3%83%BB%E5%85%B1%E5%88%86%E6%95%A3\" >\u5e73\u5747\u30fb\u5206\u6563\u30fb\u5171\u5206\u6563<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/club.informatix.co.jp\/?p=18106\/#%E5%9B%9E%E5%B8%B0%E4%BF%82%E6%95%B0%E3%81%AE%E7%AE%97%E5%87%BA\" >\u56de\u5e30\u4fc2\u6570\u306e\u7b97\u51fa<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%E7%B7%9A%E5%BD%A2%E5%9B%9E%E5%B8%B0%E3%83%A2%E3%83%87%E3%83%AB%E3%81%AE%E8%A8%AD%E5%AE%9A\"><\/span>\u7dda\u5f62\u56de\u5e30\u30e2\u30c7\u30eb\u306e\u8a2d\u5b9a<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u56de\u5e30\u5206\u6790\u306b\u304a\u3051\u308b\u56de\u5e30\u76f4\u7dda\u3068\u306f\u3001\u591a\u6570\u306e\u30c7\u30fc\u30bf\u3092\u8fd1\u4f3c\u3059\u308b\u76f4\u7dda\u3068\u3082\u3044\u3048\u307e\u3059\u3002\u591a\u6570\u306e\u30c7\u30fc\u30bf\u304b\u3089\u56de\u5e30\u4fc2\u6570\u3092\u7b97\u51fa\u3059\u308b\u5408\u7406\u7684\u8003\u3048\u65b9\u304c\u6700\u5c0f2\u4e57\u6cd5\u3067\u3059\u3002<\/p>\n<p>\u8a73\u3057\u304f\u305d\u306e\u4ed5\u7d44\u307f\u3092\u307f\u3066\u3044\u304d\u307e\u3059\u3002\u9014\u4e2d\u904e\u7a0b\u306e\u7406\u89e3\u304c\u96e3\u3057\u3044\u3068\u601d\u308f\u308c\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u6700\u7d42\u7684\u306a\u7d50\u679c\u306f\u30b9\u30c3\u30ad\u30ea\u3057\u305f\u516c\u5f0f\u306b\u5e30\u7740\u3059\u308b\u69d8\u5b50\u304c\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3053\u306e\u3042\u3068\u306e\u91cd\u56de\u5e30\u5206\u6790\u306e\u89e3\u8aac\u306e\u3053\u3068\u3082\u8e0f\u307e\u3048\u3066\u3001\u5909\u6570\u306a\u3089\u3073\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u6c7a\u3081\u307e\u3059\u3002\u30c7\u30fc\u30bf\u6570\u3092n\u500b\u3001\u8aac\u660e\u5909\u6570\u3092x\uff08m\u500b\uff09\u3001\u76ee\u7684\u5909\u6570\u3092y\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>\u3057\u305f\u304c\u3063\u3066\u3001m\u500b\u306e\u8aac\u660e\u5909\u6570x\u2081\u3001x\u2082\u3001\u2026\u3001x<sub>m<\/sub>\u3068\u76ee\u7684\u5909\u6570y\u306e\u30c7\u30fc\u30bf\u7d44\u304cn\u500b\u3042\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002i\u756a\u76ee\u306e\u30c7\u30fc\u30bf\u3092\u5909\u6570\u306e\u4e0a\u4ed8\u304d\u3068\u3057\u3066x<sup>i<\/sup>\u3001y<sup>i<\/sup>\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>\u8aac\u660e\u5909\u6570x\u306b\u3064\u3044\u3066\u306f\u3001\u30c7\u30fc\u30bf\u306ei\u756a\u76ee\u3092\u4e0a\u4ed8\u304d\u3001\u8aac\u660e\u5909\u6570\u306ej\u756a\u76ee\u3092\u4e0b\u4ed8\u304d\u3068\u3057\u3066\u3001x<sub>j<\/sub><sup>i<\/sup>\u3068\u8868\u3059\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-18113\" src=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-1.jpg\" alt=\"\" width=\"800\" height=\"492\" srcset=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-1.jpg 800w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-1-300x185.jpg 300w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-1-768x472.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p style=\"text-align: center;\">\u56f31\uff1a\u30c7\u30fc\u30bf\u8868<\/p>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u76ee\u7684\u5909\u6570\u3068\u8aac\u660e\u5909\u6570\u3092\u6b21\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3067\u304d\u307e\u3059\u3002\u56de\u5e30\u5f0f\u306f\u8aac\u660e\u5909\u6570\u306e1\u6b21\u5f0f\u3001\u3059\u306a\u308f\u3061\u7dda\u5f62\u3067\u3042\u308b\u3068\u3057\u307e\u3059\u3002<\/p>\n<p style=\"padding-left: 40px;\">y=\u03b8<sub>0<\/sub>\uff0b\u03b8<sub>1<\/sub>x<sub>1<\/sub>\uff0b\u03b8<sub>2<\/sub>x<sub>2<\/sub>\uff0b\u2026\uff0b\u03b8<sub>m<\/sub>x<sub>m<\/sub><\/p>\n<p>\u3053\u3053\u3067\u3001\u03b8<sub>0<\/sub>\u3001\u03b8<sub>1<\/sub>\u3001\u03b8<sub>2<\/sub>\u3001\u2026\u3001\u03b8<sub>m<\/sub>\u306f\u56de\u5e30\u4fc2\u6570\u3067\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u3082\u3046\u4e00\u3064\u5909\u6570\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u5f53\u305f\u308a\u524d\u306e\u3053\u3068\u3067\u3059\u304c\u30c7\u30fc\u30bf\u8868\u306e\u30c7\u30fc\u30bf\u306f\u3053\u306e\u56de\u5e30\u5f0f\u3092\u6e80\u305f\u3057\u307e\u305b\u3093\u3002\u56de\u5e30\u5f0f\u306f\u30c7\u30fc\u30bf\u306e\u8fd1\u4f3c\u5f0f\u3067\u3059\u3002\u305d\u3053\u3067\u4e21\u8005\u306e\u5dee\u3092\u8aa4\u5deee\u3068\u304a\u3051\u3070n\u500b\u306e\u30c7\u30fc\u30bf\u306b\u3064\u3044\u3066\u6b21\u306en\u672c\u306e\u95a2\u4fc2\u5f0f\u304c\u6210\u308a\u7acb\u3061\u307e\u3059\u3002<\/p>\n<p style=\"text-align: left; padding-left: 40px;\">y<sup>1<\/sup>=\u03b8<sub>0<\/sub>\uff0b\u03b8<sub>1<\/sub>x<sub>1<\/sub><sup>1<\/sup>\uff0b\u03b8<sub>2<\/sub>x<sub>2<\/sub><sup>1<\/sup>\uff0b\u2026\uff0b\u03b8<sub>j<\/sub>x<sub>j<\/sub><sup>1<\/sup>\uff0b\u2026\uff0b\u03b8<sub>m<\/sub>x<sub>m<\/sub><sup>1<\/sup>\uff0be<sup>1<\/sup><br \/>\ny<sup>2<\/sup>=\u03b8<sub>0<\/sub>\uff0b\u03b8<sub>1<\/sub>x<sub>1<\/sub><sup>2<\/sup>\uff0b\u03b8<sub>2<\/sub>x<sub>2<\/sub><sup>2<\/sup>\uff0b\u2026\uff0b\u03b8<sub>j<\/sub>x<sub>j<\/sub><sup>2<\/sup>\uff0b\u2026\uff0b\u03b8<sub>m<\/sub>x<sub>m<\/sub><sup>2<\/sup>\uff0be<sup>2<\/sup><br \/>\n\u205d<br \/>\ny<sup>i<\/sup>=\u03b8<sub>0<\/sub>\uff0b\u03b8<sub>1<\/sub>x<sub>1<\/sub><sup>i<\/sup>\uff0b\u03b8<sub>2<\/sub>x2<sup>i<\/sup>\uff0b\u2026\uff0b\u03b8<sub>j<\/sub>x<sub>j<\/sub><sup>i<\/sup>\uff0b\u2026\uff0b\u03b8<sub>m<\/sub>x<sub>m<\/sub><sup>i<\/sup>\uff0be<sup>i<\/sup><br \/>\n\u205d<br \/>\ny<sup>n<\/sup>=\u03b8<sub>0<\/sub>\uff0b\u03b8<sub>1<\/sub>x<sub>1<\/sub><sup>n<\/sup>\uff0b\u03b8<sub>2<\/sub>x<sub>2<\/sub><sup>n<\/sup>\uff0b\u2026\uff0b\u03b8<sub>j<\/sub>x<sub>j<\/sub><sup>n<\/sup>\uff0b\u2026\uff0b\u03b8<sub>m<\/sub>x<sub>m<\/sub><sup>n<\/sup>\uff0be<sup>n<\/sup><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%9B%9E%E5%B8%B0%E5%88%86%E6%9E%90%E3%81%AB%E3%81%8A%E3%81%91%E3%82%8B%E6%9C%80%E5%B0%8F2%E4%B9%97%E6%B3%95\"><\/span>\u56de\u5e30\u5206\u6790\u306b\u304a\u3051\u308b\u6700\u5c0f2\u4e57\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u3053\u3053\u304b\u3089\u304c\u6700\u5c0f2\u4e57\u6cd5\u306e\u51fa\u756a\u3067\u3059\u3002\u3053\u306e\u307e\u307e\u7d9a\u3051\u3066\u3044\u304f\u3068\u91cd\u56de\u5e30\u5206\u6790\u306e\u8a08\u7b97\u3068\u306a\u308b\u306e\u3067\u3001\u307e\u305a\u306f\u56de\u5e30\u5206\u6790\u306b\u304a\u3051\u308b\u6700\u5c0f2\u4e57\u6cd5\u3092\u307f\u3066\u3044\u304d\u307e\u3059\u3002\u305d\u306e\u5f8c\u3067\u3001\u518d\u3073\u3053\u3053\u304b\u3089\u91cd\u56de\u5e30\u5206\u6790\u306b\u304a\u3051\u308b\u6700\u5c0f2\u4e57\u6cd5\u306e\u8a08\u7b97\u3092\u307f\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u8aac\u660e\u5909\u6570\u304c1\u3064\uff08m=1\uff09\u306e\u5834\u5408\u304c\u56de\u5e30\u5206\u6790\uff08\u5358\u56de\u5e30\u5206\u6790\uff09\u3067\u3059\u3002n\u500b\u306e\u30c7\u30fc\u30bf\u306ei\u756a\u76ee\u306e\u30c7\u30fc\u30bf\uff08x<sup>i<\/sup>, y<sup>i<\/sup>\uff09\u306f\u6b21\u306e\u95a2\u4fc2\u5f0f\u3092\u6e80\u305f\u3057\u307e\u3059\u3002<\/p>\n<p style=\"text-align: left; padding-left: 40px;\">y<sup>i<\/sup>=\u03b8<sub>0<\/sub>\uff0b\u03b8<sub>1<\/sub>x<sub>1<\/sub><sup>i<\/sup>\uff0be<sup>i<\/sup><\/p>\n<p>\u3053\u306e\u5f0f\u306b\u304a\u3051\u308b\u5deee<sup>i<\/sup>\u304c\u3067\u304d\u308b\u3060\u3051\u5c0f\u3055\u304f\u306a\u308b\u3088\u3046\u306a\u76f4\u7dda\u304c\u3001\u6700\u3082\u3042\u3066\u306f\u307e\u308a\u306e\u3088\u3044\uff08\u826f\u3044\u8fd1\u4f3c\uff09\u76f4\u7dda\u3068\u8003\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u5404\u30c7\u30fc\u30bf\u3067\u306e\u5dee\u306e2\u4e57\u548c(e<sup>1<\/sup>)<sup>2<\/sup>\uff0b(e<sup>2<\/sup>)<sup>2<\/sup>\uff0b\u2026\uff0b(e<sup>n<\/sup>)<sup>2<\/sup>\u3092\u6700\u5c0f\u306b\u306a\u308b\u3088\u3046\u306b\u56de\u5e30\u4fc2\u6570\u03b8<sub>0<\/sub>\u3001\u03b8<sub>1<\/sub>\u306e\u5024\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u65b9\u6cd5\u3092\u6700\u5c0f2\u4e57\u6cd5\u3068\u3044\u3044\u307e\u3059\u3002e<sup>i<\/sup>\uff1dy<sup>i<\/sup>-(\u03b8<sub>0<\/sub>\uff0b\u03b8<sub>1<\/sub>x<sub>1<\/sub><sup>i<\/sup>) \u306a\u306e\u3067\u3001\u5dee\u306e2\u4e57\u548c\u3092<\/p>\n<p style=\"text-align: center;\">Q\uff1d{y<sup>1<\/sup>-(\u03b8<sub>0<\/sub>\uff0b\u03b8<sub>1<\/sub>x<sub>1<\/sub><sup>1<\/sup>)}2\uff0b{y<sup>2<\/sup>-(\u03b8<sub>0<\/sub>\uff0b\u03b8<sub>1<\/sub>x<sub>1<\/sub><sup>2<\/sup>)}2\uff0b\u2026\uff0b{y<sup>n<\/sup>-(\u03b8<sub>0<\/sub>\uff0b\u03b8<sub>1<\/sub>x<sub>1<\/sub><sup>n<\/sup>)}<sup>2<\/sup><\/p>\n<p>\u3068\u304a\u304d\u307e\u3059\u3002<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-18114\" src=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-2.jpg\" alt=\"\" width=\"800\" height=\"595\" srcset=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-2.jpg 800w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-2-300x223.jpg 300w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-2-768x571.jpg 768w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-2-640x475.jpg 640w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-2-343x254.jpg 343w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-2-202x150.jpg 202w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\u56f32\uff1a\u6700\u5c0f2\u4e57\u6cd5\u3000\u5dee\u306e2\u4e57\u548cQ\u304c\u6700\u5c0f\u3068\u306a\u308b\u3088\u3046\u306b\u56de\u5e30\u4fc2\u6570\u3092\u6c7a\u5b9a\u3059\u308b<\/p>\n<p>2\u4e57\u548cQ\u306f\u03b8<sub>0<\/sub>\u3068\u03b8<sub>1<\/sub>\u306e\u95a2\u6570\u3068\u307f\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u3053\u3067\u3001Q\u306e\u5fae\u5206\u3092\u3059\u308b\u3053\u3068\u3067Q\u3092\u6700\u5c0f\u5316\u3059\u308b\u03b8<sub>0<\/sub>\u3068\u03b8<sub>1<\/sub>\u3092\u6c42\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u56de\u5e30\u76f4\u7dda\u306e\u50be\u304d\u03b8<sub>1<\/sub>\uff1d\u3014x<sub>1<\/sub>\u3068y\u306e\u5171\u5206\u6563\u3015\/\u3014x<sub>1<\/sub>\u306e\u5206\u6563\u3015\uff1dCov(x<sub>1,<\/sub>y)\/Var(x<sub>1<\/sub>)<br \/>\n\u56de\u5e30\u76f4\u7dda\u306e\u5207\u7247\u03b8<sub>0<\/sub>\uff1d\u3014y\u306e\u5e73\u5747\u3015- \u03b8<sub>1<\/sub>\u00d7\u3014x<sub>1<\/sub>\u306e\u5e73\u5747\u3015\uff1dmean(y)-\u03b8<sub>1<\/sub>\u00d7mean(x<sub>1<\/sub>)<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-18115\" src=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-3.jpg\" alt=\"\" width=\"800\" height=\"794\" srcset=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-3.jpg 800w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-3-300x298.jpg 300w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-3-150x150.jpg 150w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-3-768x762.jpg 768w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-3-100x100.jpg 100w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p style=\"text-align: center;\">\u56f33\uff1a2\u4e57\u548cQ\u3092\u03b8<sub>0<\/sub>\u3068\u03b8<sub>1<\/sub>\u3067\u5fae\u5206\u3059\u308b<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%B9%B3%E5%9D%87%E3%83%BB%E5%88%86%E6%95%A3%E3%83%BB%E5%85%B1%E5%88%86%E6%95%A3\"><\/span>\u5e73\u5747\u30fb\u5206\u6563\u30fb\u5171\u5206\u6563<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>2\u3064\u306e\u56de\u5e30\u4fc2\u6570\u306b\u306f\u4ee3\u8868\u7684\u7d71\u8a08\u5024\u3067\u3042\u308b\u5e73\u5747mean\u3001\u5206\u6563Var\u3001\u305d\u3057\u3066\u5171\u5206\u6563Cov\u304c\u30b7\u30f3\u30d7\u30eb\u306b\u73fe\u308c\u3066\u3044\u307e\u3059\u3002\u305d\u3053\u3067\u3001\u3053\u308c\u3089\u306e\u7d71\u8a08\u5024\u306e\u8a08\u7b97\u516c\u5f0f\u3092python\u306e\u30b3\u30fc\u30c9\u3068\u3068\u3082\u306b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-18111\" src=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-4.jpg\" alt=\"\" width=\"800\" height=\"300\" srcset=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-4.jpg 800w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-4-300x113.jpg 300w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-4-768x288.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p style=\"text-align: center;\">\u56f34\uff1a\u5e73\u5747\u306e\u516c\u5f0f<\/p>\n<p>\u7c21\u5358\u306e\u305f\u3081\u306b5\u500b\u306e\u6570\u5024\u30c7\u30fc\u30bf\u3092\u7528\u3044\u307e\u3059\u3002np.array()\u3092\u7528\u3044\u3066\u30d9\u30af\u30c8\u30eb\u30fb\u30c7\u30fc\u30bf\u3068\u3057\u3066\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u306e\u7dcf\u548c\u306b\u306fsum()\u95a2\u6570\u304c\u4fbf\u5229\u3067\u3059\u3002\u5f15\u6570\u306b\u914d\u5217\u3092\u6e21\u305b\u3070\u5168\u8981\u7d20\u306e\u7dcf\u548c\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<p>\u30c7\u30fc\u30bf\u6570\u306flen(x)\u3068\u3057\u3066\u53d6\u5f97\u3067\u304d\u308b\u306e\u3067\u3001sum(x)\/len(x)\u306b\u3088\u308ax\u306e\u5e73\u5747\u304c\u5f97\u3089\u308c\u307e\u3059\u3002\u30c7\u30fc\u30bfy\u306e\u5e73\u5747\u306b\u3064\u3044\u3066\u3082\u540c\u69d8\u3067\u3059\u3002NumPy\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u306f\u30d9\u30af\u30c8\u30eb\uff08\u914d\u5217\uff09\u306e\u5e73\u5747\u3092\u8fd4\u3059np.mean()\u95a2\u6570\u304c\u3042\u308a\u307e\u3059\u3002\u5f15\u6570\u306b\u914d\u5217\u3092\u6e21\u305b\u3070\u3044\u3044\u306e\u3067\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>&gt;&gt;&gt;\u00a0\u00a0import numpy as np<br \/>\n&gt;&gt;&gt;<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 x = np.array([1, 2, 3, 4, 5])<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 y = np.array([76, 60, 83, 90, 32])<br \/>\n&gt;&gt;&gt;<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 print(&#8216;x\u306e\u5e73\u5747&#8217;)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 mean_x = sum(x)\/len(x)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 print(mean_x)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 print(np.mean(x))<br \/>\n&gt;&gt;&gt;<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 print(&#8216;y\u306e\u5e73\u5747&#8217;)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 mean_y = sum(y)\/len(y)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 print(mean_y)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 print(np.mean(y))<\/p>\n<p>\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3068\u6b21\u306e\u3088\u3046\u306a\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<br \/>\nx\u306e\u5e73\u5747<br \/>\n3.0<br \/>\n3.0<br \/>\ny\u306e\u5e73\u5747<br \/>\n68.2<br \/>\n68.2<\/p>\n<p>\u7d9a\u3044\u3066\u5206\u6563\u3068\u5171\u5206\u6563\u3067\u3059\u3002\u3053\u308c\u3089\u306f\u5e73\u5747\u3068\u6bd4\u3079\u308b\u3068\u4e00\u822c\u7684\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u7d71\u8a08\u5024\u3068\u3057\u3066\u57fa\u672c\u7684\u306a\u3082\u306e\u3067\u3059\u3002\u5e73\u5747\u3067\u306f\u30c7\u30fc\u30bf\u306e\u6563\u3089\u3070\u308a\u5177\u5408\u306f\u308f\u304b\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u5206\u6563\u306f\u30c7\u30fc\u30bf\u306e\u6563\u3089\u3070\u308a\u5177\u5408\u3092\u8868\u3059\u6570\u5024\u3067\u3059\u3002\u5206\u6563\u306f0\u4ee5\u4e0a\u306e\u5024\u3092\u3068\u308a\u307e\u3059\u3002\u5206\u6563\u304c\u5c0f\u3055\u3044\u307b\u3069\u30c7\u30fc\u30bf\u306f\u5e73\u5747\u5024\u306b\u96c6\u307e\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u3001\u9006\u306b\u5927\u304d\u3044\u307b\u3069\u30c7\u30fc\u30bf\u304c\u5e73\u5747\u5024\u304b\u3089\u3070\u3089\u3064\u3044\u3066\u3044\u308b\u3053\u3068\u3092\u8868\u3057\u307e\u3059\u3002<\/p>\n<p>\u5206\u6563\u306e\u516c\u5f0f\uff08\u305d\u306e1\uff09\u306f\u5206\u6563\u306e\u5b9a\u7fa9\u5f0f\u300c\u5206\u6563\uff1d\u504f\u5dee\uff08\u30c7\u30fc\u30bf\u3068\u5e73\u5747\u306e\u5dee\uff09\u306e2\u4e57\u5e73\u5747\u300d\u3067\u3059\u3002python\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001x\u306e\u5e73\u5747np.mean(x)\u3092\u7528\u3044\u3066\u300csum((x-np.mean(x))**2)\/len(x)\u300d\u3068\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3082\u3046\u4e00\u3064\u3088\u304f\u4f7f\u308f\u308c\u308b\u5206\u6563\u306e\u516c\u5f0f\uff08\u305d\u306e2\uff09\u300c\u5206\u6563\uff1d\uff082\u4e57\u5e73\u5747\uff09\uff0d\uff08\u5e73\u5747\u306e2\u4e57\uff09\u300d\u304c\u3042\u308a\u307e\u3059\u30022\u4e57\u5e73\u5747\u306fnp.mean(x**2)\u3001\u5e73\u5747\u306e2\u4e57\u306fnp.mean(x)**2\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066NumPy\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u306f\u30d9\u30af\u30c8\u30eb\uff08\u914d\u5217\uff09\u306e\u5206\u6563\u3092\u8fd4\u3059np.var()\u95a2\u6570\u304c\u3042\u308a\u307e\u3059\u3002\u5f15\u6570\u306b\u914d\u5217\u3092\u6e21\u305b\u3070\u3044\u3044\u306e\u3067\u4fbf\u5229\u3067\u3059\u3002\u3053\u308c\u30893\u3064\u306e\u30b3\u30fc\u30c9\u3092\u540c\u6642\u306b\u8868\u793a\u3057\u3066\u307f\u307e\u3059\u3002\u30b3\u30fc\u30c9\u306e\u4e0b\u306b\u5b9f\u884c\u7d50\u679c\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<p>&gt;&gt;&gt;\u00a0\u00a0 print(&#8216;x\u306e\u5206\u6563&#8217;)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 var1_x = sum((x &#8211; np.mean(x))**2)\/len(x)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 print(var1_x)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 var2_x = np.mean(x**2) &#8211; np.mean(x)**2<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 print(var2_x)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 print(np.var(x))<br \/>\n&gt;&gt;&gt;<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 print(&#8216;y\u306e\u5206\u6563&#8217;)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 var1_y = sum((y &#8211; np.mean(y))**2)\/len(y)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 print(var1_y)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 var2_y = np.mean(y**2) &#8211; np.mean(y)**2<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 print(var2_y)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0 print(np.var(y))<\/p>\n<p>\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3068\u6b21\u306e\u3088\u3046\u306a\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<br \/>\nx\u306e\u5206\u6563<br \/>\n2.0<br \/>\n2.0<br \/>\n2.0<br \/>\ny\u306e\u5206\u6563<br \/>\n426.56000000000006<br \/>\n426.5599999999995<br \/>\n426.56000000000006<\/p>\n<p>\u6700\u5f8c\u306b\u5171\u5206\u6563\u3067\u3059\u30022\u7a2e\u985e\uff082\u5909\u6570\uff09\u306e\u30c7\u30fc\u30bf\u306e\u95a2\u4fc2\u3092\u8868\u3059\u6570\u5024\u3067\u3059\u3002\u4f8b\u3048\u3070\u8eab\u9577\u3068\u4f53\u91cd\u306e\u95a2\u4fc2\u3092\u8003\u3048\u3066\u307f\u307e\u3059\u3002\u4e00\u822c\u306b\u8eab\u9577\u304c\u5927\u304d\u3044\u307b\u3069\u4f53\u91cd\u3082\u5927\u304d\u304f\u306a\u308b\u50be\u5411\u304c\u3042\u308a\u307e\u3059\u3002\u8eab\u9577\u3068\u4f53\u91cd\u306e\u5171\u5206\u6563\u306f\u6b63\u3068\u306a\u308a\u3001\u300c\u6b63\u306e\u76f8\u95a2\u304c\u3042\u308b\u300d\u3068\u3044\u3044\u307e\u3059\u3002<\/p>\n<p>\u4e00\u65b9\u3001\u5171\u5206\u6563\u304c\u8ca0\u3067\u3042\u308b\u5834\u5408\u306f\u3001\u4e00\u65b9\u304c\u5897\u52a0\u3059\u308b\u3068\u3082\u3046\u4e00\u65b9\u306f\u6e1b\u5c11\u3059\u308b\u50be\u5411\u306b\u3042\u308b\u3068\u3044\u3048\u307e\u3059\u3002\u3053\u308c\u3092\u300c\u8ca0\u306e\u76f8\u95a2\u304c\u3042\u308b\u300d\u3068\u3044\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u5171\u5206\u6563\u306e\u7d76\u5bfe\u5024\u304c\u5927\u304d\u3044\u307b\u3069\u76f8\u95a2\u95a2\u4fc2\u306f\u5f37\u3044\u3053\u3068\u3092\u8868\u3057\u3001\u5171\u5206\u6563\u304c0\u306b\u8fd1\u3044\u307b\u3069\u76f8\u95a2\u95a2\u4fc2\u306f\u5c0f\u3055\u3044\u3068\u3044\u3048\u307e\u3059\u3002<\/p>\n<p>\u5171\u5206\u6563\u306e\u516c\u5f0f\uff08\u305d\u306e1\uff09\u306f\u5171\u5206\u6563\u306e\u5b9a\u7fa9\u5f0f\u300c\u5171\u5206\u6563\uff1d\uff08x\u306e\u504f\u5dee \u00d7 y\u306e\u504f\u5dee\uff09\u306e\u5e73\u5747\u300d\u3067\u3059\u3002\u504f\u5dee\u306f\u5206\u6563\u306e\u5834\u5408\u3068\u540c\u3058\u3067\u3059\u3002python\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001x\u306e\u5e73\u5747np.mean(x)\u3068y\u306e\u5e73\u5747np.mean(y)\u3092\u7528\u3044\u3066\u300csum((x &#8211; np.mean(x))*(y &#8211; np.mean(y)))\/len(x)\u300d\u3068\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3082\u3046\u4e00\u3064\u3088\u304f\u4f7f\u308f\u308c\u308b\u5171\u5206\u6563\u306e\u516c\u5f0f\uff08\u305d\u306e2\uff09\u300c\u5171\u5206\u6563\uff1d\uff08xy\u306e\u5e73\u5747\uff09\uff0d\uff08x\u306e\u5e73\u5747\uff09\u00d7\uff08y\u306e\u5e73\u5747\uff09\u300d\u304c\u3042\u308a\u307e\u3059\u3002xy\u306e\u5e73\u5747\u306fnp.mean(x*y)\u3068\u3059\u308c\u3070\u3044\u3044\u306e\u3067\u300cnp.mean(x*y) &#8211; np.mean(x) * np.mean(y)\u300d\u3068\u8868\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001NumPy\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u306f\u30d9\u30af\u30c8\u30eb\uff08\u914d\u5217\uff09\u306e\u5171\u5206\u6563\u3092\u8fd4\u3059np.cov()\u95a2\u6570\u304c\u3042\u308a\u307e\u3059\u3002\u5f15\u6570\u306b\u914d\u5217\u30922\u3064\u6e21\u3057\u307e\u3059\u3002\u3059\u308b\u3068\u7d50\u679c\u306f2\u00d72\u306e\u884c\u5217\uff08\u914d\u5217\uff09\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002\u305d\u308c\u305e\u308c\u6b21\u306e\u3088\u3046\u306a\u6210\u5206\u3092\u610f\u5473\u3057\u307e\u3059\u3002<br \/>\narray([[x\u306e\u5206\u6563 , \u5171\u5206\u6563],<br \/>\n[\u5171\u5206\u6563 , y\u306e\u5206\u6563]])<br \/>\n\u56de\u5e30\u5206\u6790\u3067\u306f\u5171\u5206\u6563\u3060\u3051\u304c\u5fc5\u8981\u306b\u306a\u308b\u306e\u30672\u884c1\u5217\u6210\u5206\u3092\u6b21\u306e\u3088\u3046\u306b\u3057\u3066\u53d6\u308a\u51fa\u3057\u307e\u3059\u3002<br \/>\n&gt;&gt;&gt;\u00a0\u00a0np.cov(x, y, bias=True)[0][1]<\/p>\n<p>np.cov()\u95a2\u6570\u3092\u4f7f\u3046\u6642\u306e\u6ce8\u610f\u304c\u30d1\u30e9\u30e1\u30fc\u30bfbias\uff08\u521d\u671f\u5024False\uff09\u3067\u3059\u3002False\u3060\u3068\u504f\u5dee\u306e\u7a4d\u3092\uff08\u30c7\u30fc\u30bf\u6570-1\uff09\u3067\u5272\u308a\u307e\u3059\u3002True\u306b\u3059\u308b\u3068\u30c7\u30fc\u30bf\u6570\u3067\u5272\u308a\u307e\u3059\u3002True\u306b\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u30893\u3064\u306e\u30b3\u30fc\u30c9\u3092\u540c\u6642\u306b\u8868\u793a\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>&gt;&gt;&gt;\u00a0\u00a0print(&#8216;x\u3068y\u306e\u5171\u5206\u6563&#8217;)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0cov1_xy = sum((x &#8211; np.mean(x))*(y &#8211; np.mean(y)))\/len(x)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0print(cov1_xy)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0cov2_xy = np.mean(x*y) &#8211; np.mean(x) * np.mean(y)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0print(cov2_xy)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0print(np.cov(x, y, bias=True))<br \/>\n&gt;&gt;&gt;\u00a0\u00a0print(np.cov(x, y, bias=True)[0][1])<\/p>\n<p>\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3068\u6b21\u306e\u3088\u3046\u306a\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<br \/>\nx\u3068y\u306e\u5171\u5206\u6563<br \/>\n-11.6<br \/>\n-11.600000000000023<br \/>\n[[ 2. -11.6 ]<br \/>\n[-11.6 426.56]]<br \/>\n-11.600000000000001<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-18112\" src=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-5.jpg\" alt=\"\" width=\"800\" height=\"802\" srcset=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-5.jpg 800w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-5-300x300.jpg 300w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-5-150x150.jpg 150w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-5-768x770.jpg 768w, https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-5-100x100.jpg 100w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\u56f35\uff1a\u5206\u6563\u3068\u5171\u5206\u6563\u306e\u516c\u5f0f<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%9B%9E%E5%B8%B0%E4%BF%82%E6%95%B0%E3%81%AE%E7%AE%97%E5%87%BA\"><\/span>\u56de\u5e30\u4fc2\u6570\u306e\u7b97\u51fa<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u4ee5\u4e0a\u3067\u56de\u5e30\u5bb6\u6570\u3092\u6c42\u3081\u308b\u6e96\u5099\u304c\u3067\u304d\u307e\u3057\u305f\u3002x\u3068y\u306b\u305d\u308c\u305e\u308c\u8eab\u9577\u3068\u4f53\u91cd\u3092\u914d\u5217\u3068\u3057\u3066\u5b9a\u7fa9\u3057\u307e\u3059\u30022\u3064\u306e\u56de\u5e30\u4fc2\u6570\u306e\u516c\u5f0f\u304b\u3089\u6b21\u306e\u3088\u3046\u306btheta_1\uff08\u50be\u304d\uff09\u3068theta_0\uff08\u5207\u7247\uff09\u3092\u8a08\u7b97\u3057\u307e\u3059\u3002<\/p>\n<p>&gt;&gt;&gt;\u00a0\u00a0theta_1 = np.cov(x, y, bias=True)[0][1]\/np.var(x)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0theta_0 = np.mean(y) &#8211; theta_1 * np.mean(x)<\/p>\n<p>\u5e73\u5747\u30fb\u5206\u6563\u30fb\u5171\u5206\u6563\u306f\u3059\u3079\u3066NumPy\u306e\u95a2\u6570\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u56de\u5e30\u4fc2\u6570\u306e\u516c\u5f0f\u306f\u305d\u306e\u307e\u307epython\u3067\u8868\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>&gt;&gt;&gt;\u00a0\u00a0import numpy as np<br \/>\n&gt;&gt;&gt;<br \/>\n&gt;&gt;&gt;\u00a0\u00a0x = np.array([165, 170, 172, 175, 170, 172, 183, 187, 180, 185]) # \u8eab\u9577<br \/>\n&gt;&gt;&gt;\u00a0\u00a0y = np.array([52, 60, 63, 65, 78, 70, 72, 85, 90, 94]) # \u4f53\u91cd<br \/>\n&gt;&gt;&gt;<br \/>\n&gt;&gt;&gt;\u00a0\u00a0theta_1 = np.cov(x, y, bias=True)[0][1]\/np.var(x)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0theta_0 = np.mean(y) &#8211; theta_1 * np.mean(x)<br \/>\n&gt;&gt;&gt;<br \/>\n&gt;&gt;&gt;\u00a0\u00a0print(f&#8217;\u56de\u5e30\u76f4\u7dda\u306e\u50be\u304d\u03b8_1 = {theta_1}&#8217;)<br \/>\n&gt;&gt;&gt;\u00a0\u00a0print(f&#8217;\u56de\u5e30\u76f4\u7dda\u306e\u5207\u7247\u03b8_0 = {theta_0}&#8217;)<\/p>\n<p>\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3068\u6b21\u306e\u3088\u3046\u306a\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<br \/>\n\u56de\u5e30\u76f4\u7dda\u306e\u50be\u304d\u03b8_1 = 1.4625684723067556<br \/>\n\u56de\u5e30\u76f4\u7dda\u306e\u5207\u7247\u03b8_0 = -184.36579427875833<\/p>\n<p>\u4ee5\u4e0a\u306ePython\u30b3\u30fc\u30c9\u306f\u300cPython\u3066\u3099\u6570\u5b66\u3092\u5b66\u307b\u3099\u3046\uff01\u7b2c27\u56de.ipynb\u300d\u3068\u3057\u3066\u307e\u3068\u3081\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u30d5\u30a1\u30a4\u30eb\u306f\u6b21\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/drive.google.com\/file\/d\/1GKY45QRANTPobraRXs-VhNv7uC5MEbfQ\/view?usp=share_link\" target=\"_blank\" rel=\"noopener\">https:\/\/drive.google.com\/file\/d\/1GKY45QRANTPobraRXs-VhNv7uC5MEbfQ\/view?usp=share_link<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7dda\u5f62\u56de\u5e30\u30e2\u30c7\u30eb\u306e\u8a2d\u5b9a \u56de\u5e30\u5206\u6790\u306b\u304a\u3051\u308b\u56de\u5e30\u76f4\u7dda\u3068\u306f\u3001\u591a\u6570\u306e\u30c7\u30fc\u30bf\u3092\u8fd1\u4f3c\u3059\u308b\u76f4\u7dda\u3068\u3082\u3044\u3048\u307e\u3059\u3002\u591a\u6570\u306e\u30c7\u30fc\u30bf\u304b\u3089\u56de\u5e30\u4fc2\u6570\u3092\u7b97\u51fa\u3059\u308b\u5408\u7406\u7684\u8003\u3048\u65b9\u304c\u6700\u5c0f2\u4e57\u6cd5\u3067\u3059\u3002 \u8a73\u3057\u304f\u305d\u306e\u4ed5\u7d44\u307f\u3092\u307f\u3066\u3044\u304d\u307e\u3059\u3002\u9014\u4e2d\u904e\u7a0b\u306e &#8230; <\/p>\n","protected":false},"author":4,"featured_media":18114,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,464,526],"tags":[65,750],"class_list":["post-18106","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-4","category-hito-star-mathmatics","category-526","tag-python","tag-750"],"jetpack_featured_media_url":"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2022\/11\/20221129-2.jpg","_links":{"self":[{"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/18106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=18106"}],"version-history":[{"count":11,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/18106\/revisions"}],"predecessor-version":[{"id":20763,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/18106\/revisions\/20763"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/media\/18114"}],"wp:attachment":[{"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}