| 
            
              FirstMomentFeatureMarginal Method 
             | 
          
        
         
              Computes the 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
Syntaxpublic override double Marginal(
	double[,] fwd,
	double[,] bwd,
	double[] x,
	int y
)
Public Overrides Function Marginal ( 
	fwd As Double(,),
	bwd As Double(,),
	x As Double(),
	y As Integer
) As Double
 Request Example
		View SourceParameters
- fwd
 - Type: SystemDouble
The matrix of forward state probabilities. - bwd
 - Type: SystemDouble
The matrix of backward state probabilities. - x
 - Type: SystemDouble
The observation sequence. - y
 - Type: SystemInt32
The output class label for the sequence. 
Return Value
Type: 
DoubleThe probability of occurrence of this feature.
Implements
IFeatureTObservationMarginal(Double, Double, TObservation, Int32)
See Also