LossPriorGene: Compute the prior penalty for the network.

Description Usage Arguments Value Examples

Description

Can take either a BoolNet network or a TPBN and computes the penalty on the network for its complexity. The penalty is given by having to encode the number of inputs, the set of actual inputs, and the Boolean function on these inputs.

Usage

1
LossPriorGene(net, g)

Arguments

net

A network, either threshold PBN or BoolNet net.

g

The gene to be penalized.

Value

A float.

Examples

1
2
net <- createNetwork(inputProbabilities=1, 5, 2, "homogeneous")
loss <- LossPriorGene(net, 1)

davidkwca/inferTPBN documentation built on May 9, 2019, 12:53 p.m.