You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: implement isolated model feature selection loop (#370)
* rename meta_tpl
* use a isolated coder to deal with model feature selection and refine the structure
* fix CI
* fix: fix some errors in scenario.py, proposal.py and runner.py and several complex competition scenarios(#365)
* fix several bugs in proposal and runner
* fix a bug in feedback-prize-english-language-learning
* fix some bugs and templates
* fix the bug in optiver and nlp problem
* delete unnecessary codes
* remove unnecessary codes
* complete forest and s4e8
* push
* feedback & s4e8 & forest
* optiver finished
* s3e11 & s3e26
* s4e9 finished
* sf-crime finished
* the last one finished
---------
Co-authored-by: WinstonLiyt <[email protected]>
Co-authored-by: WinstonLiyte <[email protected]>
Copy file name to clipboardexpand all lines: rdagent/components/proposal/prompts.yaml
+1-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ hypothesis_gen:
12
12
{{ hypothesis_output_format }}
13
13
14
14
user_prompt: |-
15
-
{% if hypothesis_and_feedback|length == 0 %}It is the first round of hypothesis generation. The user has no hypothesis on this scenario yet.
15
+
{% if hypothesis_and_feedback|length == 0 %}It is the first round of hypothesis generation. The user has no hypothesis on this scenario yet.
16
16
{% else %}It is not the first round, the user has made several hypothesis on this scenario and did several evaluation on them.
17
17
The former hypothesis and the corresponding feedbacks are as follows (focus on the last one & the new hypothesis that it provides and reasoning to see if you agree):
Copy file name to clipboardexpand all lines: rdagent/scenarios/kaggle/experiment/feedback-prize-english-language-learning_template/fea_share_preprocess.py
-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,6 @@
3
3
4
4
importnumpyasnp# linear algebra
5
5
importpandasaspd# data processing, CSV file I/O (e.g. pd.read_csv)
Copy file name to clipboardexpand all lines: rdagent/scenarios/kaggle/experiment/feedback-prize-english-language-learning_template/model/model_randomforest.py
+2-16
Original file line number
Diff line number
Diff line change
@@ -3,26 +3,15 @@
3
3
fromsklearn.ensembleimportRandomForestRegressor
4
4
5
5
6
-
defselect(X: pd.DataFrame) ->pd.DataFrame:
7
-
"""
8
-
Select relevant features. To be used in fit & predict function.
9
-
"""
10
-
# For now, we assume all features are relevant. This can be expanded to feature selection logic.
0 commit comments