Displaying 3 results from an estimated 3 matches for "selind".
Did you mean:
selinx
2007 Jan 22
0
Recursive-SVM (R-SVM)
...estInd <- SampInd[ which(!(SampInd %in% TrainInd ))]
}
}
nTests <- nTests + length(TestInd)
## in each level, train a SVM model and record test error
xTrain <- x[TrainInd, ]
yTrain <- y[TrainInd]
xTest <- x[TestInd,]
yTest <- y[TestInd]
## index of the genes used in the
SelInd <- seq(1, nGene)
for( gLevel in 1:length(ladder) )
{
## record the genes selected in this ladder
SelFreq[SelInd, gLevel] <- SelFreq[SelInd, gLevel] +1
## train SVM model and test error
svmres <- svm(xTrain[, SelInd], yTrain, scale=F, type="C-classification", kernel="li...
2011 Feb 21
3
ROC from R-SVM?
*Hi,
*Does anyone know how can I show an *ROC curve for R-SVM*? I understand in
R-SVM we are not optimizing over SVM cost parameter. Any example ROC for
R-SVM code or guidance can be really useful.
Thanks, Angel.
[[alternative HTML version deleted]]
2008 Feb 05
0
Uninformative error msgs w/ svm.default - Error in svm.default ... y must be a vector or a factor -
...-1
Levels: -1 1
> mode(m.cl.f)
[1] "numeric"
the rSVM function is called as such (it is a wrapper for svm in e1071, which then calls low-level svm.default ) -
> rsvm_output <- RSVM(x=svm_num_mat, y=m.cl.f, ladder=laddy, CVtype="LOO" )
Error in svm.default(xTrain[, SelInd], yTrain, scale = F, type = "C-classification", :
y must be a vector or a factor.
....the 'laddy' variable just specifies a recursive parameter for the overlying rSVM procedure - here, it calls the 1st round w/ all 12340 elements, then with the highest scoring 9255 element...