plot.gensvm.grid {gensvm}R Documentation

Plot the simplex space of the best fitted model in the GenSVMGrid

Description

This is a wrapper which calls the plot function for the best model in the provided GenSVMGrid object. See the documentation for plot.gensvm for more information.

Usage

## S3 method for class 'gensvm.grid'
plot(x, ...)

Arguments

x

A gensvm.grid object trained with refit=TRUE

...

further arguments are passed to the plot function

Value

returns the object passed as input

Author(s)

Gerrit J.J. van den Burg, Patrick J.F. Groenen
Maintainer: Gerrit J.J. van den Burg <gertjanvandenburg@gmail.com>

References

Van den Burg, G.J.J. and Groenen, P.J.F. (2016). GenSVM: A Generalized Multiclass Support Vector Machine, Journal of Machine Learning Research, 17(225):1–42. URL https://jmlr.org/papers/v17/14-526.html.

See Also

plot.gensvm, gensvm.grid, predict.gensvm.grid, gensvm-package

Examples


x <- iris[, -5]
y <- iris[, 5]

grid <- gensvm.grid(x, y)
plot(grid, x)



[Package gensvm version 0.1.7 Index]