목록error (1)
김두두의 블로그
R-adaboost 중 error: Error in `[.data.frame`(data, , as.character(formula[[2]]))
adaboost를 사용하기 위해선 C50 패키지와 adabag 패키지가 필요하다. C50 package: C5.0 decision trees and rule-based models for pattern recognition that extend the work of Quinlan (출처: https://cran.r-project.org/web/packages/C50/index.html) 실질적으로 adaboost를 하는 건 adabag패키지인 것 같다. 하여튼! library('C50') library('adabag') iris.adaboost iris.adaboost=boosting(iris$Species~.,data=iris) Error in `[.data.frame`(data, , as.charac..
it
2021. 5. 15. 15:45