inspect_bnc_bn: Inspect a Bayesian network classifier (with structure and...

Description Usage Arguments Functions Examples

Description

Functions for inspecting a bnc_bn object. In addition, you can query this object with the functions documented in inspect_bnc_dag.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11

Arguments

x

The bnc_bn object. The Bayesian network classifier.

Functions

Examples

1
2
3
4
5
6
7
8
 
data(car)
nb <- bnc('nb', 'class', car, smooth = 1)
nparams(nb)
nb <- bnc('nb', 'class', car, smooth = 1, manb_prior = 0.5)
manb_arc_posterior(nb)
nb <- bnc('nb', 'class', car, smooth = 1, awnb_bootstrap = 0.5)
awnb_weights(nb)

bnclassify documentation built on March 26, 2020, 6:24 p.m.