search for: svmres

Displaying 3 results from an estimated 3 matches for "svmres".

Did you mean: sumres
2007 Jan 22
0
Recursive-SVM (R-SVM)
...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="linear" ) if( CVtype == "LOO" ) { svmpred <- predict(svmres, matrix(xTest[SelInd], nrow=1) ) } else { svmpred <- predict(svmres, xTest[, SelInd] ) } ErrVec[gLevel] <- ErrVec[...
2011 Feb 22
0
why no "probabilities" from svm.predict?
> library(ROCR) > library(e1071) svmres.prob <- svm(traindx, traindy, probability=TRUE) svmpred.prob <- predict(svmres.prob, testdx, probability = TRUE, decision.values = TRUE, type="prob") > print(length(attr(svmpred.prob, "probabilities"))) [1] 0 > print(attr(svmpred.prob, "probabilities")) NU...
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]]