search for: trainlabels

Displaying 1 result from an estimated 1 matches for "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 prediction...