From e9629f9f11e9fdeef617ca0be95cd6c7608ff0b2 Mon Sep 17 00:00:00 2001 From: Haoran Pan <167847254+TPLin22@users.noreply.github.com> Date: Mon, 23 Sep 2024 11:32:49 +0800 Subject: [PATCH] edit a file path (#295) --- .../forest-cover-type-prediction_template/cross_validation.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rdagent/scenarios/kaggle/experiment/forest-cover-type-prediction_template/cross_validation.py b/rdagent/scenarios/kaggle/experiment/forest-cover-type-prediction_template/cross_validation.py index 3085077b..c09c924a 100644 --- a/rdagent/scenarios/kaggle/experiment/forest-cover-type-prediction_template/cross_validation.py +++ b/rdagent/scenarios/kaggle/experiment/forest-cover-type-prediction_template/cross_validation.py @@ -24,9 +24,7 @@ def import_module_from_path(module_name, module_path): # 1) Preprocess the data -data_df = pd.read_csv( - "/data/userdata/v-haoranpan/RD-Agent/git_ignore_folder/data/forest-cover-type-prediction/train.csv" -) +data_df = pd.read_csv("/kaggle/input/train.csv") data_df = data_df.drop(["Id"], axis=1) X_train = data_df.drop(["Cover_Type"], axis=1)