From 2460bf0c35bc35151f2275aa03bb4d0b091b1b5e Mon Sep 17 00:00:00 2001 From: joaquintb Date: Thu, 27 Jun 2024 10:41:47 +0200 Subject: [PATCH] Updated paths --- explainability/fit_final_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explainability/fit_final_models.py b/explainability/fit_final_models.py index cba7896..489ea71 100644 --- a/explainability/fit_final_models.py +++ b/explainability/fit_final_models.py @@ -57,7 +57,7 @@ def read_training_data(attribute_names): # -------------------------------------------------------------------------------------------------------- def get_chosen_model(group_str, method_str, model_name): # Read sheet corresponding to group and method with tuned models and their hyperparameters - tuned_models_df = pd.read_excel("../model_selection/output_hyperparam/hyperparamers.xlsx", sheet_name=f"{group_str}_{method_str}") + tuned_models_df = pd.read_excel("../model_selection/output/hyperparam/hyperparamers.xlsx", sheet_name=f"{group_str}_{method_str}") tuned_models_df.columns = ['Model', 'Best Parameters'] # Define the mapping from model abbreviations to sklearn model classes -- 2.24.1