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

View source: R/dbn_inference.R

approx_prediction_stepR Documentation

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


dbnR documentation built on Jan. 13, 2026, 5:06 p.m.