C# Class FITKMS_business.Util.RecommendationService

Afficher le fichier Open project: fitba/km-2013-projects-team-bjelasnica Class Usage Examples

Méthodes publiques

Méthode Description
ColaborativeFiltering ( int ID ) : List
GetTopArticleMatches ( int articleId, int userId ) : List
GetTopArticles ( int userId ) : List
GetTopQuestionsMatches ( int questionId, int userId ) : List

Private Methods

Méthode Description
CalculateCosineSimilarity ( double>.Dictionary vector1, double>.Dictionary vector2 ) : double
CalculatePearsonCorrelationForArticles ( int article1, int article2 ) : double
CalculatePearsonCorrelationForQuestions ( int question1, int question2 ) : double
CompleteItemProfile ( List articles ) : void
GenerateUserCluster ( int userId ) : List
GenerateUserProfile ( int userId ) : double>.Dictionary
GetGlobalWeight ( int tagId ) : double
GetLocalWeight ( int userId, int tagId ) : double
GetRatingsForArticles ( int articleId, int userId ) : void
GetRatingsForQuestions ( int questionId, int userId ) : void

Method Details

ColaborativeFiltering() public méthode

public ColaborativeFiltering ( int ID ) : List
ID int
Résultat List

GetTopArticleMatches() public méthode

public GetTopArticleMatches ( int articleId, int userId ) : List
articleId int
userId int
Résultat List

GetTopArticles() public méthode

public GetTopArticles ( int userId ) : List
userId int
Résultat List

GetTopQuestionsMatches() public méthode

public GetTopQuestionsMatches ( int questionId, int userId ) : List
questionId int
userId int
Résultat List