Displaying 1 result from an estimated 1 matches for "0_train_0016435".
2008 Jun 17
1
Trouble with FUN(newX[, i], ...)
Hi,
I am trying to train svm with some training data of about 4000 rows and 4000
columns. While running svm function I am ending up with the following error.
trainfile <- read.csv('0_train_0016435.csv',head=TRUE,na.strings = "NULL")
datatrain <- subset(trainfile,select=c(-Class))
model <- svm(datatrain, kernel="radial")
Error in FUN(newX[, i], ...) : 'x' is empty
I tried substituting "NULL" strings in the data with some numeric values but
st...