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
Copy file name to clipboardExpand all lines: rdagent/scenarios/data_science/proposal/exp_gen/naive.yaml
+3-6Lines changed: 3 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ naive_gen:
2
2
system: |-
3
3
You are a Kaggle Grandmaster and expert ML engineer with deep expertise in statistics, machine learning, and competition optimization.
4
4
The user is improving a Kaggle competition implementation iteratively through traces where each new trace is modified from the current SOTA in the trace, not necessarily the immediate predecessor.
5
-
You will be given a competition scenario, previous SOTA(best) and failed experiments and feedbacks, the current SOTA implementation and feedback, and a list of identified problems.
5
+
You will be given a competition scenario, previous SOTA(best) and failed experiments and feedbacks, the current SOTA implementation and feedback, and a list of identified problems.
6
6
7
7
## Guidelines
8
8
Here are guidelines to aid your task design. You don't need to answer all the questions.
Copy file name to clipboardExpand all lines: rdagent/scenarios/data_science/proposal/exp_gen/prompts.yaml
+4-18Lines changed: 4 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -216,14 +216,8 @@ direct_exp_gen:
216
216
}
217
217
218
218
user: |-
219
-
# All former successful experiments and their feedbacks
220
-
Below are all the experiments that surpassed the previous SOTA solutions along with their feedback. The current SOTA solution is the latest among these successful trials:
221
-
{{ sota_exp_and_feedback_list_desc }}
222
-
223
-
{% if failed_exp_and_feedback_list_desc %}
224
-
# Several latest failed experiments and their feedbacks
225
-
The user has conducted several recent experiments on this scenario, but they either encountered execution errors or failed to surpass the SOTA performance. The details of these failed experiments and their results are as follows:
226
-
{{ failed_exp_and_feedback_list_desc }}
219
+
# All former experiments and their feedbacks
220
+
{{ exp_and_feedback_list_desc }}
227
221
228
222
{% if targets == "Model" %}
229
223
Based on the feedback from previous experiment failures, if the failure was due to exceeding the time limit or memory constraints, start with the smallest model size or choose alternative algorithms or methods with significantly lower time or space complexity instead of using a neural network. You can then iteratively refine and optimize the model in later stages.
@@ -245,8 +239,6 @@ direct_exp_gen:
245
239
When building the model, if the runtime permits, consider incorporating hyperparameter search methods to improve performance.
246
240
{% endif %}
247
241
248
-
{% endif %}
249
-
250
242
{% if last_exp_diff %}
251
243
# Here are the differences between the latest version of implementation and the current best version of implementation
252
244
It is presented in diff format, highlighting changes from the best version to the latest version.
@@ -280,14 +272,8 @@ component_gen:
280
272
{{ component_output_format }}
281
273
282
274
user: |-
283
-
Here's the former SOTA experiments and their feedbacks:
284
-
{{ sota_exp_and_feedback_list_desc }}
285
-
286
-
Also, here's the former failed experiments and their feedbacks:
287
-
{{ failed_exp_and_feedback_list_desc }}
288
-
289
-
All former trials and their feedbacks are provided in pandas DataFrame format. The user has already made several hypothesis on this scenario and did several evaluation on them:
290
-
{{ component_and_feedback_df }}
275
+
Here are the former experiments and their feedbacks:
276
+
{{ exp_and_feedback_desc }}
291
277
292
278
Please choose the most proper component to focus on based on the information above. Please balance the exploration and exploitation.
293
279
Avoid selecting the same component more than 5 times in a row to ensure that the chosen component is not overly repetitive.
Copy file name to clipboardExpand all lines: rdagent/scenarios/data_science/share.yaml
+29-6Lines changed: 29 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -43,24 +43,47 @@ describe: # some template to describe some object
43
43
44
44
trace: |-
45
45
{% if exp_and_feedback_list|length == 0 %}
46
-
No previous {% if success %}successful{% else %}failed{% endif %} trial available.
46
+
No previous
47
+
{% if type == "success" %}
48
+
successful
49
+
{% elif type == "failure" %}
50
+
failed
47
51
{% else %}
48
-
{% if success %}
49
-
## {{ heading | default('Trace of the successful trial') }}
52
+
successful or failed
53
+
{% endif %} trial available.
50
54
{% else %}
55
+
{% if type == "success" %}
56
+
## {{ heading | default('Trace of the successful trial') }}
57
+
{% elif type == "failure" %}
51
58
## {{ heading | default('Trace of the failed trial') }}
59
+
{% else %}
60
+
## {{ heading | default('Trace of all trials') }}
61
+
{% endif %}
62
+
63
+
Before current trial, several
64
+
{% if type == "success" %}
65
+
successful
66
+
{% elif type == "failure" %}
67
+
failed
68
+
{% else %}
69
+
successful or failed
70
+
{% endif %} trials are listed below.
71
+
{% if type == "success" %}
72
+
The current SOTA method is the combination of the best solutions of these trials.
52
73
{% endif %}
53
-
Before current trial, several {% if success %}successful{% else %}failed{% endif %} trials are listed below. {% if success %}The current SOTA method is the combination of the best solutions of these trials.{% endif %} The trace order is from the earliest to the latest please focus more on the later trials.
74
+
75
+
The trace order is from the earliest to the latest. Please focus more on the later trials.
76
+
54
77
{% for exp_and_feedback in exp_and_feedback_list %}
55
78
### Experiment index: {{ loop.index }}
56
79
The experiment is designed based on hypothesis: {{ exp_and_feedback[0].hypothesis }}
0 commit comments