Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Feature selection better #340

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Linting
  • Loading branch information
xisen-w committed Sep 25, 2024
commit 44671b9cc4b14838dc5d281d24a3c5016ae2243c
10 changes: 7 additions & 3 deletions rdagent/scenarios/kaggle/experiment/scenario.py
Original file line number Diff line number Diff line change
@@ -67,7 +67,9 @@ def _analysis_competition_description(self):
try:
response_json_analysis = json.loads(response_analysis)
self.competition_type = response_json_analysis.get("Competition Type", "No type provided")
self.competition_description = response_json_analysis.get("Competition Description", "No description provided")
self.competition_description = response_json_analysis.get(
"Competition Description", "No description provided"
)
self.target_description = response_json_analysis.get("Target Description", "No target provided")
self.competition_features = response_json_analysis.get("Competition Features", "No features provided")
self.submission_specifications = response_json_analysis.get(
@@ -147,8 +149,10 @@ def source_data(self) -> str:

@property
def output_format(self) -> str:
return Environment(undefined=StrictUndefined).from_string(prompt_dict["kg_model_output_format"]).render(
submission_specifications=self.submission_specifications
return (
Environment(undefined=StrictUndefined)
.from_string(prompt_dict["kg_model_output_format"])
.render(submission_specifications=self.submission_specifications)
)

@property