Add bins to output filename.
parent
1318ae3609
commit
bb4445f1a8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue