-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated coronavirus notebook with interactive widgets
- Loading branch information
Showing
12 changed files
with
1,273 additions
and
764 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,62 @@ | ||
REM assumes that Anaconda has already been downloaded | ||
REM Assumes that Anaconda has already been downloaded | ||
|
||
REM update conda | ||
REM Update conda | ||
call conda update -n base -c defaults conda --yes | ||
|
||
call conda activate | ||
|
||
REM remove any existing environment called py36class, and create a py36class with anaconda packages | ||
REM Remove any existing environment called py36class, and create a py36class with anaconda packages | ||
call conda remove -n py36class --all --yes | ||
call conda create -n py36class python=3.6 anaconda | ||
call conda activate py36class | ||
|
||
REM install from conda-forge | ||
REM Install from conda-forge | ||
call conda install -c conda-forge ^ | ||
jupyterlab jupyter_contrib_nbextensions jupyter_nbextensions_configurator ipywidgets=7.5 ^ | ||
redis-py=3.3.7 python-blosc=1.8.1 pathos graphviz python-graphviz rise textblob wordcloud quandl pyspark py4j ^ | ||
spacy fastparquet python-snappy nodejs koalas textacy pystan fbprophet --yes | ||
redis-py=3.3.7 python-blosc=1.8.1 pathos graphviz python-graphviz textblob wordcloud quandl pyspark py4j ^ | ||
spacy fastparquet python-snappy nodejs koalas textacy pystan fbprophet setuptools-git=1.2 vispy=0.6.4 blpapi --yes | ||
|
||
call pip install arctic==1.79.2 | ||
|
||
REM install tensorflow, transformers/huggingface and table readers | ||
REM Install tensorflow, transformers/huggingface and table readers | ||
REM only if you have GPU | ||
REM call pip install tensorflow-gpu transformers cvlib pytesseract tabula-py | ||
call pip install tensorflow==2.1.0 transformers pytesseract tabula-py | ||
REM call pip install tensorflow-gpu transformers cvlib pytesseract cmdstanpy==0.4 tabula-py==1.4.3 | ||
call pip install tensorflow==2.1.0 transformers pytesseract cmdstanpy==0.4 tabula-py==1.4.3 | ||
|
||
REM install PyTorch | ||
REM Install PyTorch | ||
REM only if you have GPU | ||
REM call conda install pytorch torchvision cudatoolkit=10.0 -c pytorch --yes | ||
call conda install pytorch torchvision cpuonly -c pytorch --yes | ||
call conda install -c conda-forge opencv --yes | ||
call pip install cvlib | ||
|
||
REM for findatapy (and NLP) | ||
call pip install fxcmpy alpha_vantage yfinance twython newspaper3k seasonal pdfminer.six vaderSentiment gensim | ||
REM For findatapy (and NLP) | ||
call pip install fxcmpy alpha_vantage yfinance twython newspaper3k seasonal pdfminer.six vaderSentiment gensim rise | ||
|
||
REM findatapy, chartpy and finmarketpy | ||
REM needs git | ||
REM call pip install git+https://github.com/cuemacro/finmarketpy.git git+https://github.com/cuemacro/chartpy.git git+https://github.com/cuemacro/findatapy.git | ||
call pip install finmarketpy chartpy findatapy | ||
|
||
REM graphics libraries | ||
call pip install cufflinks==0.17 plotly_express==0.4.1 dash==1.8.0 dash-html-components==1.0.2 dash-core-components==1.7.0 plotly==4.5.0 dash-table==4.6.0 | ||
REM Graphics libraries | ||
call pip install cufflinks==0.17 plotly_express==0.4.1 dash==1.9.0 dash-html-components==1.0.2 dash-core-components==1.8.0 plotly==4.5.4 dash-table==4.6.0 | ||
|
||
REM to be able to plot Plotly into PNG or JPG | ||
REM To be able to plot Plotly into PNG or JPG | ||
call conda install -c plotly plotly-orca --yes | ||
|
||
REM in case has been installed elsewhere by pip | ||
REM In case has been installed elsewhere by pip | ||
call pip uninstall pandas | ||
|
||
REM newer versions of Pandas aren't supported as well by other libraries (eg. Arctic), so stick to 0.24.2 | ||
call conda install -c anaconda pandas=0.24.2 pyarrow=0.13.0 --yes | ||
REM Newer versions of Pandas aren't supported as well by other libraries eg. Arctic so stick to 0.24.2 | ||
call conda install -c anaconda pandas=0.24.2 --yes | ||
call conda install -c conda-forge pyarrow=0.16.0 --yes | ||
|
||
REM Jupyter libraries | ||
call jupyter contrib nbextension install --user | ||
call jupyter nbextension enable execute_time/ExecuteTime | ||
call jupyter-nbextension install rise --py --sys-prefix | ||
call jupyter labextension install @jupyter-widgets/jupyterlab-manager@1.1 --no-build | ||
call jupyter labextension install plotlywidget@1.4.0 --no-build | ||
call jupyter labextension install jupyterlab-plotly@1.4.0 --no-build | ||
call jupyter labextension install @jupyter-widgets/jupyterlab-manager@2.0.0 --no-build | ||
call jupyter labextension install plotlywidget@1.5.4 --no-build | ||
call jupyter labextension install jupyterlab-plotly@1.5.4 --no-build | ||
call jupyter lab build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.