Learn R Programming

dbnR (version 0.7.1)

approx_prediction_step: Performs approximate inference in a time slice of the dbn

Description

Given a bn.fit object and some variables, performs particle inference over such variables in the net for a given time slice.

Usage

approx_prediction_step(fit, variables, particles, n = 50)

Arguments

fit

bn.fit object

variables

variables to be predicted

particles

a list with the provided evidence

n

the number of particles to be used by bnlearn

Value

the inferred particles