class_docstr: Calculate the average precision and average precision at n.
docstr: Clear the accumulated predictions.
docstr_tok: ["Clear","the","accumulated","predictions","."]
code: def clear(self):
      """Clear the accumulated predictions."""
      self._heap = []
      self._total_positives = 0
  
file_path: PaddleHub/modules/video/classification/videotag_tsn_lstm/resource/metrics/youtube8m/average_precision_calculator.py
imports: import heapq
  import random
  import numbers
  import numpy
label_desc: Use image node_id 5 for calling the AveragePrecisionCalculator obj's underlying member method code with example usage: obj.clear() without return types