|
IFeatureTObservationLogMarginal Method
|
Computes the log-probability of occurrence of this
feature given a sequence of observations.
Namespace:
Accord.Statistics.Models.Fields.Features
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax double LogMarginal(
double[,] lnFwd,
double[,] lnBwd,
TObservation[] x,
int y
)
Function LogMarginal (
lnFwd As Double(,),
lnBwd As Double(,),
x As TObservation(),
y As Integer
) As Double
Request Example
View SourceParameters
- lnFwd
- Type: SystemDouble
The matrix of forward state log-probabilities. - lnBwd
- Type: SystemDouble
The matrix of backward state log-probabilities. - x
- Type: TObservation
The observation sequence. - y
- Type: SystemInt32
The output class label for the sequence.
Return Value
Type:
DoubleThe probability of occurrence of this feature.
See Also