<?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 の続きです。前回はglmnetパッケージを使い、Elastic-Netで分類してみました。ROCのAUCが0.996と非常に素晴らしい値でした。正直、Elastic-Netでここまで高精度の分類器が作れたので、もういいかな、と思いましたが、今回は、tidymodelsパッケージを使い、rangerエンジンでランダムフォレストモデルを試してみます。 まず、トレーニング用のデータとテスト用のデータにわけます。 モデルを作ります。rand_forest()で、set_engine()でrangerを指定します。特徴量の重要度も見たいので、importance =…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2026%2F02%2F15%2F095041&quot; title=&quot;UCI Machine Learning Repository の Chess (King-Rook vs. King-Pawn) のデータの分析3 - ランダムフォレストによる分類。素晴らしい性能 - 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/20260215/20260215083204.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-02-15 09:50:41</published>
  <title>UCI Machine Learning Repository の Chess (King-Rook vs. King-Pawn) のデータの分析3 - ランダムフォレストによる分類。素晴らしい性能</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2026/02/15/095041</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
