Nothing
test_that("regularization path correctly stops if max_variables reached", {
x <- scale(heart$x)
y <- heart$y
fit <- SLOPE(
x,
y,
family = "binomial",
max_variables = 10,
intercept = FALSE,
lambda = "bh"
)
path_length <- length(fit$alpha)
n_var <- sum(unique(abs(signif(coef(fit)[, path_length - 1])), 4) != 0)
expect_lte(n_var, 10)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.