Prints summary of cornet object.

# S3 method for class 'cornet'
print(x, ...)

Arguments

x

cornet object

...

further arguments (not applicable)

Value

Returns sample size \(n\), number of covariates \(p\), information on dichotomisation, tuned scaling parameter (sigma), tuned weighting parameter (pi), and corresponding loss.

Examples

n <- 100; p <- 200
y <- rnorm(n)
X <- matrix(rnorm(n*p),nrow=n,ncol=p)
net <- cornet(y=y,cutoff=0,X=X)
#> Multiple minima.
print(net)
#> cornet object:
#> n = 100, p = 200 
#> z = I(y > 0): 52+ vs 48- 
#> sigma.min = 10 
#> pi.min = 0.07 
#> deviance = 1.3