Skip to content

Commit 8aef3ab

Browse files
authored
fix: Update runner.py to fix a small bug (#282)
* fix: Update runner.py to fix a small bug * fix CI
1 parent 4c8f998 commit 8aef3ab

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎rdagent/scenarios/kaggle/developer/runner.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ def init_develop(self, exp: KGFactorExperiment) -> KGFactorExperiment:
9494
factor_name="original features", factor_description="here is the original features", factor_formulation=""
9595
)
9696

97-
org_data_path = Path(FACTOR_IMPLEMENT_SETTINGS.data_folder) / KAGGLE_IMPLEMENT_SETTING.competition / "valid.pkl"
97+
org_data_path = (
98+
Path(FACTOR_IMPLEMENT_SETTINGS.data_folder) / KAGGLE_IMPLEMENT_SETTING.competition / "X_valid.pkl"
99+
)
98100
with open(org_data_path, "rb") as f:
99101
org_data = pickle.load(f)
100102
feature_shape = org_data.shape[-1]

0 commit comments

Comments
 (0)