Click or drag to resize
Accord.NET (logo)

BhattacharyyaDistance Method (UnivariateDiscreteDistribution, UnivariateDiscreteDistribution)

Bhattacharyya distance between two histograms.

Namespace:  Accord.Math.Distances
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public double Distance(
	UnivariateDiscreteDistribution x,
	UnivariateDiscreteDistribution y
)
Request Example View Source

Parameters

x
Type: Accord.Statistics.Distributions.UnivariateUnivariateDiscreteDistribution
The first histogram.
y
Type: Accord.Statistics.Distributions.UnivariateUnivariateDiscreteDistribution
The second histogram.

Return Value

Type: Double
The Bhattacharyya between the two histograms.

Implements

IDistanceT, UDistance(T, U)
See Also