Displaying 2 results from an estimated 2 matches for "rfectrl".
Did you mean:
fctrl
2010 Mar 23
1
caret package, how can I deal with RFE+SVM wrong message?
...this
task. As we know, there are 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 packa...
2010 Mar 24
0
R-help ordinal regression
...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 packag...