untitled

(ff) #1

374 16 The Bayesian Web


<DIST TYPE="discrete">
<CONDSET>
<CONDELEM NAME="Flu"/>
<CONDELEM NAME="Cold"/>
</CONDSET>
<PRIVATE NAME="PerceivesFever"/>
<DPIS>
<DPI INDEXES="0 0">0.99 0.01</DPI>
<DPI INDEXES="0 1">0.90 0.10</DPI>
<DPI INDEXES="1 0">0.10 0.90</DPI>
<DPI INDEXES="1 1">0.05 0.95</DPI>
</DPIS>
</DIST>
<DIST TYPE="gaussian">
<CONDSET>
<CONDELEM NAME="Flu"/>
<CONDELEM NAME="Cold"/>
</CONDSET>
<PRIVATE NAME="Temperature"/>
<DPIS>
<DPI INDEXES="0 0" MEAN="37" VARIANCE="0.25">
<DPI INDEXES="0 1" MEAN="37.5" VARIANCE="1.0">
<DPI INDEXES="1 0" MEAN="39" VARIANCE="2.25">
<DPI INDEXES="1 1" MEAN="39.2" VARIANCE="2.56">
</DPIS>
</DIST>
</DISTRIBUTIONS>
</BNMODEL>
</ANALYSISNOTEBOOK>

TheANALYSISNOTEBOOKelement is the root. It allows one to specify more
than one BN in a single XML document. In this case there is just one BN
which is specified by theBNMODELelement. The child elements ofBNMODEL
specify the nodes, edges, and CPDs of the BN. One can also annotate the
BN with information such as who created it and which version it is. The
annotations are in theSTATICPROPERTIESelement, the nodes are in the
VARIABLESelement, the edges are in theSTRUCTUREelement, and the CPDs
are in theDISTRIBUTIONSelement. Nodes are specified byVARelements.
Edges are specified byARCelements. CPDs are specified byDISTelements.
Free download pdf