<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://syntheticsapien.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://syntheticsapien.com/feed.php">
        <title>Synthetic Sapien playground</title>
        <description></description>
        <link>http://syntheticsapien.com/</link>
        <image rdf:resource="http://syntheticsapien.com/lib/tpl/roundbox/images/favicon.ico" />
       <dc:date>2026-04-15T21:03:34-07:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://syntheticsapien.com/doku.php/playground:playground?rev=1340821931&amp;do=diff"/>
                <rdf:li rdf:resource="http://syntheticsapien.com/doku.php/playground:sidebar?rev=1297588302&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://syntheticsapien.com/lib/tpl/roundbox/images/favicon.ico">
        <title>Synthetic Sapien</title>
        <link>http://syntheticsapien.com/</link>
        <url>http://syntheticsapien.com/lib/tpl/roundbox/images/favicon.ico</url>
    </image>
    <item rdf:about="http://syntheticsapien.com/doku.php/playground:playground?rev=1340821931&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-06-27T11:32:11-07:00</dc:date>
        <title>PlayGround</title>
        <link>http://syntheticsapien.com/doku.php/playground:playground?rev=1340821931&amp;do=diff</link>
        <description>\sum \frac{X}{Y} == 



















































from MFrag import SQLDiscreteCPTBN;

def likelihoodWeighting(bn):
	nodes = bn.getNodes();
	
def likelihoodWeightingStep(bn, nodes, evidence):
	for node in nodes:
		pass;
	
def lwSample(bn, node, evidence):
	# Sample parents
	parents = bn.getParents(node);
	pValues = {}
	if(len(parents) &gt; 0):
		for parent in parents:
			pValues[parent] = lwSample(bn, parent, evidence);
	
	# Sample node
	cft = bn.stateFreq(db, node, parents, c…</description>
    </item>
    <item rdf:about="http://syntheticsapien.com/doku.php/playground:sidebar?rev=1297588302&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-02-13T01:11:42-07:00</dc:date>
        <title>playground:sidebar</title>
        <link>http://syntheticsapien.com/doku.php/playground:sidebar?rev=1297588302&amp;do=diff</link>
        <description>*  Main
	*  Go Player
	*  Using DokuWiki
		*  DokuWiki
		*  Formatting Syntax
		*  PlayGround

	*  About Me</description>
    </item>
</rdf:RDF>
