Displaying 1 result from an estimated 1 matches for "p1549".
Did you mean:
1549
2009 Jun 08
6
Strange indices of support verctors from e1071
...e objects.
I tried the following R statements.
library('e1071')
datatraining <- read.csv("training.csv",head=TRUE)
names<-names(datatraining)
print("before print(names)"); print(names)
# There are 186 names, respectively 184 properties P3, P4 ... P1549
data <- subset(datatraining,select=c(-dataname_gen_spec,-Gen))
classes <- subset(datatraining,select=Gen)
# There are 13 classes
model <- svm(data,classes,type='C-classification',kernel='linear')
print(sprintf("There are %d support vectors",model$tot.nSV));
#...