<?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>(Bing Image Creator で生成: プロンプト: Close up of yellow Iris flowers, photo. Background is high blue sky) www.crosshyou.info の続きです。 今回は決定木モデル(Decision Tree Model)で予測してみます。 まず、rpartパッケージ、rpart.plotパッケージを読み込みます。 rpart()関数でもとになるモデルを生成します。 この初期ツリーの cp をみてみます。 xerror が一番小さいときの cp が一番良い cp です。 この best_cp で初期ツリ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2025%2F05%2F25%2F083940&quot; title=&quot;UCI の National Poll on Health Aging (NPHA) のデータの分析 6 - 決定木モデルで予測する - 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/20250525/20250525082323.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-05-25 08:39:40</published>
  <title>UCI の National Poll on Health Aging (NPHA) のデータの分析 6 - 決定木モデルで予測する</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2025/05/25/083940</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
