Skip to content

Commit

Permalink
fix: adjust the clean output command in missing value process.
Browse files Browse the repository at this point in the history
  • Loading branch information
SanyHe committed Jul 20, 2024
1 parent a024b6c commit 4957c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geochemistrypi/data_mining/cli_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4957c6b

Please sign in to comment.