docs: def result_report_class_wise_average(self):
          """Report class-wise averages
  
          Returns
          -------
          str
              result report in string format
  
          """
  
          results = self.results_class_wise_average_metrics()
  
          output = self.ui.section_header('Class-wise average metrics (macro-average)', indent=2) + '\n'
  
          if results['f_measure']:
              output += self.ui.line('F-measure', indent=2) + '\n'
              output += self.ui.data(field='F-measure (F1)', value=float(results['f_measure']['f_measure']) * 100,
                                     unit='%', indent=4) + '\n'
              output += self.ui.data(field='Precision', value=float(results['f_measure']['precision']) * 100,
                                     unit='%', indent=4) + '\n'
              output += self.ui.data(field='Recall', value=float(results['f_measure']['recall']) * 100,
                                     unit='%', indent=4) + '\n'
  
          if results['error_rate']:
              output += self.ui.line('Error rate', indent=2) + '\n'
              output += self.ui.data(field='Error rate (ER)', value=float(results['error_rate']['error_rate']),
                                     indent=4) + '\n'
              output += self.ui.data(field='Deletion rate', value=float(results['error_rate']['deletion_rate']),
                                     indent=4) + '\n'
              output += self.ui.data(field='Insertion rate', value=float(results['error_rate']['insertion_rate']),
                                     indent=4) + '\n'
  
          if results['accuracy']:
              output += self.ui.line('Accuracy', indent=2) + '\n'
              output += self.ui.data(field='Sensitivity', value=float(results['accuracy']['sensitivity']*100),
                                     unit='%', indent=4) + '\n'
              output += self.ui.data(field='Specificity', value=float(results['accuracy']['specificity'] * 100),
                                     unit='%', indent=4) + '\n'
              output += self.ui.data(field='Balanced accuracy', value=float(results['accuracy']['balanced_accuracy'] * 100),
                                     unit='%', indent=4) + '\n'
              output += self.ui.data(field='Accuracy', value=float(results['accuracy']['accuracy'] * 100),
                                     unit='%', indent=4) + '\n'
  
          output += "  \n"
  
          return output