Class TwitterMaximumCosineSimilarity<U>
java.lang.Object
es.uam.eps.ir.ranksys.rec.AbstractRecommender<U,I>
es.uam.eps.ir.ranksys.rec.fast.AbstractFastRecommender<U,I>
es.uam.eps.ir.ranksys.rec.fast.FastRankingRecommender<U,U>
es.uam.eps.ir.relison.links.recommendation.UserFastRankingRecommender<U>
es.uam.eps.ir.relison.links.recommendation.algorithms.standalone.twitter.TwitterRecommender<U>
es.uam.eps.ir.relison.links.recommendation.algorithms.standalone.twitter.TwitterMaximumCosineSimilarity<U>
- Type Parameters:
U- type of the users.
- All Implemented Interfaces:
es.uam.eps.ir.ranksys.core.index.ItemIndex<U>,es.uam.eps.ir.ranksys.core.index.UserIndex<U>,es.uam.eps.ir.ranksys.fast.index.FastItemIndex<U>,es.uam.eps.ir.ranksys.fast.index.FastUserIndex<U>,es.uam.eps.ir.ranksys.rec.fast.FastRecommender<U,U>,es.uam.eps.ir.ranksys.rec.Recommender<U,U>
public class TwitterMaximumCosineSimilarity<U> extends TwitterRecommender<U>
Twitter maximum cosine: executes the maximum cosine over bipartite graphs from
the reduced graph.
-
Field Summary
Fields inherited from class es.uam.eps.ir.relison.links.recommendation.algorithms.standalone.twitter.TwitterRecommender
circles, supplierFields inherited from class es.uam.eps.ir.relison.links.recommendation.UserFastRankingRecommender
graph -
Constructor Summary
Constructors Constructor Description TwitterMaximumCosineSimilarity(FastGraph<U> graph, int circlesize, double r)Constructor. -
Method Summary
Methods inherited from class es.uam.eps.ir.relison.links.recommendation.algorithms.standalone.twitter.TwitterRecommender
getScoresMapMethods inherited from class es.uam.eps.ir.relison.links.recommendation.UserFastRankingRecommender
getFreq, getFreq, getGraphMethods inherited from class es.uam.eps.ir.ranksys.rec.fast.FastRankingRecommender
getRecommendationMethods inherited from class es.uam.eps.ir.ranksys.rec.fast.AbstractFastRecommender
getRecommendation, getRecommendation, getRecommendation, getRecommendation, getRecommendation, getRecommendation, getRecommendation, iidx2item, item2iidx, numItems, numUsers, uidx2user, user2uidxMethods inherited from class es.uam.eps.ir.ranksys.rec.AbstractRecommender
getRecommendation, getRecommendationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface es.uam.eps.ir.ranksys.fast.index.FastItemIndex
containsItem, getAllIidx, getAllItems, iidx2item, iidx2item, item2iidx, item2iidx
-
Constructor Details
-
TwitterMaximumCosineSimilarity
Constructor.- Parameters:
graph- original graph.circlesize- size of the circles of trust.r- teleport rate for the circles of trust.
-