Displaying 1 result from an estimated 1 matches for "trainlabel".
Did you mean:
trainlabels
2009 Aug 04
1
Strange error with ROCR
Hello,
I've come across a strange error...
Here is what happens:
model <- svm(traindata,trainlabels, type="C-classification",
kernel="radial", cost=10, class.weights=c("win"=3,"lose"=1),
scale=FALSE, probability = TRUE)
predictions <- predict(model, traindata)
pred <- prediction(predictions, trainlabels)
This returns an error:
Error in predictio...