Click or drag to resize
Accord.NET (logo)

EuclideanSimilarity Method (SparseDouble, SparseDouble)

Gets a similarity measure between two points.

Namespace:  Accord.Math.Distances
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public double Similarity(
	Sparse<double> x,
	Sparse<double> y
)
Request Example View Source

Parameters

x
Type: Accord.MathSparseDouble
The first point to be compared.
y
Type: Accord.MathSparseDouble
The second point to be compared.

Return Value

Type: Double
A similarity measure between x and y.

Implements

ISimilarityT, USimilarity(T, U)
See Also