If structure not given, learn a network structure and fits BN
1 | fit_bn_str(bn_data, bn_str, score = "k2")
|
bn_data |
data.frame with only categorical columns |
bn_str |
optional bayesian network structure, if missing will be learned |
score |
used for structure learning algorthm (hill-climbing) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.