{"id":426,"date":"2019-06-24T23:29:32","date_gmt":"2019-06-24T14:29:32","guid":{"rendered":"https:\/\/obenkyolab.com\/?p=426"},"modified":"2020-05-19T22:56:09","modified_gmt":"2020-05-19T13:56:09","slug":"%e3%80%90python%e3%80%91%e5%8d%98%e5%9b%9e%e5%b8%b0%e3%81%ae%e8%a8%88%e7%ae%97%e3%81%a8%e8%a1%a8%e7%a4%ba","status":"publish","type":"post","link":"https:\/\/obenkyolab.com\/?p=426","title":{"rendered":"\u3010Python\u3011\u5358\u56de\u5e30\u306e\u8a08\u7b97\u3068\u8868\u793a"},"content":{"rendered":"\n\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><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><\/span><\/a><\/span><\/div>\n<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:\/\/obenkyolab.com\/?p=426\/#%E7%9B%AE%E7%9A%84\" >\u76ee\u7684<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/obenkyolab.com\/?p=426\/#%E5%9B%9E%E5%B8%B0%E3%81%AE%E5%BC%8F\" >\u56de\u5e30\u306e\u5f0f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/obenkyolab.com\/?p=426\/#%E5%8D%98%E5%9B%9E%E5%B8%B0%E3%81%A8%E3%81%AF%EF%BC%9F\" >\u5358\u56de\u5e30\u3068\u306f\uff1f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/obenkyolab.com\/?p=426\/#%E6%9C%80%E5%B0%8F%E4%BA%8C%E4%B9%97%E6%B3%95\" >\u6700\u5c0f\u4e8c\u4e57\u6cd5<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/obenkyolab.com\/?p=426\/#python%E3%81%AB%E3%82%88%E3%82%8B%E5%AE%9F%E8%A3%85\" >python\u306b\u3088\u308b\u5b9f\u88c5<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/obenkyolab.com\/?p=426\/#%E6%B3%A8%E6%84%8F%E7%82%B9\" >\u6ce8\u610f\u70b9<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E7%9B%AE%E7%9A%84\"><\/span>\u76ee\u7684<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u3042\u308b\u5f97\u3089\u308c\u305f\u30c7\u30fc\u30bf\u3092\u3082\u3068\u306b\u3001\u4eca\u5f8c\u767a\u751f\u3059\u308b\u30c7\u30fc\u30bf\u304c\u4f55\u304b\u3092\u4e88\u6e2c\u3057\u305f\u3044\u3068\u3044\u3046\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u4f55\u304b\u3092\u8ca9\u58f2\u3057\u3088\u3046\u3068\u601d\u3063\u305f\u3068\u304d\u306e\u9700\u8981\u4e88\u6e2c\u3067\u3042\u3063\u305f\u308a\u3001\u682a\u4fa1\u306e\u4e88\u6e2c\u306a\u3069\u3067\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u4e88\u6e2c\u554f\u984c\u3092\u7d71\u8a08\u7684\u306b\u884c\u3046\u624b\u6cd5\u3068\u3057\u3066\u56de\u5e30\u3068\u3044\u3046\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<br>\u4eca\u56de\u306f\u3053\u306e\u56de\u5e30\u3068\u3044\u3046\u8003\u3048\u65b9\u306b\u3064\u3044\u3066\u52c9\u5f37\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%9B%9E%E5%B8%B0%E3%81%AE%E5%BC%8F\"><\/span>\u56de\u5e30\u306e\u5f0f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u3042\u308b\u4e8c\u3064\u306e\u5909\u6570\\(Y\\)\u3068\\(X\\)\u304c\u3042\u3063\u305f\u3068\u304d\u306b\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u4f55\u3089\u304b\u306e\u95a2\u6570\u3067\u4e92\u3044\u306e\u95a2\u4fc2\u3092\u8868\u3059\u3053\u3068\u3092\u56de\u5e30\u3068\u547c\u3073\u307e\u3059<\/p>\n\n\n\n<p>$$Y = f(X)$$<\/p>\n\n\n\n<p>\u305d\u3057\u3066\u3053\u306e\\(f(X)\\)\u304c\u7dda\u5f62\u65b9\u7a0b\u5f0f\u306e\u5834\u5408\u3092\u7dda\u5f62\u56de\u5e30\u3068\u547c\u3073\u3001\u975e\u7dda\u5f62\u65b9\u7a0b\u5f0f\u306e\u5834\u5408\u3092\u975e\u7dda\u5f62\u56de\u5e30\u3068\u547c\u3073\u307e\u3059\u3002<br>\u4eca\u56de\u306f\u3088\u308a\u30b7\u30f3\u30d7\u30eb\u306a\u7dda\u5f62\u56de\u5e30\u3092\u5bfe\u8c61\u306b\u8003\u3048\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u7dda\u5f62\u56de\u5e30\u306e\u4e2d\u3067\u3082\u6700\u3082\u5206\u304b\u308a\u3084\u3059\u3044\u5358\u56de\u5e30\u3068\u3044\u3046\u8003\u3048\u65b9\u306b\u3064\u3044\u3066\u5b9f\u8df5\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%8D%98%E5%9B%9E%E5%B8%B0%E3%81%A8%E3%81%AF%EF%BC%9F\"><\/span>\u5358\u56de\u5e30\u3068\u306f\uff1f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u30b7\u30f3\u30d7\u30eb\u306b\u8a00\u3046\u3068\u3001\u30c7\u30fc\u30bf\\(X\\)\u3068\u30c7\u30fc\u30bf\\(Y\\)\u306e\u95a2\u4fc2\u6027\u3092\u6b21\u306e\u3088\u3046\u306a\u4e00\u6b21\u306e\u7dda\u5f62\u65b9\u7a0b\u5f0f\u3067\u8868\u3059\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<p>$$Y = aX+b$$<\/p>\n\n\n\n<p>\u305f\u3060\u3057\u3001\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u306f\u5b8c\u5168\u306b\u4e0a\u8a18\u306e\u5f0f\u306b\u3042\u3066\u306f\u307e\u308a\u307e\u305b\u3093\u3002\u4e00\u6b21\u306e\u7dda\u5f62\u65b9\u7a0b\u5f0f\u306f\u76f4\u7dda\u3067\u3059\u304c\u3001\u4e16\u306e\u4e2d\u3067\u73fe\u5b9f\u306b\u767a\u751f\u3059\u308b\u30c7\u30fc\u30bf\u304c\u5168\u3066\u304d\u308c\u3044\u306a\u76f4\u7dda\u4e0a\u306b\u4e57\u308b\u3053\u3068\u306f\u307e\u305a\u3042\u308a\u5f97\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001\u5358\u56de\u5e30\u3068\u306f\u30c7\u30fc\u30bf\\(X\\)\u3068\\(Y\\)\u306e\u95a2\u4fc2\u6027\u3092\u7dda\u5f62\u306e\u4e00\u6b21\u65b9\u7a0b\u5f0f\u3067<strong>\u8fd1\u4f3c\u3057\u3066<\/strong>\u8868\u3059\u3068\u3044\u3046\u8003\u3048\u65b9\u306b\u306a\u308a\u307e\u3059\u3002<br>\u3067\u306f\u3069\u306e\u3088\u3046\u306b\u8fd1\u4f3c\u3059\u308b\u304b\u3068\u3044\u3046\u3068\u3001\u6700\u5c0f\u4e8c\u4e57\u6cd5\u3068\u3044\u3046\u65b9\u6cd5\u304c\u7528\u3044\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%9C%80%E5%B0%8F%E4%BA%8C%E4%B9%97%E6%B3%95\"><\/span>\u6700\u5c0f\u4e8c\u4e57\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u8003\u3048\u65b9\u306f\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002<br>\u307e\u305a\u3001\u6c42\u3081\u305f\u3044\u306e\u306f\u76f4\u7dda\\(Y=aX+b\\)\u306e\\(a\\)\u3068\\(b\\)\u3067\u3059\u3002<br>\u4e0a\u8a18\u306e\u76f4\u7dda\u306b\u304a\u3044\u3066\u3001\u30c7\u30fc\u30bf\\(X_i\\)\u306e\u6642\u306e\\(Y\\)\u306e\u5024\u306f\\(aX_i+b\\)\u306b\u306a\u308a\u307e\u3059\u3002<br>\u3053\u306e\u3068\u304d\u3001\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\\(Y_i\\)\u3068\u306e\u504f\u5dee\u306f\\(Y_i- aX_i-b \\)\u306b\u306a\u308a\u307e\u3059\u3002<br><br>\u6700\u5c0f\u4e8c\u4e57\u306e\u8003\u3048\u65b9\u306f\u3053\u306e\u504f\u5dee\u306e\u5927\u304d\u3055\u304c\\(i=0\uff5eN\\)\u306b\u308f\u305f\u3063\u3066\u6700\u5c0f\u306b\u306a\u308b\u3082\u306e\u3092\u63a2\u305d\u3046\u3068\u3044\u3046\u8003\u3048\u65b9\u3067\u3059\u3002\u3064\u307e\u308a\u3001\u4ee5\u4e0b\u306e\u5f0f\u3092\u6700\u5c0f\u306b\u3059\u308b\\(a,b\\)\u3092\u6c42\u3081\u308b\u3068\u3044\u3046\u65b9\u6cd5\u3067\u3059\u3002<br>$$\\sum_{i=1}^N(Y_i-aX_i-b)^2$$<\/p>\n\n\n\n<p>\u4e8c\u4e57\u3092\u3068\u3063\u3066\u3044\u308b\u306e\u306f\u8db3\u3057\u5408\u308f\u305b\u308b\u969b\u306b\u7b26\u53f7\u306e\u6b63\u8ca0\u3067\u6253\u3061\u6d88\u3057\u3042\u308f\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u3067\u3059\u3002\u3053\u308c\u306f\u4e0a\u8a18\u306e\u5f0f\u3092\\(a,b\\)\u3067\u305d\u308c\u305e\u308c\u504f\u5fae\u5206\u3059\u308b\u3053\u3068\u3067\u6c42\u307e\u308a\u307e\u3059\u3002<br>\u305f\u3060\u3057\u3001python\u3067\u306f\u5f0f\u3092\u76f4\u63a5\u66f8\u304f\u5fc5\u8981\u306f\u306a\u304f\u3001\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046\u3060\u3051\u3067\u7c21\u5358\u306b\u7b97\u51fa\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"python%E3%81%AB%E3%82%88%E3%82%8B%E5%AE%9F%E8%A3%85\"><\/span>python\u306b\u3088\u308b\u5b9f\u88c5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p style=\"text-align:left\">python\u3067\u5358\u56de\u5e30\u3092\u884c\u3046\u305f\u3081\u3001\u307e\u305a\u3001\u30c7\u30fc\u30bf\u306e\u6e96\u5099\u3092\u3057\u307e\u3059\u3002<br>\u30c7\u30fc\u30bf\u306f<a href=\"https:\/\/www.kaggle.com\/testpython\/linear-regression\">kaggle\u306e\u7dda\u5f62\u56de\u5e30\u7528\u306e\u30aa\u30fc\u30d7\u30f3\u30c7\u30fc\u30bf<\/a>\u3092\u4f7f\u7528\u3055\u305b\u3066\u3082\u3089\u3044\u307e\u3059\u3002\u30c7\u30fc\u30bf\u306e\u5148\u982d5\u884c\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"134\" height=\"154\" src=\"https:\/\/obenkyolab.com\/wp-content\/uploads\/2019\/06\/image-13.png\" alt=\"\" class=\"wp-image-437\"\/><\/figure>\n\n\n\n<p>\u4e0a\u8a18\u306e\u30c7\u30fc\u30bf\u306b\u3064\u3044\u3066\u3001x\u3092\u6a2a\u8ef8\u3001y\u3092\u7e26\u8ef8\u306b\u6563\u5e03\u56f3\u3092\u63cf\u304f\u3068\u3001\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3055\u3059\u304c\u3001\u7dda\u5f62\u56de\u5e30\u7528\u306e\u30c7\u30fc\u30bf\u3060\u3051\u3042\u3063\u3066\u3001\u898b\u305f\u76ee\u7684\u306b\u3082\u4e00\u6b21\u306e\u7dda\u5f62\u65b9\u7a0b\u5f0f\u306b\u3042\u3066\u306f\u307e\u308a\u305d\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"378\" height=\"252\" src=\"https:\/\/obenkyolab.com\/wp-content\/uploads\/2019\/06\/image-12.png\" alt=\"\" class=\"wp-image-435\" srcset=\"https:\/\/obenkyolab.com\/wp-content\/uploads\/2019\/06\/image-12.png 378w, https:\/\/obenkyolab.com\/wp-content\/uploads\/2019\/06\/image-12-300x200.png 300w\" sizes=\"auto, (max-width: 378px) 100vw, 378px\" \/><\/figure>\n\n\n\n<p>\u305d\u308c\u3067\u306f\u3001\u5b9f\u969b\u306b\\(y=ax+b\\)\u3068\u306a\u308b\\(a,b\\)\u306e\u7d44\u307f\u5408\u308f\u305b\u3092\u6c42\u3081\u307e\u3059\u3002<\/p>\n\n\n\n<p>python\u306e\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nimport pandas as pd\nimport numpy as np\nimport matplotlib.pyplot as plt\n\n#\u30c7\u30fc\u30bf\u8aad\u307f\u8fbc\u307f\ndf = pd.read_csv(&#039;C:\/\/test.csv&#039;,engine  =&#039;python&#039;)\n\n# scikit-learn\u306e linear_model\u3092\u8aad\u307f\u8fbc\u307f\nfrom sklearn import linear_model\n\n#\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u4f5c\u6210\nclf = linear_model.LinearRegression()\n\n# x\u8ef8\u30c7\u30fc\u30bf\nx = df&#x5B;&#x5B;&#039;x&#039;]].values\n \n# y\u8ef8\u30c7\u30fc\u30bf\ny = df&#x5B;&#039;y&#039;].values\n \n# \u5358\u56de\u5e30\u30e2\u30c7\u30eb\u3092\u4f5c\u6210\nclf.fit(x,y)\n \n# y=ax+b\u306ea\u3092\u8868\u793a\nprint(clf.coef_) #&#x5B;1.01433536]\n\n# y=ax+b\u306eb\u3092\u8868\u793a\nprint(clf.intercept_) #-0.4618107736611563\n\n#\u6563\u5e03\u56f3\u3092\u8868\u793a\nplt.scatter(x,y)\n\n#\u56de\u5e30\u76f4\u7dda\u3092\u8868\u793a\nplt.plot(x, clf.predict(x),color = &#039;red&#039;)\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"378\" height=\"252\" src=\"https:\/\/obenkyolab.com\/wp-content\/uploads\/2019\/06\/image-14.png\" alt=\"\" class=\"wp-image-440\" srcset=\"https:\/\/obenkyolab.com\/wp-content\/uploads\/2019\/06\/image-14.png 378w, https:\/\/obenkyolab.com\/wp-content\/uploads\/2019\/06\/image-14-300x200.png 300w\" sizes=\"auto, (max-width: 378px) 100vw, 378px\" \/><\/figure>\n\n\n\n<p>scikit-learn&amp;matplotlib\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3046\u3068\u3001\u5c11\u306a\u3044\u30b3\u30fc\u30c9\u3067\u56de\u5e30\u8a08\u7b97\u3068\u8868\u793a\u307e\u3067\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%B3%A8%E6%84%8F%E7%82%B9\"><\/span>\u6ce8\u610f\u70b9<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u5358\u56de\u5e30\u306f \u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u6570\u304c\\(a,b\\)\u3067\u6c42\u3081\u308b\u5f0f\u3082 \u30b7\u30f3\u30d7\u30eb\u3067\u3059\u304c\u3001\u305d\u306e\u5206\u4e88\u6e2c\u7cbe\u5ea6\u3068\u3057\u3066\u306f\u305d\u308c\u307b\u3069\u826f\u304f\u306a\u3044\u5834\u5408\u304c\u591a\u3044\u3067\u3059\u3002\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u306f\u91cd\u56de\u5e30\u3084\u975e\u7dda\u5f62\u56de\u5e30\u306a\u3069\u3067\u3082\u30d5\u30a3\u30c3\u30c8\u3059\u308b\u304b\u8a66\u3057\u3066\u307f\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u7684 \u3042\u308b\u5f97\u3089\u308c\u305f\u30c7\u30fc\u30bf\u3092\u3082\u3068\u306b\u3001\u4eca\u5f8c\u767a\u751f\u3059\u308b\u30c7\u30fc\u30bf\u304c\u4f55\u304b\u3092\u4e88\u6e2c\u3057\u305f&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":853,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"ja","_original_post":"https:\/\/obenkyolab.com\/?p=426","footnotes":""},"categories":[7],"tags":[],"class_list":["post-426","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","ja"],"_links":{"self":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts\/426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=426"}],"version-history":[{"count":19,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts\/426\/revisions"}],"predecessor-version":[{"id":630,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts\/426\/revisions\/630"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/media\/853"}],"wp:attachment":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}