C# 클래스 FITKMS_business.Util.RecommendationService

파일 보기 프로젝트 열기: fitba/km-2013-projects-team-bjelasnica 1 사용 예제들

공개 메소드들

메소드 설명
ColaborativeFiltering ( int ID ) : List
GetTopArticleMatches ( int articleId, int userId ) : List
GetTopArticles ( int userId ) : List
GetTopQuestionsMatches ( int questionId, int userId ) : List

비공개 메소드들

메소드 설명
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

메소드 상세

ColaborativeFiltering() 공개 메소드

public ColaborativeFiltering ( int ID ) : List
ID int
리턴 List

GetTopArticleMatches() 공개 메소드

public GetTopArticleMatches ( int articleId, int userId ) : List
articleId int
userId int
리턴 List

GetTopArticles() 공개 메소드

public GetTopArticles ( int userId ) : List
userId int
리턴 List

GetTopQuestionsMatches() 공개 메소드

public GetTopQuestionsMatches ( int questionId, int userId ) : List
questionId int
userId int
리턴 List