<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aidiary</author_name>
  <author_url>https://blog.hatena.ne.jp/aidiary/</author_url>
  <blog_title>人工知能に関する断創録</blog_title>
  <blog_url>https://aidiary.hatenablog.com/</blog_url>
  <categories>
    <anon>Deep Learning</anon>
    <anon>Keras</anon>
  </categories>
  <description>まずはもっとも簡単な2クラスロジスティック回帰モデルをKerasで書いてみる。前にTheanoでやった（2015/5/19）のをKerasで書き換えただけ。ロジスティック回帰は、回帰とつくけど分類のアルゴリズムで、隠れ層がなく、活性化関数にシグモイド関数を使ったニューラルネットとしてモデル化できる。 データは、PRMLの4章のex2data1 を使う。1列目と2列目がデータで3列目がクラスラベル（0または1の2クラス）。 ソースコード：ex2data1.py データのロードと正規化 データを読み込むライブラリにはpandasなどもあるが、ここではnumpy.genfromtxt()を使う。Xが…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faidiary.hatenablog.com%2Fentry%2F20161030%2F1477830597&quot; title=&quot;Kerasによる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/a/aidiary/20161030/20161030205644.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-10-30 21:29:57</published>
  <title>Kerasによる2クラスロジスティック回帰</title>
  <type>rich</type>
  <url>https://aidiary.hatenablog.com/entry/20161030/1477830597</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
