Class FastUpdateableRankingRecommender<U,​I>

java.lang.Object
es.uam.eps.ir.ranksys.rec.AbstractRecommender<U,​I>
es.uam.eps.ir.relison.links.recommendation.updateable.fast.AbstractFastUpdateableRecommender<U,​I>
es.uam.eps.ir.relison.links.recommendation.updateable.fast.FastUpdateableRankingRecommender<U,​I>
All Implemented Interfaces:
es.uam.eps.ir.ranksys.core.index.ItemIndex<I>, es.uam.eps.ir.ranksys.core.index.UserIndex<U>, es.uam.eps.ir.ranksys.fast.index.FastItemIndex<I>, es.uam.eps.ir.ranksys.fast.index.FastUserIndex<U>, es.uam.eps.ir.ranksys.rec.fast.FastRecommender<U,​I>, es.uam.eps.ir.ranksys.rec.Recommender<U,​I>, FastUpdateableRecommender<U,​I>, UpdateableRecommender<U,​I>
Direct Known Subclasses:
UpdateableUBkNN

public abstract class FastUpdateableRankingRecommender<U,​I>
extends AbstractFastUpdateableRecommender<U,​I>
Fast updateable recommender that ranks the user. It can be updated over time.
  • Constructor Details

  • Method Details

    • getRecommendation

      public es.uam.eps.ir.ranksys.fast.FastRecommendation getRecommendation​(int uidx, int maxLength, java.util.function.IntPredicate filter)
      Specified by:
      getRecommendation in interface es.uam.eps.ir.ranksys.rec.fast.FastRecommender<U,​I>
      Specified by:
      getRecommendation in class AbstractFastUpdateableRecommender<U,​I>
    • getScoresMap

      public abstract it.unimi.dsi.fastutil.ints.Int2DoubleMap getScoresMap​(int uidx)
      Returns a map of item-score pairs.
      Parameters:
      uidx - index of the user whose scores are predicted
      Returns:
      a map of item-score pairs