BuildTable.NeticaNode {PNetica} | R Documentation |
The function BuildTable
calls
calcDPCFrame
to calculate the conditional
probability for a Pnode
object, and sets the current
conditional probability table of node
to the resulting value.
It also sets the NodeExperience(node)
to the
current value of GetPriorWeight(node)
.
## S3 method for class 'NeticaNode' BuildTable(node)
node |
A |
The fields of the Pnode
object correspond to the
arguments of the calcDPCTable
function. The
output conditional probability table is then set in the node object in
using the []
(Extract.NeticaNode) operator.
In addition to setting the CPT, the weight given to the nodes in the
EM algorithm are set to GetPriorWeight(node)
,
which will extract the value of
PnodePriorWeight(node)
or if that is null, the
value of
PnetPriorWeight(NodeParents(node))
and set NodeExperience(node)
to the resulting value.
The node
argument is returned invisibly.
As a side effect the conditional probability table and experience of
node
is modified.
Russell Almond
Almond, R. G. (2015) An IRT-based Parameterization for Conditional Probability Tables. Paper presented at the 2015 Bayesian Application Workshop at the Uncertainty in Artificial Intelligence Conference.
Pnode.NeticaNode
, Pnode
,
PnodeQ
,
PnodePriorWeight
, PnodeRules
,
PnodeLink
, PnodeLnAlphas
,
PnodeAlphas
, PnodeBetas
,
PnodeLinkScale
,GetPriorWeight
,
calcDPCTable
,
NodeExperience(node)
,
Extract.NeticaNode
([
)