<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cross_hyou</author_name>
  <author_url>https://blog.hatena.ne.jp/cross_hyou/</author_url>
  <blog_title>Rで何かをしたり、読書をするブログ</blog_title>
  <blog_url>https://www.crosshyou.info/</blog_url>
  <categories>
    <anon>データ分析</anon>
  </categories>
  <description>www.crosshyou.info 今回は決定木モデルで予測します。decision_tree() 関数で、エンジンは rpart を使います。モデルを作成します。 ワークフローを作ります。 チューニンググリッドを作成します。 チューニングを実行します。 最適なパラメータを取り出します。 最適なパラメータを使って最終ワークフローを作ります。 トレーニング用のデータで学習します。 テスト用のデータで予測します。 おお！1行目から10行目まで全部正解です。すごいですね。 混合行列を作成します。 Obesity Type III はパーフェクトに予測しています。 正解率はどのくらいでしょうか？ 9…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2026%2F05%2F10%2F105726&quot; title=&quot;UCI Machine Learning Repository の Obesity データの分析9 - 決定木モデルで予測。正解率は 94.2% - Rで何かをしたり、読書をするブログ&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/c/cross_hyou/20260510/20260510101143.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-05-10 10:57:26</published>
  <title>UCI Machine Learning Repository の Obesity データの分析9 - 決定木モデルで予測。正解率は 94.2%</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2026/05/10/105726</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
