Displaying 1 result from an estimated 1 matches for "ne_type".
Did you mean:
e_type
2007 Feb 26
1
training svm
...tor machine, it gives me this error after a few seconds:
Error in predict.svm(ret, xhold) : Model is empty!
This is the code I use:
ne_span_data <- as.matrix(read.table('ne_span.data.R.txt', header=TRUE,
row.names='id'))
library('e1071')
svm_ne_span_model <- svm(NE_type ~ . , ne_span_data)
it gives me:
Error in predict.svm(ret, xhold) : Model is empty!
A line from the ne_span.data.R.txt file:
svt OTHER N N I S 2 NA NA NA NA NA A NA NA 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 train-s1m2
Any idea what's wrong here?
--
View this me...