Print an xplus model
Examples
set.seed(1)
x <- matrix(rnorm(100 * 5), ncol = 5)
y <- c(rep(1, 20), rep(0, 80))
fit <- xplus(x, y, max_iter = 5)
print(fit)
#> xplus model (PLUS algorithm)
#> Call: xplus(x = x, y = y, max_iter = 5)
#> Iterations: 5
#> Stop reason: max_iter
#> Original positives: 20
#> Fallback used: FALSE
#> Final training target range: 0 to 1
#> Final soft targets: 59
#> CV measure: deviance
#> Cutoff: 0.4683
#>
#> Lambda Index Measure SE Nonzero
#> min 0.02089 17 0.7757 0.04789 3
#> 1se 0.09256 1 0.7817 0.07399 0