mirror of
https://github.com/Doctorado-ML/benchmark.git
synced 2025-08-16 16:05:54 +00:00
Update score underscore issue
(f1_micro vs f1-micro)
This commit is contained in:
14
src/Utils.py
14
src/Utils.py
@@ -24,29 +24,29 @@ class Files:
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def exreport_output(score):
|
def exreport_output(score):
|
||||||
return f"exreport_{score}.txt"
|
return f"exreport_{score.replace('_','-')}.txt"
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def exreport_err(score):
|
def exreport_err(score):
|
||||||
return f"exreport_err_{score}.txt"
|
return f"exreport_err_{score.replace('_','-')}.txt"
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def exreport_excel(score):
|
def exreport_excel(score):
|
||||||
return f"exreport_{score}.xlsx"
|
return f"exreport_{score.replace('_','-')}.xlsx"
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def exreport(score):
|
def exreport(score):
|
||||||
return f"exreport_{score}.csv"
|
return f"exreport_{score.replace('_','-')}.csv"
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def best_results(score, model):
|
def best_results(score, model):
|
||||||
return f"best_results_{score}_{model}.json"
|
return f"best_results_{score.replace('_','-')}_{model}.json"
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def results(score, model, platform, date, time, stratified):
|
def results(score, model, platform, date, time, stratified):
|
||||||
return (
|
return (
|
||||||
f"results_{score}_{model}_{platform}_{date}_{time}_"
|
f"results_{score.replace('_','-')}_{model}_{platform}_{date}_"
|
||||||
f"{stratified}.json"
|
f"{time}_{stratified}.json"
|
||||||
)
|
)
|
||||||
|
|
||||||
def split_file_name(self, name):
|
def split_file_name(self, name):
|
||||||
|
Reference in New Issue
Block a user