|
36 | 36 | "execution_count": 2, |
37 | 37 | "id": "precise-vatican", |
38 | 38 | "metadata": {}, |
39 | | - "outputs": [], |
| 39 | + "outputs": [ |
| 40 | + { |
| 41 | + "name": "stdout", |
| 42 | + "output_type": "stream", |
| 43 | + "text": [ |
| 44 | + "Archive: ./data/trainingandtestdata.zip\n" |
| 45 | + ] |
| 46 | + } |
| 47 | + ], |
40 | 48 | "source": [ |
41 | 49 | "%%bash\n", |
42 | 50 | "\n", |
| 51 | + "if [ ! -d ./data ]; then\n", |
| 52 | + " mkdir ./data\n", |
| 53 | + "fi\n", |
| 54 | + "\n", |
43 | 55 | "if [ ! -f ./data/trainingandtestdata.zip ]; then\n", |
44 | | - " wget -q http://cs.stanford.edu/people/alecmgo/trainingandtestdata.zip\n", |
45 | | - " unzip -n ./data/trainingandtestdata.zip\n", |
46 | | - "fi" |
| 56 | + " wget -q -O ./data/trainingandtestdata.zip http://cs.stanford.edu/people/alecmgo/trainingandtestdata.zip\n", |
| 57 | + "fi\n", |
| 58 | + "\n", |
| 59 | + "unzip -n ./data/trainingandtestdata.zip -d ./data" |
47 | 60 | ] |
48 | 61 | }, |
49 | 62 | { |
|
74 | 87 | "name": "stderr", |
75 | 88 | "output_type": "stream", |
76 | 89 | "text": [ |
77 | | - "/Users/rishabramanathan/opt/miniconda3/envs/unbox_demo/lib/python3.7/site-packages/sklearn/linear_model/_logistic.py:765: ConvergenceWarning: lbfgs failed to converge (status=1):\n", |
| 90 | + "/usr/local/lib/python3.7/site-packages/sklearn/linear_model/_logistic.py:765: ConvergenceWarning: lbfgs failed to converge (status=1):\n", |
78 | 91 | "STOP: TOTAL NO. of ITERATIONS REACHED LIMIT.\n", |
79 | 92 | "\n", |
80 | 93 | "Increase the number of iterations (max_iter) or scale the data as shown in:\n", |
|
194 | 207 | "name": "stdout", |
195 | 208 | "output_type": "stream", |
196 | 209 | "text": [ |
197 | | - "[2021-02-28 18:11:54,475] WARNING - Using BentoML installed in `editable` model, the local BentoML repository including all code changes will be packaged together with saved bundle created, under the './bundled_pip_dependencies' directory of the saved bundle.\n", |
198 | | - "What is your Unbox email?rishramanathan@gmail.com\n", |
| 210 | + "What is your Unbox email?me@vikasnair.com\n", |
199 | 211 | "What is your Unbox password?········\n" |
200 | 212 | ] |
201 | 213 | } |
|
258 | 270 | }, |
259 | 271 | { |
260 | 272 | "cell_type": "code", |
261 | | - "execution_count": 11, |
| 273 | + "execution_count": 14, |
262 | 274 | "id": "present-seating", |
263 | 275 | "metadata": { |
264 | 276 | "scrolled": true |
|
268 | 280 | "name": "stdout", |
269 | 281 | "output_type": "stream", |
270 | 282 | "text": [ |
271 | | - "[2021-02-28 18:14:00,704] INFO - Detected non-PyPI-released BentoML installed, copying local BentoML modulefiles to target saved bundle path..\n" |
272 | | - ] |
273 | | - }, |
274 | | - { |
275 | | - "name": "stderr", |
276 | | - "output_type": "stream", |
277 | | - "text": [ |
278 | | - "warning: no previously-included files matching '*~' found anywhere in distribution\n", |
279 | | - "warning: no previously-included files matching '*.pyo' found anywhere in distribution\n", |
280 | | - "warning: no previously-included files matching '.git' found anywhere in distribution\n", |
281 | | - "warning: no previously-included files matching '.ipynb_checkpoints' found anywhere in distribution\n", |
282 | | - "warning: no previously-included files matching '__pycache__' found anywhere in distribution\n", |
283 | | - "warning: no directories found matching 'bentoml/yatai/web/dist'\n", |
284 | | - "no previously-included directories found matching 'e2e_tests'\n", |
285 | | - "no previously-included directories found matching 'tests'\n", |
286 | | - "no previously-included directories found matching 'benchmark'\n" |
287 | | - ] |
288 | | - }, |
289 | | - { |
290 | | - "name": "stdout", |
291 | | - "output_type": "stream", |
292 | | - "text": [ |
293 | | - "UPDATING BentoML-0.11.0+33.g7e83376/bentoml/_version.py\n", |
294 | | - "set BentoML-0.11.0+33.g7e83376/bentoml/_version.py to '0.11.0+33.g7e83376'\n" |
| 283 | + "[2021-03-01 04:47:41,045] WARNING - pip package requirement pandas already exist\n", |
| 284 | + "[2021-03-01 04:47:41,052] WARNING - pip package requirement scikit-learn already exist\n" |
295 | 285 | ] |
296 | 286 | } |
297 | 287 | ], |
|
301 | 291 | " model=sentiment_lr\n", |
302 | 292 | ")" |
303 | 293 | ] |
| 294 | + }, |
| 295 | + { |
| 296 | + "cell_type": "code", |
| 297 | + "execution_count": null, |
| 298 | + "id": "covered-grace", |
| 299 | + "metadata": {}, |
| 300 | + "outputs": [], |
| 301 | + "source": [] |
304 | 302 | } |
305 | 303 | ], |
306 | 304 | "metadata": { |
|
319 | 317 | "name": "python", |
320 | 318 | "nbconvert_exporter": "python", |
321 | 319 | "pygments_lexer": "ipython3", |
322 | | - "version": "3.7.9" |
| 320 | + "version": "3.7.1" |
323 | 321 | } |
324 | 322 | }, |
325 | 323 | "nbformat": 4, |
|
0 commit comments