class_docstr: Spark Ranking Evaluator
class_docstr_tok: ["Spark","Ranking","Evaluator"]
docstr: Get mean average precision.
  
  Return:
      float: MAP (min=0, max=1).
docstr_tok: ["Get","mean","average","precision",".","Return",":","float",":","MAP","(","min=0",",","max=1",")","."]
code: def map(self):
      """Get mean average precision.
  
      Return:
          float: MAP (min=0, max=1).
      """
      return self._metrics.meanAveragePrecision
  
imports: import numpy
  from recommenders.utils.constants import DEFAULT_PREDICTION_COL, DEFAULT_USER_COL, DEFAULT_ITEM_COL, DEFAULT_RATING_COL, DEFAULT_RELEVANCE_COL, DEFAULT_SIMILARITY_COL, DEFAULT_ITEM_FEATURES_COL, DEFAULT_ITEM_SIM_MEASURE, DEFAULT_TIMESTAMP_COL, DEFAULT_K, DEFAULT_THRESHOLD
label_desc: Use image node_id 6 for calling the SparkRankingEvaluation obj's underlying member method code with example usage: obj.map() and returns: self