Displaying 2 results from an estimated 2 matches for "x1x2y".
Did you mean:
x1x2
2018 Jan 10
1
svm --- type~.
Dear All: Just fixed where is the problem
I am trying to use the R function "svm" with "type~." , but I got the
following error message
SVM.Model1 <- svm(type ~ ., data=my.data.x1x2y, *type='C-classification'*,
kernel='linear',scale=FALSE)
*Error in eval(predvars, data, env) : object 'type' not found*
I am wondering if I should install a specific R package(s).
*Here is my codes:*
feature.x1 <- c(0.25,0.5,1,1,1.5,2,2.25,2.5,2,1,3, 5,3.75,
1,3...
2018 Jan 10
1
svm
Dear All:
I am trying to use the R function "svm" with "type =C-classification" ,
but I got the following error message
SVM.Model1 <- svm(type ~ ., data=my.data.x1x2y, *type='C-classification'*,
kernel='linear',scale=FALSE)
*Error in eval(predvars, data, env) : object 'type' not found*
I am wondering if I should install a specific R package(s).
*Here is my codes:*
feature.x1 <- c(0.25,0.5,1,1,1.5,2,2.25,2.5,2,1,3, 5,3.75,
1,3...