def _analyze_root_causes(self):
causes = {}<EOL>for a in self.anomalies:<EOL><INDENT>try:<EOL><INDENT>causes[a] = self.correlations[a][<NUM_LIT:0>]<EOL><DEDENT>except IndexError:<EOL><INDENT>raise exceptions.InvalidDataFormat('<STR_LIT>')<EOL><DEDENT><DEDENT>self.causes = causes<EOL>
Conduct root cause analysis.
The first metric of the list is taken as the root cause right now.