<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aipacommander</author_name>
  <author_url>https://blog.hatena.ne.jp/aipacommander/</author_url>
  <blog_title>ITの隊長のブログ</blog_title>
  <blog_url>https://aipacommander.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>決定木で、テストデータがどの葉に分類されるかを自動でやりたいとき、なんかないかなーと探してたら公式ドキュメントにあった。 scikit-learn.org # decision_pathで全体の結果が返ってくる？ node_indicator = estimator.decision_path(X_test) # テストデータの行番号 sample_id = 0 # 0行目のデータを決定木に入力したときに、通る順番のノード番号が入っている. node_index = node_indicator.indices[node_indicator.indptr[sample_id]:node_ind…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faipacommander.com%2Fentry%2F2019%2F01%2F21%2F182228&quot; title=&quot;雑ログ - ITの隊長のブログ&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>2019-01-21 18:22:28</published>
  <title>雑ログ</title>
  <type>rich</type>
  <url>https://aipacommander.com/entry/2019/01/21/182228</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
