Skip to contents

As summary.psvr_mape(), with the symmetry parameter \(a\) reported.

Usage

# S3 method for class 'psvr_mape_sym'
summary(object, ...)

Arguments

object

An object of class "psvr_mape_sym", from psvr_mape() with sym_type = "even" or "odd".

...

Ignored.

Value

object, invisibly. Called for the printed summary.

Examples

set.seed(1)
X <- matrix(rnorm(40), 20, 2)
y <- rlnorm(20)
fit <- psvr_mape(X, y, sym_type = "even",
                 kernel = make_kernel("rbf", sigma = 1), C = 10, eps = 5)
summary(fit)
#> 
#> Epsilon-SVR with MAPE loss  [psvr_mape_sym]
#> 
#>   Kernel:          RBF (sigma = 1)
#>   Training obs.:   20
#>   Predictors:      2
#>   Support vectors: 19 (95.0%)
#>   Symmetry:        even  (a = 1)
#> 
#>   Hyperparameters:
#>     C      = 10
#>     eps    = 5
#> 
#>   SMO iterations:  2926 (converged)
#>