Learn practical skills, build real-world projects, and advance your career
!pip install git+https://github.com/Jie-Yuan/Yuan.git -U -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting git+https://github.com/Jie-Yuan/Yuan.git Cloning https://github.com/Jie-Yuan/Yuan.git to /tmp/pip-req-build-97xfuhuw Collecting sanic (from Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/90/11/31382617b33f89df0caca396f104628d256689a58a63c75d3e46663a8c8f/sanic-19.3.1-py3-none-any.whl (60kB) 100% |################################| 61kB 13.5MB/s ta 0:00:01 Collecting tqdm (from Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/6c/4b/c38b5144cf167c4f52288517436ccafefe9dc01b8d1c190e18a6b154cd4a/tqdm-4.31.1-py2.py3-none-any.whl (48kB) 100% |################################| 51kB 16.0MB/s ta 0:00:01 Collecting wrapt (from Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/67/b2/0f71ca90b0ade7fad27e3d20327c996c6252a2ffe88f50a95bba7434eda9/wrapt-1.11.1.tar.gz Collecting jieba (from Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/71/46/c6f9179f73b818d5827202ad1c4a94e371a29473b7f043b736b4dab6b8cd/jieba-0.39.zip (7.3MB) 100% |################################| 7.3MB 5.6MB/s eta 0:00:01 Requirement already satisfied, skipping upgrade: keras in /usr/local/lib/python3.5/dist-packages (from Yuan==1.0.7) (2.2.4) Collecting lightgbm (from Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/77/0f/5157e6b153b3d4a70dc5fbe2ab6f209604197590f387f03177b7a249ac60/lightgbm-2.2.3-py2.py3-none-manylinux1_x86_64.whl (1.2MB) 100% |################################| 1.2MB 21.1MB/s ta 0:00:01 35% |########### | 419kB 40.2MB/s eta 0:00:01 Collecting catboost (from Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/93/e1/ff0c28454aecec2855f3843c0eb7291ed43be323a25fff8aae9e0d42c7d3/catboost-0.13.1-cp35-none-manylinux1_x86_64.whl (60.0MB) 100% |################################| 60.0MB 787kB/s eta 0:00:01 28% |######### | 16.9MB 37.5MB/s eta 0:00:02 48% |############### | 29.1MB 38.9MB/s eta 0:00:01 59% |################## | 35.6MB 36.5MB/s eta 0:00:01 69% |###################### | 42.0MB 40.2MB/s eta 0:00:01 81% |######################### | 48.7MB 37.1MB/s eta 0:00:01 Collecting rgf_python (from Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/27/b4/4b6cc5448e49c9a13bba46da351e5bf9149486996466e2f8e546bee98afb/rgf_python-3.5.0-py2.py3-none-manylinux1_x86_64.whl (757kB) 100% |################################| 768kB 27.2MB/s ta 0:00:01 Collecting bayesian-optimization (from Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/72/0c/173ac467d0a53e33e41b521e4ceba74a8ac7c7873d7b857a8fbdca88302d/bayesian-optimization-1.0.1.tar.gz Collecting statsmodels (from Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a5/75/758f980df4d971b909d2bc516d22494a2e871fe1f3968ff9798b52d20fb9/statsmodels-0.9.0-cp35-cp35m-manylinux1_x86_64.whl (7.3MB) 100% |################################| 7.3MB 5.6MB/s eta 0:00:01 Collecting tables (from Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ab/b8/2848cd92d50d07bbc1cae4cd3ea33281332b3a701a3776648ead94c6c833/tables-3.5.1-cp35-cp35m-manylinux1_x86_64.whl (4.3MB) 100% |################################| 4.3MB 9.3MB/s eta 0:00:01 Collecting eli5 (from Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/8d/c8/04bed18dcce1d927b0dd5fc3425777354b714d2e62d60ae301928b5a5bf8/eli5-0.8.1-py2.py3-none-any.whl (98kB) 100% |################################| 102kB 30.7MB/s a 0:00:01 Collecting shap (from Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/30/b3/866b0101cbd1829844c35964af68c14ba522a5cce7a1e8d0f7937411d910/shap-0.28.5.tar.gz (223kB) 100% |################################| 225kB 11.4MB/s ta 0:00:01 Collecting seaborn (from Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a8/76/220ba4420459d9c4c9c9587c6ce607bf56c25b3d3d2de62056efe482dadc/seaborn-0.9.0-py3-none-any.whl (208kB) 100% |################################| 215kB 29.5MB/s ta 0:00:01 Collecting jovian (from Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/5e/43/39ac622895fdb7b7bd09d30165c44f02d578d096ea3db8d52705dc0c384f/jovian-0.1.46.tar.gz Collecting uvloop>=0.5.3; sys_platform != "win32" and implementation_name == "cpython" (from sanic->Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/65/e2/67ff25fcc9bd6cf21c72c3169c929a3662d678756755569e1b27650d83de/uvloop-0.12.2-cp35-cp35m-manylinux1_x86_64.whl (3.5MB) 100% |################################| 3.5MB 11.7MB/s ta 0:00:01 14% |#### | 491kB 36.8MB/s eta 0:00:01 Collecting multidict<5.0,>=4.0 (from sanic->Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/0a/32/f0840e0305a79f8adbc606623a8a8d0196e931a07b946557fdff9df1196b/multidict-4.5.2-cp35-cp35m-manylinux1_x86_64.whl (304kB) 100% |################################| 307kB 28.6MB/s a 0:00:011 Collecting ujson>=1.35; sys_platform != "win32" and implementation_name == "cpython" (from sanic->Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/16/c4/79f3409bc710559015464e5f49b9879430d8f87498ecdc335899732e5377/ujson-1.35.tar.gz (192kB) 100% |################################| 194kB 32.7MB/s ta 0:00:01 Collecting httptools>=0.0.10 (from sanic->Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/1b/03/215969db11abe8741e9c266a4cbe803a372bd86dd35fa0084c4df6d4bd00/httptools-0.0.13.tar.gz (104kB) 100% |################################| 112kB 31.6MB/s ta 0:00:01 Collecting websockets<7.0,>=6.0 (from sanic->Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/8e/e8/8c959153f7e36258b410b90869c46a3f881a5a345539bf6b2a16049ea5f0/websockets-6.0-cp35-cp35m-manylinux1_x86_64.whl (86kB) 100% |################################| 92kB 28.4MB/s ta 0:00:01 Collecting aiofiles>=0.3.0 (from sanic->Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/cf/f2/a67a23bc0bb61d88f82aa7fb84a2fb5f278becfbdc038c5cbb36c31feaf1/aiofiles-0.4.0-py3-none-any.whl Requirement already satisfied, skipping upgrade: scipy>=0.14 in /usr/local/lib/python3.5/dist-packages (from keras->Yuan==1.0.7) (1.1.0) Requirement already satisfied, skipping upgrade: keras-preprocessing>=1.0.5 in /usr/local/lib/python3.5/dist-packages (from keras->Yuan==1.0.7) (1.0.5) Requirement already satisfied, skipping upgrade: pyyaml in /usr/local/lib/python3.5/dist-packages (from keras->Yuan==1.0.7) (5.1) Requirement already satisfied, skipping upgrade: keras-applications>=1.0.6 in /usr/local/lib/python3.5/dist-packages (from keras->Yuan==1.0.7) (1.0.6) Requirement already satisfied, skipping upgrade: h5py in /usr/local/lib/python3.5/dist-packages (from keras->Yuan==1.0.7) (2.9.0) Requirement already satisfied, skipping upgrade: numpy>=1.9.1 in /usr/local/lib/python3.5/dist-packages (from keras->Yuan==1.0.7) (1.15.4) Requirement already satisfied, skipping upgrade: six>=1.9.0 in /usr/local/lib/python3.5/dist-packages (from keras->Yuan==1.0.7) (1.11.0) Requirement already satisfied, skipping upgrade: scikit-learn in /usr/local/lib/python3.5/dist-packages (from lightgbm->Yuan==1.0.7) (0.20.0) Requirement already satisfied, skipping upgrade: pandas>=0.19.1 in /usr/local/lib/python3.5/dist-packages (from catboost->Yuan==1.0.7) (0.23.4) Collecting enum34 (from catboost->Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/af/42/cb9355df32c69b553e72a2e28daee25d1611d2c0d9c272aa1d34204205b2/enum34-1.1.6-py3-none-any.whl Collecting patsy (from statsmodels->Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ea/0c/5f61f1a3d4385d6bf83b83ea495068857ff8dfb89e74824c6e9eb63286d8/patsy-0.5.1-py2.py3-none-any.whl (231kB) 100% |################################| 235kB 30.7MB/s ta 0:00:01
Requirement already satisfied, skipping upgrade: mock>=2.0 in /usr/local/lib/python3.5/dist-packages (from tables->Yuan==1.0.7) (2.0.0) Collecting numexpr>=2.6.2 (from tables->Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f4/58/938d0f020e73eaf867d6fa89c236a6d5f3b8415fb1dff2b4f57adbd99f95/numexpr-2.6.9-cp35-cp35m-manylinux1_x86_64.whl (163kB) 100% |################################| 163kB 31.9MB/s ta 0:00:01 Collecting attrs>16.0.0 (from eli5->Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl Collecting tabulate>=0.7.7 (from eli5->Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c2/fd/202954b3f0eb896c53b7b6f07390851b1fd2ca84aa95880d7ae4f434c4ac/tabulate-0.8.3.tar.gz (46kB) 100% |################################| 51kB 22.7MB/s ta 0:00:01 Collecting typing (from eli5->Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/4a/bd/eee1157fc2d8514970b345d69cb9975dcd1e42cd7e61146ed841f6e68309/typing-3.6.6-py3-none-any.whl Collecting singledispatch>=3.4.0.3; python_version < "3.5.6" (from eli5->Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c5/10/369f50bcd4621b263927b0a1519987a04383d4a98fb10438042ad410cf88/singledispatch-3.4.0.3-py2.py3-none-any.whl Requirement already satisfied, skipping upgrade: jinja2 in /usr/local/lib/python3.5/dist-packages (from eli5->Yuan==1.0.7) (2.10) Collecting graphviz (from eli5->Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/1f/e2/ef2581b5b86625657afd32030f90cf2717456c1d2b711ba074bf007c0f1a/graphviz-0.10.1-py2.py3-none-any.whl Requirement already satisfied, skipping upgrade: matplotlib in /usr/local/lib/python3.5/dist-packages (from shap->Yuan==1.0.7) (3.0.3) Requirement already satisfied, skipping upgrade: ipython in /usr/local/lib/python3.5/dist-packages (from shap->Yuan==1.0.7) (7.1.1) Requirement already satisfied, skipping upgrade: scikit-image in /usr/local/lib/python3.5/dist-packages (from shap->Yuan==1.0.7) (0.14.2) Requirement already satisfied, skipping upgrade: requests in /usr/local/lib/python3.5/dist-packages (from jovian->Yuan==1.0.7) (2.21.0) Collecting uuid (from jovian->Yuan==1.0.7) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ce/63/f42f5aa951ebf2c8dac81f77a8edcc1c218640a2a35a03b9ff2d4aa64c3d/uuid-1.30.tar.gz Requirement already satisfied, skipping upgrade: python-dateutil>=2.5.0 in /usr/local/lib/python3.5/dist-packages (from pandas>=0.19.1->catboost->Yuan==1.0.7) (2.7.5) Requirement already satisfied, skipping upgrade: pytz>=2011k in /usr/local/lib/python3.5/dist-packages (from pandas>=0.19.1->catboost->Yuan==1.0.7) (2018.7) Requirement already satisfied, skipping upgrade: pbr>=0.11 in /usr/local/lib/python3.5/dist-packages (from mock>=2.0->tables->Yuan==1.0.7) (5.1.0) Requirement already satisfied, skipping upgrade: MarkupSafe>=0.23 in /usr/local/lib/python3.5/dist-packages (from jinja2->eli5->Yuan==1.0.7) (1.1.0) Requirement already satisfied, skipping upgrade: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/local/lib/python3.5/dist-packages (from matplotlib->shap->Yuan==1.0.7) (2.3.0) Requirement already satisfied, skipping upgrade: cycler>=0.10 in /usr/local/lib/python3.5/dist-packages (from matplotlib->shap->Yuan==1.0.7) (0.10.0) Requirement already satisfied, skipping upgrade: kiwisolver>=1.0.1 in /usr/local/lib/python3.5/dist-packages (from matplotlib->shap->Yuan==1.0.7) (1.0.1) Requirement already satisfied, skipping upgrade: pickleshare in /usr/local/lib/python3.5/dist-packages (from ipython->shap->Yuan==1.0.7) (0.7.5) Requirement already satisfied, skipping upgrade: jedi>=0.10 in /usr/local/lib/python3.5/dist-packages (from ipython->shap->Yuan==1.0.7) (0.13.1) Requirement already satisfied, skipping upgrade: setuptools>=18.5 in /usr/local/lib/python3.5/dist-packages (from ipython->shap->Yuan==1.0.7) (40.5.0) Requirement already satisfied, skipping upgrade: pygments in /usr/local/lib/python3.5/dist-packages (from ipython->shap->Yuan==1.0.7) (2.2.0) Requirement already satisfied, skipping upgrade: traitlets>=4.2 in /usr/local/lib/python3.5/dist-packages (from ipython->shap->Yuan==1.0.7) (4.3.2) Requirement already satisfied, skipping upgrade: backcall in /usr/local/lib/python3.5/dist-packages (from ipython->shap->Yuan==1.0.7) (0.1.0) Requirement already satisfied, skipping upgrade: pexpect; sys_platform != "win32" in /usr/local/lib/python3.5/dist-packages (from ipython->shap->Yuan==1.0.7) (4.6.0) Requirement already satisfied, skipping upgrade: prompt-toolkit<2.1.0,>=2.0.0 in /usr/local/lib/python3.5/dist-packages (from ipython->shap->Yuan==1.0.7) (2.0.7) Requirement already satisfied, skipping upgrade: decorator in /usr/local/lib/python3.5/dist-packages (from ipython->shap->Yuan==1.0.7) (4.3.0) Requirement already satisfied, skipping upgrade: networkx>=1.8 in /usr/local/lib/python3.5/dist-packages (from scikit-image->shap->Yuan==1.0.7) (2.2) Requirement already satisfied, skipping upgrade: PyWavelets>=0.4.0 in /usr/local/lib/python3.5/dist-packages (from scikit-image->shap->Yuan==1.0.7) (1.0.2) Requirement already satisfied, skipping upgrade: cloudpickle>=0.2.1 in /usr/local/lib/python3.5/dist-packages (from scikit-image->shap->Yuan==1.0.7) (0.8.0) Requirement already satisfied, skipping upgrade: dask[array]>=1.0.0 in /usr/local/lib/python3.5/dist-packages (from scikit-image->shap->Yuan==1.0.7) (1.1.4) Requirement already satisfied, skipping upgrade: pillow>=4.3.0 in /usr/local/lib/python3.5/dist-packages (from scikit-image->shap->Yuan==1.0.7) (5.3.0) Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.5/dist-packages (from requests->jovian->Yuan==1.0.7) (3.0.4) Requirement already satisfied, skipping upgrade: idna<2.9,>=2.5 in /usr/local/lib/python3.5/dist-packages (from requests->jovian->Yuan==1.0.7) (2.8) Requirement already satisfied, skipping upgrade: urllib3<1.25,>=1.21.1 in /usr/local/lib/python3.5/dist-packages (from requests->jovian->Yuan==1.0.7) (1.24.1) Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /usr/local/lib/python3.5/dist-packages (from requests->jovian->Yuan==1.0.7) (2019.3.9) Requirement already satisfied, skipping upgrade: parso>=0.3.0 in /usr/local/lib/python3.5/dist-packages (from jedi>=0.10->ipython->shap->Yuan==1.0.7) (0.3.1) Requirement already satisfied, skipping upgrade: ipython-genutils in /usr/local/lib/python3.5/dist-packages (from traitlets>=4.2->ipython->shap->Yuan==1.0.7) (0.2.0) Requirement already satisfied, skipping upgrade: ptyprocess>=0.5 in /usr/local/lib/python3.5/dist-packages (from pexpect; sys_platform != "win32"->ipython->shap->Yuan==1.0.7) (0.6.0) Requirement already satisfied, skipping upgrade: wcwidth in /usr/local/lib/python3.5/dist-packages (from prompt-toolkit<2.1.0,>=2.0.0->ipython->shap->Yuan==1.0.7) (0.1.7) Requirement already satisfied, skipping upgrade: toolz>=0.7.3; extra == "array" in /usr/local/lib/python3.5/dist-packages (from dask[array]>=1.0.0->scikit-image->shap->Yuan==1.0.7) (0.9.0) Building wheels for collected packages: Yuan, wrapt, jieba, bayesian-optimization, shap, jovian, ujson, httptools, tabulate, uuid Running setup.py bdist_wheel for Yuan ... done Stored in directory: /tmp/pip-ephem-wheel-cache-gubbs7bd/wheels/9f/e8/8e/11cd4a7019ee1fb0ade8cc25f814257461f21ada41afc3414f Running setup.py bdist_wheel for wrapt ... done Stored in directory: /root/.cache/pip/wheels/70/01/17/b0f73445d6ad8f160740d999153446b64dc64c17e47dad2577 Running setup.py bdist_wheel for jieba ... done Stored in directory: /root/.cache/pip/wheels/91/6d/81/a6e61000fce4618fe8625512ffd267969a5c3b18759eaac37c Running setup.py bdist_wheel for bayesian-optimization ... done Stored in directory: /root/.cache/pip/wheels/8c/2a/d7/6881af7f04a5c882a35ec216975901af0b29795afdf2cd7654 Running setup.py bdist_wheel for shap ... done Stored in directory: /root/.cache/pip/wheels/1b/03/0c/514492e13e5a44833758ac838bf1a2945e93d9da8ba992bc1a
Running setup.py bdist_wheel for jovian ... done Stored in directory: /root/.cache/pip/wheels/f1/85/fb/1bd23c433ba42618e1d61f13736f2df6391ef83e2cfd12582a Running setup.py bdist_wheel for ujson ... done Stored in directory: /root/.cache/pip/wheels/12/34/68/d0cd0b02fa1a8f91939fb069e1836c9f504459b805de4f3c9b Running setup.py bdist_wheel for httptools ... done Stored in directory: /root/.cache/pip/wheels/6c/cf/6d/3ab1a48d31a2733ca717bc5ddc13c47eeec5e35693f5b722d1 Running setup.py bdist_wheel for tabulate ... done Stored in directory: /root/.cache/pip/wheels/48/67/78/93aec1f600b7a1b4d381f88379c4b85851aa24c935ce0c968a Running setup.py bdist_wheel for uuid ... done Stored in directory: /root/.cache/pip/wheels/d1/e9/44/28173424aea9bbdd92c92806b3d15c599f07231746798e97ab Successfully built Yuan wrapt jieba bayesian-optimization shap jovian ujson httptools tabulate uuid Installing collected packages: uvloop, multidict, ujson, httptools, websockets, aiofiles, sanic, tqdm, wrapt, jieba, lightgbm, enum34, catboost, rgf-python, bayesian-optimization, patsy, statsmodels, numexpr, tables, attrs, tabulate, typing, singledispatch, graphviz, eli5, shap, seaborn, uuid, jovian, Yuan Successfully installed Yuan-1.0.7 aiofiles-0.4.0 attrs-19.1.0 bayesian-optimization-1.0.1 catboost-0.13.1 eli5-0.8.1 enum34-1.1.6 graphviz-0.10.1 httptools-0.0.13 jieba-0.39 jovian-0.1.46 lightgbm-2.2.3 multidict-4.5.2 numexpr-2.6.9 patsy-0.5.1 rgf-python-3.5.0 sanic-19.3.1 seaborn-0.9.0 shap-0.28.5 singledispatch-3.4.0.3 statsmodels-0.9.0 tables-3.5.1 tabulate-0.8.3 tqdm-4.31.1 typing-3.6.6 ujson-1.35 uuid-1.30 uvloop-0.12.2 websockets-6.0 wrapt-1.11.1 You are using pip version 18.1, however version 19.0.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command.
import jovian
from yuan.pipe import jupyter_commit
import jovian
jovian.commit(env_type='pip', notebook_id='566f95b138a9465aa8d17e0f1836570a')
[jovian] Saving notebook..
[jovian] Updating notebook "566f95b138a9465aa8d17e0f1836570a" on https://jvn.io [jovian] Uploading notebook.. [jovian] Capturing environment.. [jovian] Committed successfully! https://jvn.io/Jie-Yuan/566f95b138a9465aa8d17e0f1836570a