Loading bayesian network from BIF-file

[email protected]
Newsgroups gmane.comp.ai.weka
Message-ID <164441869373.1865.15774279458395093047@sys-mailman-prd.its.waikato.ac.nz>
I'm trying to load a bayesian network from a BIF file to be able to validate it against a test-set.
However, I keep getting a null-pointer because m_MissingValuesFilter is not set.

Currently my code looks as follows:

        BIFReader reader = new BIFReader();
        BIFReader network = reader.processFile(target);

        network.buildStructure();

        Evaluation eval = new Evaluation(testData);
        eval.evaluateModel(network, testData);

Does anyone have any advice?
_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.