mirror of
https://github.com/Steffo99/unimore-bda-6.git
synced 2024-11-25 17:24:20 +00:00
Fix mse rendering
This commit is contained in:
parent
62e8c6fa9f
commit
76f20059a6
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class EvaluationResults:
|
||||||
return f"<EvaluationResults: {self!s}>"
|
return f"<EvaluationResults: {self!s}>"
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return f"Evaluation results:\t{self.evaluated}\tevaluated\t{self.perfect}\tperfect\t{self.perfect / self.evaluated:.2%}\taccuracy\t{self.mse / self.evaluated:.2%}\tmean squared error"
|
return f"Evaluation results:\t{self.evaluated}\tevaluated\t{self.perfect}\tperfect\t{self.perfect / self.evaluated:.2%}\taccuracy\t{self.mse / self.evaluated:.2}\tmean squared error"
|
||||||
|
|
||||||
|
|
||||||
class AlreadyTrainedError(Exception):
|
class AlreadyTrainedError(Exception):
|
||||||
|
|
Loading…
Reference in a new issue