Add bins to output filename.

master
junos 2023-05-18 18:58:19 +02:00
parent 1318ae3609
commit bb4445f1a8
1 changed files with 8 additions and 1 deletions

View File

@ -118,6 +118,13 @@ scores = run_all_classification_models(data_x, data_y, data_groups, cross_valida
# %%
PATH_OUTPUT = Path("..") / Path("presentation/results")
path_output_full = PATH_OUTPUT / (
TARGET_VARIABLE + SEGMENT_LENGTH + "_classification_" + CV_METHOD + ".csv"
TARGET_VARIABLE
+ "_"
+ SEGMENT_LENGTH
+ "_classification"
+ str(BINS)
+ "_"
+ CV_METHOD
+ ".csv"
)
scores.to_csv(path_output_full, index=False)