MyMediaLite
Cosine.ComputeCorrelation Method (HashSet<int>, HashSet<int>)
Syntax
Collapse All
Computes the cosine similarity of two binary vectors
Declaring type:
Cosine
Namespace:
MyMediaLite.Correlation
Assembly:
MyMediaLite
Syntax
C#
public static float ComputeCorrelation ( HashSet<int>
vector_i
, HashSet<int>
vector_j
)
Parameters
vector_i
the first vector
vector_j
the second vector
Return Value
the cosine similarity between the two vectors
Top
Generated by
ImmDoc .NET
.