Skip to content

Commit

Permalink
fix: Update runner.py to fix a small bug (microsoft#282)
Browse files Browse the repository at this point in the history
* fix: Update runner.py to fix a small bug

* fix CI
  • Loading branch information
peteryang1 authored Sep 20, 2024
1 parent 4c8f998 commit 8aef3ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rdagent/scenarios/kaggle/developer/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ def init_develop(self, exp: KGFactorExperiment) -> KGFactorExperiment:
factor_name="original features", factor_description="here is the original features", factor_formulation=""
)

org_data_path = Path(FACTOR_IMPLEMENT_SETTINGS.data_folder) / KAGGLE_IMPLEMENT_SETTING.competition / "valid.pkl"
org_data_path = (
Path(FACTOR_IMPLEMENT_SETTINGS.data_folder) / KAGGLE_IMPLEMENT_SETTING.competition / "X_valid.pkl"
)
with open(org_data_path, "rb") as f:
org_data = pickle.load(f)
feature_shape = org_data.shape[-1]
Expand Down

0 comments on commit 8aef3ab

Please sign in to comment.