<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>overflow33</author_name>
  <author_url>https://blog.hatena.ne.jp/overflow33/</author_url>
  <blog_title>overflow33の日記</blog_title>
  <blog_url>https://overflow33.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>機械学習</anon>
    <anon>iris</anon>
    <anon>pandas</anon>
    <anon>skleran</anon>
  </categories>
  <description>import pandas as pd import numpy as np from sklearn.datasets import load_iris # データセットの読み込み iris = load_iris() # データセットに正解ラベルを追加する # iris.data や iris.target は &lt;numpy.ndarray&gt; 型 # np.append は次元を揃える -&gt; reshape(-1, 1) -&gt; -1 は要素数の自動設定 data = np.append(iris.data, iris.target.reshape(-1, 1), axis=1) # 特徴量…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foverflow33.hatenablog.com%2Fentry%2F2020%2F03%2F29%2F131407&quot; title=&quot;sci-kit Learn のiris(アヤメ)データを分類付きでCSVへ保存する - overflow33の日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-03-29 13:14:07</published>
  <title>sci-kit Learn のiris(アヤメ)データを分類付きでCSVへ保存する</title>
  <type>rich</type>
  <url>https://overflow33.hatenablog.com/entry/2020/03/29/131407</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
