Hi,
I am trying to use svm for regression data.
this is how my data looks like:
>dataTrain
x y z
1 4 6
2 5 4
3 7 5
>classTrain
a
2
3
4
>dataTest
x y z
1 7 2
2 8 3
>classTest
a
3
4
5
building the model
model<-svm(dataTrain,classTrain,type="nu-regression")
pred <- predict(mo
Hi,
I am having trouble with svm regression.it is not giving the right results.
example
> model <- svm(dataTrain,classTrain,type="eps-regression")
> predict(model, dataTest)
36 37 38 39 40 41
42
-13.838257 -1.475401 10.502739 -3.047656 -8.71369
2 matches
Mail list logo