Nothing
test_that("different screening algorithms return equivalent results", {
set.seed(1119)
xy <- SLOPE:::randomProblem(50, 100)
x <- xy$x
y <- xy$y
fit_strong <- SLOPE(
x,
y,
screen_alg = "strong", tol_dev_change = 0,
tol_dev_ratio = 2, max_variables = 500
)
fit_previous <- SLOPE(
x,
y,
screen_alg = "previous", tol_dev_change = 0,
tol_dev_ratio = 2, max_variables = 500
)
expect_equivalent(coef(fit_strong), coef(fit_previous), tol = 6e-3)
})
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.