|
CosineSimilarity Method
|
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(
double[] x,
double[] y
)
Public Function Similarity (
x As Double(),
y As Double()
) As Double
Request Example
View SourceParameters
- x
- Type: SystemDouble
The first point to be compared. - y
- Type: SystemDouble
The second point to be compared.
Return Value
Type:
DoubleA similarity measure between x and y.
Implements
ISimilarityT, USimilarity(T, U)See Also