BNJ 2.03aIntermediate Developer TutorialRoby Joehanes(revised by William H. Hsu)Kansas State UniversityKDD Laboratoryhttp://www.kddresearch.orghttp://bndev.sourceforge.netContentsn Introductionn Core Classesn Inference Classesn Data Classesn Learning Classesn Converter Classesn Genetic Algorithm Classeshttp://bndev.sourceforge.net1BNJ 2.0: What’s Newn Total revamp from 1.0n Aimed towards stability, flexibility, maintainability, and speedn New functionality addedn Status: alpha¤API not finalized yet¤More mature on learning side than inferencehttp://bndev.sourceforge.netCore Architecturen Divided into several parts:¤ Core classes – edu.ksu.cis.bnj.bbn packageFor expressing graphs, nodes, edges, cpts (CPFs), PDFs (cpt’s entries).¤ Inference – edu.ksu.cis.bnj.bbn.inference packageExact and inexact inference¤ Learning – edu.ksu.cis.bnj.bbn.learningStructure learning¤ PRM – edu.ksu.cis.bnj.bbn.prmAll classes necessary for probabilistic relational models¤ Data – edu.ksu.cis.kdd.dataRepresenting data for learning methodshttp://bndev.sourceforge.net2Auxiliary Architecturen Converter – edu.ksu.cis.bnj.bbn.converterLoading, saving, converting network filesn Data converter – edu.ksu.cis.kdd.data.converterLoading, saving, converting data filesn GUI – edu.ksu.cis.bnj.guiGraphical user interface componentsn Genetic algorithm – edu.ksu.cis.kdd.gaMainly used for GAWK (GA Wrapper for K2)n Bayes classifier – edu.ksu.cis.kdd ...
Voir