Nothing
test_that("grnn regression with one target", {
model <- grnn_model(ts(c(2, 3, 1, 5, 4, 0, 7, 1, 2)),
lags = 1:2, sigma = 1, transform = "none")
expect_equal(round(regression(model, c(1, 2))$prediction, 3), 1.801)
})
test_that("knn regression with multiple targets", {
model <- grnn_model(ts(c(2, 3, 1, 5, 4, 0, 7, 1, 2)), lags = 1:2,
sigma = 1, nt = 2, transform = "none")
expect_equal(round(regression(model, c(1, 2))$prediction, 3), c(1.801, 4.690))
})
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.