Class CptMapCounts

java.lang.Object
edu.cmu.tetrad.bayes.CptMapCounts
All Implemented Interfaces:
CptMap, TetradSerializable, Serializable

public class CptMapCounts extends Object implements CptMap
Represents a conditional probability table (CPT) in a Bayes net. This represents the CPT as a map from a unique integer index for a particular node to the cell count for that node, where 0's are not stored. Row counts are also stored, so that the probability of a cell can be calculated. A prior cell count of 0 is assumed for all cells, but this may be set by the user to any non-negative count. (A prior count of 0 is equivalent to a maximum likelihood estimate.)
Author:
josephramsey
See Also: