Nothing
data <- bnlearn::learning.test
testthat::test_that('BNLearn scorer works', {
testthat::expect_true(BNLearnScorer('A', c('B', 'C'), data = data) < 0.0)
testthat::expect_true(BNLearnScorer('A', c(), data = data) < 0.0)
testthat::expect_true(BNLearnScorer('A', vector(), data = data) < 0.0)
testthat::expect_true(
BNLearnScorer(
'A', c('B', 'C'), data = data, type = 'bde', iss = 100
) > BNLearnScorer(
'A', c('B', 'C'), data = data, type = 'bde', iss = 1)
)
})
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.