You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
921 B

class: "BayesNetInputFactorEqualityTest"
max_points: "4"
alg: "inferenceByVariableElimination"
seed: "cs188"
constructRandomly: "False"
variables: """
W
D
T
"""
edges: """
W D
T D
"""
variableDomainsDict: """
W : sun rain
D : dry wet
T : hot cold
"""
queryVariables: "W"
variableEliminationOrder: "T D"
evidenceDict: """
"""
# endOfNonFactors
DunconditionedVariables: "D"
DconditionedVariables: "T W"
DFactorTable: """
D : dry, T : hot, W : sun = 0.9
D : wet, T : hot, W : sun = 0.1
D : dry, T : cold, W : sun = 0.8
D : wet, T : cold, W : sun = 0.2
D : dry, T : hot, W : rain = 0.5
D : wet, T : hot, W : rain = 0.5
D : dry, T : cold, W : rain = 0.3
D : wet, T : cold, W : rain = 0.7
"""
WunconditionedVariables: "W"
WconditionedVariables: ""
WFactorTable: """
W : sun = 0.8
W : rain = 0.2
"""
TunconditionedVariables: "T"
TconditionedVariables: ""
TFactorTable: """
T : hot = 0.75
T : cold = 0.25
"""