def get_config(self):
config = self._kwargs.copy()<EOL>config.update({<EOL>'<STR_LIT>': self.__class__.__name__,<EOL>'<STR_LIT:name>': self.name,<EOL>'<STR_LIT>': self.output_names,<EOL>'<STR_LIT>': self.label_names})<EOL>return config<EOL>
Save configurations of metric. Can be recreated
        from configs with metric.create(``**config``)