<?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 前回は lm()関数でクオリティを推計してみました。今回はglmnetパッケージを使ってクオリティを推計してみます。lm()関数での正解率は53.9%でしたので、この正解率を上回って欲しいです。 glmnetパッケージのcv.glmnet()関数でLASSO回帰で、family=&quot;multinomial&quot;にしてモデルを生成します。 11件の警告があるようです。 warnings()関数で警告を見てみます。 意味はよくわからないので、Copilotに聞いてみました。 どうやら、分類対象のクラスのうち、1つ以上が8件未満で極端に少ないようです。 再度、クオリテ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2025%2F11%2F08%2F085936&quot; title=&quot;UCI Machine Learning Repository の Wine Quality のデータの分析6 - glmnetパッケージを使ってクオリティを推計 - 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/20251108/20251108081956.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-11-08 08:59:36</published>
  <title>UCI Machine Learning Repository の Wine Quality のデータの分析6 - glmnetパッケージを使ってクオリティを推計</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2025/11/08/085936</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
