Rで何かをしたり、読書をするブログ
id:cross_hyou
UCI の National Poll in Health Aging (NPHA) のデータの分析 9 - ランダムフォレストで予測する
(Bing Image Creator で生成: プロンプト: Close up of lotus flowers, which are real, photo) www.crosshyou.info の続きです。 今回は、randomForestパッケージで、ランダムフォレストで予測してみます。 まず、パッケージを読み込みます。 モデルをフィットさせます。 nodesize, maxnodes, ntree はパラメータですが、…