mirror of
https://github.com/Doctorado-ML/benchmark.git
synced 2025-08-16 07:55:54 +00:00
Update version and copyright
This commit is contained in:
@@ -108,9 +108,11 @@ class BaseReport(abc.ABC):
|
|||||||
status = (
|
status = (
|
||||||
Symbols.cross
|
Symbols.cross
|
||||||
if accuracy <= max_value
|
if accuracy <= max_value
|
||||||
else Symbols.upward_arrow
|
else (
|
||||||
if accuracy > max_value
|
Symbols.upward_arrow
|
||||||
else " "
|
if accuracy > max_value
|
||||||
|
else " "
|
||||||
|
)
|
||||||
)
|
)
|
||||||
if status != " ":
|
if status != " ":
|
||||||
if status not in self._compare_totals:
|
if status not in self._compare_totals:
|
||||||
@@ -161,6 +163,11 @@ class StubReport(BaseReport):
|
|||||||
def header(self) -> None:
|
def header(self) -> None:
|
||||||
self.title = self.data["title"]
|
self.title = self.data["title"]
|
||||||
self.duration = self.data["duration"]
|
self.duration = self.data["duration"]
|
||||||
|
self.model = self.data["model"]
|
||||||
|
self.date = self.data["date"]
|
||||||
|
self.time = self.data["time"]
|
||||||
|
self.metric = self.data["score_name"]
|
||||||
|
self.platform = self.data["platform"]
|
||||||
|
|
||||||
def footer(self, accuracy: float) -> None:
|
def footer(self, accuracy: float) -> None:
|
||||||
self.accuracy = accuracy
|
self.accuracy = accuracy
|
||||||
@@ -195,9 +202,11 @@ class Summary:
|
|||||||
self.models.add(model)
|
self.models.add(model)
|
||||||
report = StubReport(
|
report = StubReport(
|
||||||
os.path.join(
|
os.path.join(
|
||||||
Folders.hidden_results
|
(
|
||||||
if self.hidden
|
Folders.hidden_results
|
||||||
else Folders.results,
|
if self.hidden
|
||||||
|
else Folders.results
|
||||||
|
),
|
||||||
result,
|
result,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@@ -10,7 +10,7 @@ from .Results import Report
|
|||||||
from ._version import __version__
|
from ._version import __version__
|
||||||
|
|
||||||
__author__ = "Ricardo Montañana Gómez"
|
__author__ = "Ricardo Montañana Gómez"
|
||||||
__copyright__ = "Copyright 2020-2023, Ricardo Montañana Gómez"
|
__copyright__ = "Copyright 2020-2024, Ricardo Montañana Gómez"
|
||||||
__license__ = "MIT License"
|
__license__ = "MIT License"
|
||||||
__author_email__ = "ricardo.montanana@alu.uclm.es"
|
__author_email__ = "ricardo.montanana@alu.uclm.es"
|
||||||
|
|
||||||
|
@@ -1 +1 @@
|
|||||||
__version__ = "0.5.0"
|
__version__ = "1.0.1"
|
||||||
|
Reference in New Issue
Block a user