2012-02-15から1日間の記事一覧
お次はナイーブベイズ分類器です.やり方は変わらないのでガンガン行きましょう. iris実行コード&結果 もう,どれも同じに見えてきた... library(e1071) train <- seq.int(1, 150, by=2) test <- setdiff(1:150, train) iris.bayes <- naiveBayes(Species~.…
お次はナイーブベイズ分類器です.やり方は変わらないのでガンガン行きましょう. iris実行コード&結果 もう,どれも同じに見えてきた... library(e1071) train <- seq.int(1, 150, by=2) test <- setdiff(1:150, train) iris.bayes <- naiveBayes(Species~.…