|
BhattacharyyaDistance Method (Double, Double, Double, Double, Double, Double)
|
Bhattacharyya distance between two Gaussian distributions.
Namespace:
Accord.Math.Distances
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public double Distance(
double[] meanX,
double[][] covX,
double lnDetCovX,
double[] meanY,
double[][] covY,
double lnDetCovY
)
Public Function Distance (
meanX As Double(),
covX As Double()(),
lnDetCovX As Double,
meanY As Double(),
covY As Double()(),
lnDetCovY As Double
) As Double
Request Example
View SourceParameters
- meanX
- Type: SystemDouble
Mean for the first distribution. - covX
- Type: SystemDouble
Covariance matrix for the first distribution. - lnDetCovX
- Type: SystemDouble
The logarithm of the determinant for
the covariance matrix of the first distribution. - meanY
- Type: SystemDouble
Mean for the second distribution. - covY
- Type: SystemDouble
Covariance matrix for the second distribution. - lnDetCovY
- Type: SystemDouble
The logarithm of the determinant for
the covariance matrix of the second distribution.
Return Value
Type:
DoubleThe Bhattacharyya distance between the two distributions.
See Also