<?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>sklearn</anon>
    <anon>機械学習</anon>
    <anon>matplotlib</anon>
    <anon>SVM</anon>
    <anon>ランダムフォレスト</anon>
    <anon>主成分分析</anon>
    <anon>次元削減</anon>
  </categories>
  <description>はじめに 分類器の特性を把握するために2次元データで分離境界を見るということが行われがちですが、高次元空間における分離器の特性を正確に表している訳ではありません。 ということがずっと気になっていたので、なんとか高次元空間で分類させて2次元で見る方法を考えます。 方法 PCAで2次元に落とせれば、線形変換で逆変換もできるので、それでやります。当然ながら情報は落ちますし、2次元でもなんとか見える程度のデータしか扱えませんが、妥協します。 sklearnならinverse_transformという便利なメソッドがあるので、簡単です。 というあたりまで考えた上で、こんなコードを書きました。show_h…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhayataka2049.hatenablog.jp%2Fentry%2F2019%2F05%2F24%2F040131&quot; title=&quot;【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/hayataka2049/20190524/20190524032324.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-05-24 04:01:31</published>
  <title>【python】高次元の分離境界をなんとか2次元で見る</title>
  <type>rich</type>
  <url>https://hayataka2049.hatenablog.jp/entry/2019/05/24/040131</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
