C# 클래스 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

상속: MyMediaLite.Correlation.BinaryDataAsymmetricCorrelationMatrix
파일 보기 프로젝트 열기: zenogantner/MyMediaLite

공개 메소드들

메소드 설명
BidirectionalConditionalProbability ( int num_entities, float alpha ) : System

Creates an object of type BidirectionalConditionalProbability

보호된 메소드들

메소드 설명
ComputeCorrelationFromOverlap ( float overlap, float count_x, float count_y ) : float

메소드 상세

BidirectionalConditionalProbability() 공개 메소드

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
리턴 System

ComputeCorrelationFromOverlap() 보호된 메소드

protected ComputeCorrelationFromOverlap ( float overlap, float count_x, float count_y ) : float
overlap float
count_x float
count_y float
리턴 float