Displaying 1 result from an estimated 1 matches for "input_dataset_prediction".
2012 Oct 17
0
Svm modeling :: Error in which.max(votematrix[, x]) : subscript out of bounds
...classification problem, I am using SVM for prediction in R. In
dataset, there are integer as well as categorical variables. I got error
while predicting with predict method.
svp3c <- ksvm(input_dataset3$isCRgt3~., data=input_dataset3,type="C-svc")
p3<-predict(svp3c,newdata=input_dataset_prediction[,-1],type="response")
error :: Error in which.max(votematrix[, x]) : subscript out of bounds
For this modeling
First : developed model with training dataset
second : saved and Load model for prediction on testing dataset
Here is my script sample ::
------------------------------...