Set output path programmatically.

master
junos 2023-05-18 18:40:54 +02:00
parent 2336edffb6
commit fa45b30955
1 changed files with 4 additions and 5 deletions

View File

@ -116,9 +116,8 @@ data_y.shape
# %% # %%
scores = run_all_classification_models(data_x, data_y, data_groups, cross_validator) scores = run_all_classification_models(data_x, data_y, data_groups, cross_validator)
# %% # %%
scores.to_csv( PATH_OUTPUT = Path("..") / Path("presentation/results")
"../presentation/results/appraisal_stressfulness_awake_classification_" path_output_full = PATH_OUTPUT / (
+ CV_METHOD TARGET_VARIABLE + SEGMENT_LENGTH + "_classification_" + CV_METHOD + ".csv"
+ ".csv",
index=False,
) )
scores.to_csv(path_output_full, index=False)