search for: caretfunc

Displaying 2 results from an estimated 2 matches for "caretfunc".

Did you mean: caretfuncs
2010 Mar 23
1
caret package, how can I deal with RFE+SVM wrong message?
...a number of pre-defined sets of functions, like random Forest(rfFuncs), however,I want to tune the parameters (mtr) when RFE, and then I write code below, but there is something wrong message, How can I deal with it? > rfGrid<-expand.grid(.mtry=c(1:2)) > rfectrl<-rfeControl(functions=caretFuncs,method="cv",verbose=F,returnResamp="final",number=10) > subsets<-c(3,4) > set.seed(2) > rf.RFE<-rfe(trx,try,sizes=subsets,rfeControl=rfectrl,method="rf",tuneGrid=rfGrid) Loading required package: class Attaching package: 'class' The f...
2010 Mar 24
0
R-help ordinal regression
...ns, like > random Forest(rfFuncs), however,I want to tune the > parameters (mtr) when > RFE, and then I write code below, but there is something > wrong message, How > can I deal with it?? > > rfGrid<-expand.grid(.mtry=c(1:2)) > > > rfectrl<-rfeControl(functions=caretFuncs,method="cv",verbose=F,returnResamp="final",number=10) > > subsets<-c(3,4) > > set.seed(2) > > > rf.RFE<-rfe(trx,try,sizes=subsets,rfeControl=rfectrl,method="rf",tuneGrid=rfGrid) > Loading required package: class > > Attaching packa...