0

使用第 46 页的包小插图 ( pdftrainControl() )中记录的自定义方法语法,我在插入符号中收到以下错误。有谁知道此文档是否已过期或不正确?似乎与未使用“自定义”参数的插入符号文档页面不一致。

> fitControl <- trainControl(custom=list(parameters=lpgrnn$grid, model=lpgrnn$fit, 
                                         prediction=lpgrnn$predict, probability=NULL, 
                                             sort=lpgrnn$sort, method="cv"), 
                             number=10)

Error in trainControl(custom = list(parameters = lpgrnn$grid, model = lpgrnn$fit, :
unused argument (custom = list(parameters = lpgrnn$grid, model = lpgrnn$fit, 
prediction = lpgrnn$predict, probability = NULL, sort = lpgrnn$sort, method = "cv", 
number = 10))
4

1 回答 1

0

引用的 pdf 已过期。插入符号网站是文档的规范来源。

于 2014-03-06T20:30:10.330 回答