Skip to content

Commit ff3a16f

Browse files
committed
fix pickle file naming
1 parent a6c83a3 commit ff3a16f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

example_model.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,13 @@
158158
"# Pickle predict function\n",
159159
"import cloudpickle\n",
160160
"p = cloudpickle.dumps(predict)\n",
161-
"with open(\"predict_barebones.pkl\", \"wb\") as f:\n",
161+
"with open(\"example_model.pkl\", \"wb\") as f:\n",
162162
" f.write(p)\n",
163163
"\n",
164164
"# Download file if running in Google Colab\n",
165165
"try:\n",
166166
" from google.colab import files\n",
167-
" files.download('predict_barebones.pkl')\n",
167+
" files.download('example_model.pkl')\n",
168168
"except:\n",
169169
" pass"
170170
]

feature_neutralization.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4166,7 +4166,7 @@
41664166
"# Use the cloudpickle library to serialize your function and its dependencies\n",
41674167
"import cloudpickle\n",
41684168
"p = cloudpickle.dumps(predict_neutral)\n",
4169-
"with open(\"predict_neutral.pkl\", \"wb\") as f:\n",
4169+
"with open(\"feature_neutralization.pkl\", \"wb\") as f:\n",
41704170
" f.write(p)"
41714171
]
41724172
},
@@ -4207,7 +4207,7 @@
42074207
"# Download file if running in Google Colab\n",
42084208
"try:\n",
42094209
" from google.colab import files\n",
4210-
" files.download('predict_neutral.pkl')\n",
4210+
" files.download('feature_neutralization.pkl')\n",
42114211
"except:\n",
42124212
" pass"
42134213
]

hello_numerai.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3237,7 +3237,7 @@
32373237
"# Use the cloudpickle library to serialize your function\n",
32383238
"import cloudpickle\n",
32393239
"p = cloudpickle.dumps(predict)\n",
3240-
"with open(\"predict.pkl\", \"wb\") as f:\n",
3240+
"with open(\"hello_numerai.pkl\", \"wb\") as f:\n",
32413241
" f.write(p)"
32423242
]
32433243
},
@@ -3278,7 +3278,7 @@
32783278
"# Download file if running in Google Colab\n",
32793279
"try:\n",
32803280
" from google.colab import files\n",
3281-
" files.download('predict.pkl')\n",
3281+
" files.download('hello_numerai.pkl')\n",
32823282
"except:\n",
32833283
" pass"
32843284
]

target_ensemble.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5879,7 +5879,7 @@
58795879
"# Use the cloudpickle library to serialize your function and its dependencies\n",
58805880
"import cloudpickle\n",
58815881
"p = cloudpickle.dumps(predict_ensemble)\n",
5882-
"with open(\"predict_ensemble.pkl\", \"wb\") as f:\n",
5882+
"with open(\"target_ensemble.pkl\", \"wb\") as f:\n",
58835883
" f.write(p)"
58845884
]
58855885
},
@@ -5920,7 +5920,7 @@
59205920
"# Download file if running in Google Colab\n",
59215921
"try:\n",
59225922
" from google.colab import files\n",
5923-
" files.download('predict_ensemble.pkl')\n",
5923+
" files.download('target_ensemble.pkl')\n",
59245924
"except:\n",
59255925
" pass"
59265926
]

0 commit comments

Comments
 (0)