diff --git a/explainability/fit_final_models.py b/explainability/fit_final_models.py index cba7896356ac51900bd958517978bd27a837625f..489ea7112770adc073e8f75be629cfa4509be356 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