From bb4445f1a8b2f26cc296bb1402170bf69db9e1f0 Mon Sep 17 00:00:00 2001 From: junos Date: Thu, 18 May 2023 18:58:19 +0200 Subject: [PATCH] Add bins to output filename. --- exploration/ml_pipeline_classification.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/exploration/ml_pipeline_classification.py b/exploration/ml_pipeline_classification.py index 952b794..67514a3 100644 --- a/exploration/ml_pipeline_classification.py +++ b/exploration/ml_pipeline_classification.py @@ -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)