HI, Dear R community,

I have 1 and 0 outcome in data set, I used the SVM (e1071).  what is the
meaning of 1/0 in the decision.values?

if the decision.values>0 then it will class to 1, and if decision.values<0,
then it will classify to 0, is this right?



> attributes(svm.pred)$decision.values
               1/0
16    1.4363935596
23    0.5238457402
43    0.3074995010
52    1.9586635525
55    1.7276312484
75    1.7023838348
82    1.1030645557
120   0.3641599926
128   0.3388179694
147   0.4199537672
148   1.5311047874
153   2.5191302738
161   2.3069697377
162   0.9179497841
172   1.0192415342
176   1.3536947861
215   0.9405960067
222   0.9792365851
255   1.2270351367
267   1.7377883390
279   1.1427732884
282   1.2548137295
292   1.1336236065
320   0.4953096976
333   1.0867080386
338   2.5335080606


-- 
Sincerely,
Changbin
--

Changbin Du
DOE Joint Genome Institute
Bldg 400 Rm 457
2800 Mitchell Dr
Walnut Creet, CA 94598
Phone: 925-927-2856

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to