Load+an+XML+BIF+file

toc You should use the BIFReader class.

Here is the snippet : code format="java" import weka.classifiers.bayes.BayesNet; import weka.classifiers.bayes.net.BIFReader; public class wekaTest { public static void main(String[] args) throws Exception { BayesNet network = new BayesNet; BIFReader reader = new BIFReader; network = reader.processFile("rb_on_min_attr.xml"); } } code

= Downloads =
 * ([|book], [|stable-3.6], [|developer])