<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>isseing333</author_name>
  <author_url>https://blog.hatena.ne.jp/isseing333/</author_url>
  <blog_title>『企業成長の方程式 ― AIDグロースコミットによる成長戦略』</blog_title>
  <blog_url>https://iisssseeiiii.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>今回はLASSOとリッジ回帰についてです。パッケージは「glmnet」、「lars」、「lasso2」で実行できます。glmnetとlarsの作者はFriedman、Hastie、Efron、Tibshiraniと有名な先生ですが、lasso2の作者は知らないです。。内容もほぼ一緒なので、LASSOをするときはglmnet一択で良いと思います。 まずは使用例から。。。 データはLARSパッケージにあるdiabetesを使います。このデータである結果変数y（中性脂肪？）をx（性別や血圧など）によって予測するモデルを作ります。まずは単純な線形回帰をします。 library(lars) librar…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiisssseeiiii.hatenablog.com%2Fentry%2F20110309%2F1299675311&quot; title=&quot;LASSO and Ridge regression - 『企業成長の方程式 ― AIDグロースコミットによる成長戦略』&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/i/isseing333/20110309/20110309203644.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-03-09 21:55:11</published>
  <title>LASSO and Ridge regression</title>
  <type>rich</type>
  <url>https://iisssseeiiii.hatenablog.com/entry/20110309/1299675311</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
