Set output path programmatically.
parent
2336edffb6
commit
fa45b30955
|
@ -116,9 +116,8 @@ data_y.shape
|
|||
# %%
|
||||
scores = run_all_classification_models(data_x, data_y, data_groups, cross_validator)
|
||||
# %%
|
||||
scores.to_csv(
|
||||
"../presentation/results/appraisal_stressfulness_awake_classification_"
|
||||
+ CV_METHOD
|
||||
+ ".csv",
|
||||
index=False,
|
||||
PATH_OUTPUT = Path("..") / Path("presentation/results")
|
||||
path_output_full = PATH_OUTPUT / (
|
||||
TARGET_VARIABLE + SEGMENT_LENGTH + "_classification_" + CV_METHOD + ".csv"
|
||||
)
|
||||
scores.to_csv(path_output_full, index=False)
|
||||
|
|
Loading…
Reference in New Issue