class_docstr: Rating Metric.
  
  Attributes
  ----------
  name: string,
      Name of the measure.
  
  type: string, value: 'rating'
      Type of the metric, e.g., "ranking", "rating".
code: def __init__(self, name=None, higher_better=False):
      self.type = "rating"
      self.name = name
      self.higher_better = higher_better
  
file_path: cornac/cornac/metrics/rating.py
imports: import numpy
label_desc: Use image node_id 1 to create a new RatingMetric object  with example: obj = RatingMetric(name, higher_better)