<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>HK29</author_name>
  <author_url>https://blog.hatena.ne.jp/HK29/</author_url>
  <blog_title>PythonとVBAで世の中を便利にする</blog_title>
  <blog_url>https://hk29.hatenablog.jp/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>scikit-learn</anon>
    <anon>回帰</anon>
  </categories>
  <description>重回帰分析と言ってもソルバーは複数ある。本記事では、sklearn(サイキットラーン)のLinearRegressionとSGDRegressorを用いた2つについて記載した。得られる回帰式は文字通り、Y=f(Xi)=a1x1+a2x2+…+aixi+eで表し、共にlinear_modelをインポートして利用する。 分析データは、sklearnに含まれているデータセットbostonを使用した。目的変数Yはボストン近郊の住宅価格で、説明変数Xiは部屋数や犯罪率など13因子ある。 下図は縦軸に住宅価格、横軸に部屋数とした場合のグラフである。青点は生データを表し、赤点はLinearRegressio…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhk29.hatenablog.jp%2Fentry%2F2018%2F05%2F14%2F023231&quot; title=&quot;Python scikit-learnによる重回帰分析（データの標準化/正規化含む） - PythonとVBAで世の中を便利にする&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/H/HK29/20180514/20180514012334.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-05-14 02:32:31</published>
  <title>Python scikit-learnによる重回帰分析（データの標準化/正規化含む）</title>
  <type>rich</type>
  <url>https://hk29.hatenablog.jp/entry/2018/05/14/023231</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
