class_docstr: Score items by their popularity.  Use with :py:class:`TopN` to get a
  most-popular-items recommender.
  
  Args:
      score_type(str):
          The method for computing popularity scores.  Can be one of the following:
  
          - ``'quantile'`` (the default)
          - ``'rank'``
          - ``'count'``
  
  Attributes:
      item_pop_(pandas.Series):
          Item popularity scores.
class_docstr_tok: ["Score","items","by","their","popularity",".","Use","with",":","py",":","class",":","`","TopN","`","to","get","a","most-popular-items","recommender",".","Args",":","score_type","(","str",")",":","The","method","for","computing","popularity","scores",".","Can","be","one","of","the","following",":","-","``","'quantile","'","``","(","the","default",")","-","``","'rank","'","``","-","``","'count","'","``","Attributes",":","item_pop_","(","pandas.Series",")",":","Item","popularity","scores","."]
code: def __str__(self):
      return "PopScore({})".format(self.score_method)
  
imports: import logging
  from collections.abc import Iterable, Sequence
  import pandas
  import numpy
  from ..data import sparse_ratings
  from .None import Predictor, Recommender, CandidateSelector
  from ..util import derivable_rng
  from .bias import Bias
  from .ranking import TopN
label_desc: Use image node_id 4 for calling the PopScore obj's underlying member method code with example usage: obj.__str__() and returns: str