data(test_adlp_component)
test_component1 <- test_adlp_component
test_component2 <- test_adlp_component
test_components <- adlp_components(
component1 = test_component1,
component2 = test_component2
)
newdata <- test_component1$model_train$data
test_adlp <- adlp(test_components, newdata = newdata,
partition_func = adlp_partition_ap, tri.size = 40, size = 3)
test_adlp_dens <- adlp_dens(test_adlp, newdata, "full")
data(test_adlp_component)
test_component1 <- test_adlp_component
test_component2 <- test_adlp_component
test_components <- adlp_components(
component1 = test_component1,
component2 = test_component2
)
newdata <- test_component1$model_train$data
test_adlp <- adlp(test_components, newdata = newdata,
partition_func = adlp_partition_ap, tri.size = 40, size = 3)
test_adlp_logs <- adlp_logS(test_adlp, newdata, "full")
data(test_adlp_component)
test_component1 <- test_adlp_component
test_component2 <- test_adlp_component
test_components <- adlp_components(
component1 = test_component1,
component2 = test_component2
)
newdata <- test_component1$model_train$data
test_adlp <- adlp(test_components, newdata = newdata,
partition_func = adlp_partition_ap, tri.size = 40, size = 3)
test_adlp_crps <- adlp_CRPS(test_adlp, newdata, "full", response_name = "claims", sample_n = 100)
data(test_adlp_component)
test_component1 <- test_adlp_component
test_component2 <- test_adlp_component
test_components <- adlp_components(
component1 = test_component1,
component2 = test_component2
)
newdata <- test_component1$model_train$data
test_adlp <- adlp(test_components, newdata = newdata,
partition_func = adlp_partition_ap, tri.size = 40, size = 3)
test_adlp_sim <- adlp_simulate(10, test_adlp, newdata=newdata)
Run the code above in your browser using DataLab