docstr: :param list anomalies: a list of `Anomaly` objects.
                         `Anomaly` is defined in luminol.modules.anomaly.
  
  :param dict correlations: a dict represents correlated metrics(`TimeSeries` object) to each anomaly.
                            each key-value pair looks like this:
                            `Anomaly` --> [metric1, metric2, metric3 ...].
docstr_tok: [":","param","list","anomalies",":","a","list","of","`","Anomaly","`","objects",".","`","Anomaly","`","is","defined","in","luminol.modules.anomaly",".",":","param","dict","correlations",":","a","dict","represents","correlated","metrics","(","`","TimeSeries","`","object",")","to","each","anomaly",".","each","key-value","pair","looks","like","this",":","`","Anomaly","`","--",">","[","metric1",",","metric2",",","metric3","...","]","."]
code: def __init__(self, anomalies, correlations):
      """
      :param list anomalies: a list of `Anomaly` objects.
                             `Anomaly` is defined in luminol.modules.anomaly.
  
      :param dict correlations: a dict represents correlated metrics(`TimeSeries` object) to each anomaly.
                                each key-value pair looks like this:
                                `Anomaly` --> [metric1, metric2, metric3 ...].
      """
      self.anomalies = anomalies
      self.correlations = correlations
      self._analyze_root_causes()
  
imports: from luminol import exceptions
label_desc: Use image node_id 1 to create a new Luminol object from inherited base classes: object with example: obj = Luminol(anomalies, correlations)