View source: R/dbn_inference.R
exact_inference | R Documentation |
Given a bn.fit object, the size of the net and a data.set, performs exact forecasting over the initial evidence taken from the dataset.
exact_inference(dt, fit, obj_vars, ini, len, prov_ev)
dt |
data.table object with the TS data |
fit |
bn.fit object |
obj_vars |
variables to be predicted |
ini |
starting point in the dataset to forecast. |
len |
length of the forecast |
prov_ev |
variables to be provided as evidence in each forecasting step |
a list with the mu results of the forecast
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.