<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hayataka2049</author_name>
  <author_url>https://blog.hatena.ne.jp/hayataka2049/</author_url>
  <blog_title>静かなる名辞</blog_title>
  <blog_url>https://hayataka2049.hatenablog.jp/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>機械学習</anon>
    <anon>sklearn</anon>
    <anon>Tips</anon>
    <anon>ロジスティック回帰</anon>
    <anon>特徴抽出</anon>
    <anon>可視化</anon>
  </categories>
  <description>はじめに ロジスティック回帰はいうまでもなく線形分類器です。なので、非線形の分類問題は本来解けません。ロジスティック回帰が線形分離不可能な分類問題を解けないことの説明 - 静かなる名辞 しかし、特徴量を非線形変換したり、交互作用項を入れたりして使えば、非線形の分類問題にも十分使えます。参考： 交互作用項を入れればロジスティック回帰でも非線形分離可能になることもある - 六本木で働くデータサイエンティストのブログ どれくらいの威力があるのでしょうか？ やってみましょう。 準備 便利なmain関数を作っておきましょう。 def main(X, y, model, figname): model.f…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhayataka2049.hatenablog.jp%2Fentry%2F2019%2F07%2F08%2F042121&quot; title=&quot;非線形がなんだ！　ロジスティック回帰＋多項式でやってやる！ - 静かなる名辞&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/hayataka2049/20190708/20190708030752.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-07-08 04:21:21</published>
  <title>非線形がなんだ！　ロジスティック回帰＋多項式でやってやる！</title>
  <type>rich</type>
  <url>https://hayataka2049.hatenablog.jp/entry/2019/07/08/042121</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
