C# Class MyMediaLite.Correlation.BidirectionalConditionalProbability

Class for storing and computing 'bi-directional' conditional probabilities

A generalization of both conditional probability (alpha=1) and cosine similarity (alpha=0.5).

Literature: Fabio Aiolli: Efficient top-n recommendation for very large scale binary rated datasets. RecSys 2013. http://www.math.unipd.it/~aiolli/PAPERS/MSD_final.pdf

Inheritance: MyMediaLite.Correlation.BinaryDataAsymmetricCorrelationMatrix
Afficher le fichier Open project: zenogantner/MyMediaLite

Méthodes publiques

Méthode Description
BidirectionalConditionalProbability ( int num_entities, float alpha ) : System

Creates an object of type BidirectionalConditionalProbability

Méthodes protégées

Méthode Description
ComputeCorrelationFromOverlap ( float overlap, float count_x, float count_y ) : float

Method Details

BidirectionalConditionalProbability() public méthode

Creates an object of type BidirectionalConditionalProbability
public BidirectionalConditionalProbability ( int num_entities, float alpha ) : System
num_entities int the number of entities
alpha float alpha parameter
Résultat System

ComputeCorrelationFromOverlap() protected méthode

protected ComputeCorrelationFromOverlap ( float overlap, float count_x, float count_y ) : float
overlap float
count_x float
count_y float
Résultat float