From 4957c6bf475a95f60ce3f42caae23b473fde9bbd Mon Sep 17 00:00:00 2001 From: sanyhe Date: Sat, 20 Jul 2024 21:47:42 +0800 Subject: [PATCH] fix: adjust the clean output command in missing value process. --- geochemistrypi/data_mining/cli_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geochemistrypi/data_mining/cli_pipeline.py b/geochemistrypi/data_mining/cli_pipeline.py index 3dd117b6..3997f6b0 100644 --- a/geochemistrypi/data_mining/cli_pipeline.py +++ b/geochemistrypi/data_mining/cli_pipeline.py @@ -330,11 +330,11 @@ def cli_pipeline(training_data_path: str, application_data_path: Optional[str] = missing_value_flag = check_missing_value(data_selected_dropped) if missing_value_flag: process_missing_value_flag = False + clear_output() elif missing_value_strategy_num == 2: # Don't drop the rows with missing values but use imputation techniques to deal with the missing values later. # No need to save the data set here because it will be saved after imputation. imputed_flag = True - clear_output() else: # Don't deal with the missing values, which means neither drop the rows with missing values nor use imputation techniques. imputed_flag = False