Beispiel #1
0
 def average_loss(self) -> float:
     return average_or_nan([r.loss for r in self.results])
Beispiel #2
0
 def average_word_error_rate(self) -> float:
     return average_or_nan([r.word_error_rate for r in self.results])
Beispiel #3
0
 def average_word_error_count(self):
     return average_or_nan([r.word_error_count for r in self.results])
Beispiel #4
0
 def average_letter_error_rate(self) -> float:
     return average_or_nan([r.letter_error_rate for r in self.results])
Beispiel #5
0
 def average_letter_error_count(self):
     return average_or_nan([r.letter_error_count for r in self.results])