print.gensvm {gensvm} | R Documentation |
Print the fitted GenSVM model
Description
Prints a short description of the fitted GenSVM model
Usage
## S3 method for class 'gensvm'
print(x, ...)
Arguments
x |
A |
... |
further arguments are ignored |
Value
returns the object passed as input. This can be useful for chaining operations on a fit object.
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
gensvm
, predict.gensvm
,
plot.gensvm
, gensvm-package
Examples
x <- iris[, -5]
y <- iris[, 5]
# fit and print the model
fit <- gensvm(x, y)
print(fit)
# (advanced) use the fact that print returns the fitted model
fit <- gensvm(x, y)
predict(print(fit), x)
[Package gensvm version 0.1.7 Index]