UCI Machine Learning Repository の Raisin のデータ分析5 - LASSO回帰による判別、正解率は83.7%

Bing Image Creator で生成: Bird's view of green grass fields, some small lakes, some woods, blue sky, white clouds, photo www.crosshyou.info の続きです。 今回はLASSO回帰による判別をします。使うパッケージは、glmnetパッケージです。 まず、パッケージを読み込みをします。 glmnetでは、データフレームではな…