Description Usage Arguments Value
Perform inference on network
1 2 3 |
net |
the network |
evidence |
vector of integers specifying known values of nodes. This can include NA values for unknown variables. You can also pass a data frame row as the function will cast it to numeric internally. |
num |
integer specifying the number of samples to used in inference |
update |
boolean specifying whether to update node parameters |
algorithm |
A string specifying a valid algorithm. "IS" = Importance sampling. "BS" = Backwards sampling "SU" = Selected uniform sampling "MC" = MCMC sampling |
algoSpecific |
An algorithm specific object: |
updated network with a posterior probabilities object as field posterior
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.