Compute correlations between two entities for given ratings
Declaring type: Pearson
Namespace: MyMediaLite.Correlation
Assembly: MyMediaLite
Collapse/Expand Syntax
C#
public static float ComputeCorrelation (
        Ratings ratings1,
        Ratings ratings2,
        EntityType entity_type,
        int i,
        int j,
        float shrinkage
) 
Parameters
ratings1
the rating data for entity 1
ratings2
the rating data for entity 2
entity_type
the entity type, either USER or ITEM
i
the ID of first entity
j
the ID of second entity
shrinkage
the shrinkage parameter
Return Value

There is no description.