Nothing
test_that("OptimizerAsyncRandomSearch works", {
skip_on_cran()
skip_if_not_installed("rush")
flush_redis()
optimizer = opt("async_random_search")
expect_class(optimizer, "OptimizerAsync")
rush::rush_plan(n_workers = 2)
instance = oi_async(
objective = OBJ_2D,
search_space = PS_2D,
terminator = trm("evals", n_evals = 5L),
)
expect_data_table(optimizer$optimize(instance), nrows = 1)
expect_data_table(instance$archive$data, min.rows = 5)
expect_rush_reset(instance$rush)
})
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.