mirror of
https://github.com/Doctorado-ML/benchmark.git
synced 2025-08-18 08:55:53 +00:00
Put Sumary class in Results
Add criterion summary and add different scores
This commit is contained in:
@@ -2,6 +2,8 @@ import os
|
||||
import subprocess
|
||||
import argparse
|
||||
|
||||
BEST_ACCURACY_STREE = 40.282203
|
||||
|
||||
|
||||
class Folders:
|
||||
data = "data"
|
||||
@@ -47,6 +49,11 @@ class Files:
|
||||
f"{stratified}.json"
|
||||
)
|
||||
|
||||
def split_file_name(self, name):
|
||||
_, score, model, platform, date, time, stratified = name.split("_")
|
||||
stratified = stratified.replace(self.report_ext, "")
|
||||
return score, model, platform, date, time, stratified
|
||||
|
||||
def results_suffixes(self, score="", model=""):
|
||||
suffix = self.report_ext
|
||||
if model == "" and score == "":
|
||||
|
Reference in New Issue
Block a user