Description Usage Arguments Value Author(s) References See Also Examples
View source: R/print.svmpath.R
print a summary of the fitted svmpath object
1 2 |
x |
object to be printed |
digits |
number of significant digits (default 6) |
maxsteps |
the number of steps to print; default all |
... |
additional arguments to the generic print function |
For each step taken by the algorithm, one or more lines are printed. The step is described in terms of the observation number involved, a coded version of what happened, such as "L->E" meaning "from the Left set" to the "Elbow". Initially all the sets are empty. It gives the margin (sum of the xi), the size of the elbow, and the training error.
Trevor Hastie
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.
coef.svmpath, svmpath, predict.svmpath
1 2 3 4 5 |
Loaded svmpath 0.955
1: Obs 11 ->E lambda = 3.851000 Sum Eps = 8.7 Elbow = 2 Error = 2
1: Obs 6 ->E lambda = 3.851000 Sum Eps = 8.7 Elbow = 2 Error = 2
2: Obs 11 E->R lambda = 1.489298 Sum Eps = 8.63 Elbow = 0 Error = 3
2: Obs 6 E->R lambda = 1.489298 Sum Eps = 8.63 Elbow = 0 Error = 3
3: Obs 12 ->E lambda = 1.047224 Sum Eps = 8.06 Elbow = 2 Error = 3
3: Obs 3 ->E lambda = 1.047224 Sum Eps = 8.06 Elbow = 2 Error = 3
4: Obs 1 L->E lambda = 0.907920 Sum Eps = 8 Elbow = 3 Error = 3
1: Obs 11 ->E lambda = 3.851000 Sum Eps = 8.7 Elbow = 2 Error = 2
1: Obs 6 ->E lambda = 3.851000 Sum Eps = 8.7 Elbow = 2 Error = 2
2: Obs 11 E->R lambda = 1.489298 Sum Eps = 8.63 Elbow = 0 Error = 3
2: Obs 6 E->R lambda = 1.489298 Sum Eps = 8.63 Elbow = 0 Error = 3
3: Obs 12 ->E lambda = 1.047224 Sum Eps = 8.06 Elbow = 2 Error = 3
3: Obs 3 ->E lambda = 1.047224 Sum Eps = 8.06 Elbow = 2 Error = 3
4: Obs 1 L->E lambda = 0.907920 Sum Eps = 8 Elbow = 3 Error = 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.