balanced.overlap {svmpath}R Documentation

simple examples for svmpath

Description

Datasets for illustrating the svmpath function, that can be plotted while its running

Usage

data(svmpath)

Format

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.

References

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.

Examples

data(svmpath)
attach(balanced.overlap)
svmpath(x,y,trace=TRUE,plot=TRUE)
detach(2)

[Package svmpath version 0.970 Index]