class_docstr: Select candidates for recommendation for a user, possibly with some
  additional ratings.
  
  :class:`.UnratedItemCandidateSelector` is the default and most common implementation
  of this interface.
class_docstr_tok: ["Select","candidates","for","recommendation","for","a","user",",","possibly","with","some","additional","ratings",".",":","class",":","`",".UnratedItemCandidateSelector","`","is","the","default","and","most","common","implementation","of","this","interface","."]
docstr: Select candidates for the user.
  
  Args:
      user:
          The user key or ID.
      ratings(pandas.Series or array-like):
          Ratings or items to use instead of whatever ratings were memorized
          for this user.  If a :py:class:`pandas.Series`, the series index
          is used; if it is another array-like it is assumed to be an array
          of items.
docstr_tok: ["Select","candidates","for","the","user",".","Args",":","user",":","The","user","key","or","ID",".","ratings","(","pandas.Series","or","array-like",")",":","Ratings","or","items","to","use","instead","of","whatever","ratings","were","memorized","for","this","user",".","If","a",":","py",":","class",":","`","pandas.Series","`",",","the","series","index","is","used",";","if","it","is","another","array-like","it","is","assumed","to","be","an","array","of","items","."]
code: def candidates(self, user, ratings=None):
      """
      Select candidates for the user.
  
      Args:
          user:
              The user key or ID.
          ratings(pandas.Series or array-like):
              Ratings or items to use instead of whatever ratings were memorized
              for this user.  If a :py:class:`pandas.Series`, the series index
              is used; if it is another array-like it is assumed to be an array
              of items.
      """
      raise NotImplementedError()
  
file_path: lkpy/lenskit/algorithms/__init__.py
imports: from abc import ABCMeta, abstractmethod
  import inspect
label_desc: Use image node_id 1 for calling the CandidateSelector obj's underlying member method code with example usage: obj.candidates(user, ratings) without return types