<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hiroga_cc</author_name>
  <author_url>https://blog.hatena.ne.jp/hiroga_cc/</author_url>
  <blog_title>さわらブログ</blog_title>
  <blog_url>https://hiroga.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>復習した内容＋それをどうやってハンド&amp;skleanで実装したかのまとめ 今回はロジスティック回帰 実装したファイル github.com 参考資料 qiita.com ロジスティック回帰 目的変数Yを説明変数Xで説明する回帰分析の手法を分類でも使うための手法。 目的変数Yを 0 ≦ Y ≦ 1 の範囲に収めるため、シグモイド関数を用いて計算結果を変換する。 # シグモイド関数 import math def sigmoid(z): return 1/(1+math.e**(-z)) 正則化 説明変数をX2, X3...と増やすことで、100%に近い予測ができるがオーバーフィッティングしてしまう…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiroga.hatenablog.com%2Fentry%2F2017%2F12%2F21%2F232814&quot; title=&quot;CourseraのMachine LearningをPythonでやり直す#2 - さわらブログ&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/hiroga_cc/20171221/20171221231706.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-12-21 23:28:14</published>
  <title>CourseraのMachine LearningをPythonでやり直す#2</title>
  <type>rich</type>
  <url>https://hiroga.hatenablog.com/entry/2017/12/21/232814</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
