From ad7454c28acbf352dda808314b5580d1c1704eb6 Mon Sep 17 00:00:00 2001 From: Ann-Kathrin Edrich <edrich@mbd.rwth-aachen.de> Date: Thu, 27 Jun 2024 10:07:38 +0200 Subject: [PATCH] Fixed bug in when handling categorical features --- src/gui_version/RandomForest_gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui_version/RandomForest_gui.py b/src/gui_version/RandomForest_gui.py index fa1fa5b..f324097 100644 --- a/src/gui_version/RandomForest_gui.py +++ b/src/gui_version/RandomForest_gui.py @@ -676,8 +676,8 @@ class RandomForest(prepare_data): self.master.update() self.error = True else: - self.features = self.features_org.to_numpy() - self.feature_list = self.features_org.columns.tolist() + #self.features = self.features_org.to_numpy() + #self.feature_list = self.features_org.columns.tolist() Label(self.master, text='Features in the prediction dataset which were not used for training were removed').grid( row=self.row, column=1) -- GitLab