PlayGround

Test

Test 2

Test 3

\sum \frac{X}{Y} ==












Test 4

f(x) = 3x + 10











Test 5

BNInfluenceDiagram.py
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) > 0):
		for parent in parents:
			pValues[parent] = lwSample(bn, parent, evidence);
 
	# Sample node
	cft = bn.stateFreq(db, node, parents, cft=True);
	return CFTtoCPT(cft, )
 
def CFTtoCPT():
	pass;

Export page to Open Document format









You could leave a comment if you were logged in.

playground/playground.txt · Last modified: 2012/06/27 11:32 by aiartificer