class_docstr: Defines a common interface for all recommendation models
class_docstr_tok: ["Defines","a","common","interface","for","all","recommendation","models"]
code: def rank_items(
      self, userid, user_items, selected_items, recalculate_user=False
  ):
      warnings.warn(
          "rank_items is deprecated. Use recommend with the 'items' parameter instead",
          DeprecationWarning,
          stacklevel=2,
      )
      return self.recommend(
          userid,
          user_items,
          recalculate_user=recalculate_user,
          items=selected_items,
          filter_already_liked_items=False,
      )
  
file_path: implicit/implicit/recommender_base.py
imports: import warnings
  from abc import ABCMeta, abstractmethod
  import numpy
label_desc: Use image node_id 7 for calling the RecommenderBase obj's underlying member method code with example usage: obj.rank_items(userid, user_items, selected_items, recalculate_user) and returns: self