UCI の National Poll in Health Aging (NPHA) のデータの分析 7 - ナイーブ・ベイズで予測する

(Bing Image Creator で生成: プロンプト: Closeup of flowering blue and pink roses, background is white clouds, photo) www.crosshyou.info の続きです。 今回は、ナイーブ・ベイズ(Naive Bayes)で予測します。 e1071 パッケージの naiveBayes() 関数で簡単に実行できます。 naiveBayes() 関数を使います。 predict()…