An abstract class that acts as a conditional probability distribution across discrete values.
BayesianInference(X, RandomDistribution<Y>)
Inherited from Cognitoware.Mathematics.Probability.RandomConditional
ConditionalProbabilityOf(X, Y)
Inherited from Cognitoware.Mathematics.Probability.RandomConditional
ConditionBy(Y)
Inherited from Cognitoware.Mathematics.Probability.RandomConditional
Equals(Object)
Inherited from System.Object
Finalize()
Inherited from System.Object
GetHashCode()
Inherited from System.Object
GetType()
Inherited from System.Object
LikelihoodOf(X)
Inherited from Cognitoware.Mathematics.Probability.RandomConditional
Marginalize(RandomDistribution<Y>)
Inherited from Cognitoware.Mathematics.Probability.RandomConditional
Performs the marginalization operation P(X|Z) = P(X|Y) * P(Y|Z).
MemberwiseClone()
Inherited from System.Object
ToString()
Inherited from System.Object
An abstract class that acts as a conditional probability distribution across discrete values.
The main addition are the Domain and Range functions that allow iteration over all elements in X and Y that have values in this distribution.
public ConditionalValueMap<X> Marginalize(DiscreteConditional<Y> that)
Performs the marginalization operation P(X|Z) = P(X|Y) * P(Y|Z).
Uses the Domain and Range properties to sum probabilities across Y.
Parameters:
that
- The second operand in the marginalization operation.
Returns:
A new conditional distribution P(X|Z)