balanced.overlap {svmpath} | R Documentation |
Datasets for illustrating the svmpath function, that can be plotted while its running
data(svmpath)
In each case a list with a component x
(t column matrix) and a
component y
(vector of +1/-1 values)
"Balanced" refers to whether the number of +1s is the same as the -1s.
"Overlap" indicates whether the classes are linearly separable.
mixture.data
is a balanced dataset with 100 observations in
each class. The others are smaller with between 10-12 obs total.
The paper http://www-stat.stanford.edu/~hastie/Papers/svmpath.pdf, as well as the talk http://www-stat.stanford.edu/~hastie/TALKS/svmpathtalk.pdf.
data(svmpath)
attach(balanced.overlap)
svmpath(x,y,trace=TRUE,plot=TRUE)
detach(2)