Bayesian Network
| Attributes : |
|
|---|
Add a list of nodes to the network
| Args : |
|
|---|
Returns all beliefs of the network
| Returns : |
|
|---|
Return information about the evidence
| Returns : |
|
|---|
Set evidence for a Node element
| Args : |
|
|---|
Write an output file
| Args : |
|
|---|---|
| Returns : |
|
| Raises : |
|
Node element for the Bayesian Network
| Attributes : |
|
|---|
Add a list of outcomes to the node
| Args : |
|
|---|
View as Bar Chart
| Default : |
|
|---|
Returns beliefs for the node
| Args : |
|
|---|
Returns the cardinality of the factor
| Returns : |
|
|---|
Returns the input values for the Bayesian network
| Retunrs : |
|
|---|
Returns a list of outcomes
| Returns : |
|
|---|
Returns a list of probabilities
| Returns : |
|
|---|
Returns a single probabilitiy
| Args : |
|
|---|---|
| Returns : |
|
Returns the size of the probability table
| Retunrs : |
|
|---|
Returns values of the node
| Returns : |
|
|---|
Returns the variables in the factor
| Returns : |
|
|---|
View node as Icon or Bar Chart
| Args : |
|
|---|
Set beliefs for the node
| Args : |
|
|---|
Set font color
| Args : |
|
|---|---|
| Example : | >>>
# red: rgb(255, 0, 0) -> ff0000
xy.setFontColor('ff0000')
|
Set font name
| Args : |
|
|---|
Set interior color
| Args : |
|
|---|---|
| Example : | >>>
# red: rgb(255, 0, 0) -> ff0000
xy.setInteriorColor('ff0000')
|
Set position of the node
| Args : |
|
|---|
Set size of the node
| Args : |
|
|---|
Set outline color
| Args : |
|
|---|---|
| Example : | >>>
# red: rgb(255, 0, 0) -> ff0000
xy.setOutlineColor('ff0000')
|
Set the probabilities for the node
The order of these probabilities is given by considering the state of the first parent of the node as the most significant coordinate, then the second parent, then the third (and so on), and finally considering the coordinate of the node itself as the least significant one.
| Args : |
|
|---|