<?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 で生成: Long view landscape, ancient trees, small lakes, some flowers, blue sky, Photo www.crosshyou.info の続きです。 今回は、class パッケージの knn() 関数で k-nearest neighbors の手法で M を予測します。 class パッケージを読み込みます。 k-nn は k というパラメータがあって、これは、周りの何個の観測データから値を決定するか、というパラメータです。 最適な k を決定するために、df_train をさらにトレ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2024%2F04%2F28%2F082252&quot; title=&quot;UCI の Breast Cancer Wisconsin (Diagnostics) のデータ分析４ - R の class パッケージで k-NN (k-nearest neighbors) で予測 - 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/20240428/20240428074512.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-04-28 08:22:52</published>
  <title>UCI の Breast Cancer Wisconsin (Diagnostics) のデータ分析４ - R の class パッケージで k-NN (k-nearest neighbors) で予測</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2024/04/28/082252</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
