Nothing
context("FunKerasGeneric")
skip_on_cran()
test_that("check funKerasGeneric: does resDummy work?", {
target <- "age"
nobs <- 100
batch_size <- 32
prop <- 0.5
cachedir <- "oml.cache"
dfCensus <- getDataCensus(target = target, nobs=nobs, cachedir = cachedir)
data <- getGenericTrainValTestData(dfGeneric = dfCensus,
prop = prop)
specList <- genericDataPrep(data=data, batch_size = batch_size)
kerasConf <- getKerasConf()
kerasConf$verbose <- 0
kerasConf$resDummy <- TRUE
x <- NULL
res <- evalKerasGeneric(x,
kerasConf,
specList)
expect_equal(dim(res)[2],7)
}
)
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.