class_var()
: Returns the class variable.
features()
: Returns the features.
vars()
: Returns all variables (i.e., features + class).
families()
: Returns the family of each variable.
modelstring()
: Returns the model string of the network in bnlearn format (adding a space in between two families).
feature_families()
: Returns the family of each feature.
narcs()
: Returns the number of arcs.
is_semi_naive()
: Returns TRUE if x
is a semi-naive Bayes.
is_anb()
: Returns TRUE if x
is an augmented naive Bayes.
is_nb()
: Returns TRUE if x
is a naive Bayes.
is_ode()
: Returns TRUE if x
is a one-dependence estimator.