public final class ParameterCounter extends Object
Modifier and Type | Method and Description |
---|---|
static double |
getParameterCount(Network network)
Gets the number of parameters in a Bayesian network.
|
static double |
getParameterCount(Network network,
ParameterCountOptions options)
Gets the number of parameters in a Bayesian network.
|
static double |
getParameterCount(Node node,
int order)
Gets the parameter count for an individual node distribution.
|
static double |
getParameterCount(Node node,
NodeDistributionKey key)
Gets the parameter count for an individual node distribution.
|
public static double getParameterCount(Network network)
network
- The network.NullPointerException
- Thrown if [network] is null.public static double getParameterCount(Network network, ParameterCountOptions options)
network
- The network.options
- Options governing the parameter count.NullPointerException
- Thrown if [network] is null.public static double getParameterCount(Node node, int order)
node
- The node that owns the distribution.order
- The distribution order. Always zero for non temporal nodes.public static double getParameterCount(Node node, NodeDistributionKey key)
node
- The node that owns the distribution.key
- The distribution key. Order is always zero for non temporal nodes.Copyright © 2023. All rights reserved.