Last active
February 9, 2019 18:06
-
-
Save brianspiering/b1d1dc6dc81829893c19059f8a61d58b to your computer and use it in GitHub Desktop.
Revisions
-
brianspiering revised this gist
Feb 9, 2019 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ name: rl-course channels: - conda-forge - damianavila82 @@ -11,14 +11,14 @@ dependencies: - jupyter - jupyterlab - matplotlib - numpy - nbgrader - pandas - scikit-learn - seaborn - requests - rise - pip: - jupyter_contrib_nbextensions - mdp - pymdptoolbox -
brianspiering revised this gist
Feb 9, 2019 . 1 changed file with 8 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,20 @@ #!/bin/bash # Before running this script, install miniconda or anaconda with Python 3.7 # https://conda.io/docs/user-guide/install/macos.html # After installing either miniconda or anaconda, open a new terminal code so conda is on the path # Must cd into this directory to run this script successfully # Setup the environment for the classroom. TeachOps FTW! set -e # Exit immediately if a command exits with a non-zero status set -x # Exit immediately if a pipeline exits with a non-zero status # Name of environment is from environment.yml envname=$(sed '1!d' environment.yml | sed 's/^.* //') # Create environment based on environment.yml in the same directory conda update -n base conda -y conda env create -n $envname --force # Start environment -
brianspiering revised this gist
Jan 21, 2019 . 2 changed files with 23 additions and 17 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,8 +2,11 @@ name: ml channels: - conda-forge - damianavila82 - pytorch dependencies: - python==3.7 - pytorch>=1.0 - torchvision - ipython - jupyter - jupyterlab @@ -14,5 +17,8 @@ dependencies: - scikit-learn - requests - pip: - jupyter_contrib_nbextensions - mdp - pymdptoolbox - rise
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,26 +1,26 @@ #!/bin/bash # Before running this script, install miniconda with Python 3.7 # https://conda.io/docs/user-guide/install/macos.html set -e # Exit immediately if a command exits with a non-zero status set -x # Exit immediately if a pipeline exits with a non-zero status # Name of environment from environment.yml envname=sed '1!d' environment.yml | sed 's/^.* //' # Create environment based on environment.yml in the same directory conda env create -n $envname --force # Start environment source activate $envname # Update during development; Pin right before teaching conda update --all --yes # Enable extensions jupyter contrib nbextension install --user jupyter nbextension enable spellchecker/main jupyter nbextension enable codefolding/main jupyter nbextension install rise --py --sys-prefix jupyter nbextension enable rise --py --sys-prefix -
brianspiering revised this gist
Jul 23, 2018 . 2 changed files with 13 additions and 16 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,16 +1,18 @@ name: ml channels: - conda-forge - damianavila82 dependencies: - python==3.7 - ipython - jupyter - jupyterlab - matplotlib - seaborn - numpy - pandas - scikit-learn - requests - pip: - quilt - rise This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,28 +4,23 @@ set -x # Exit immediately if a pipeline exits with a non-zero status # Create environment conda update -n base conda -y conda env create --name ml --force # Start environment source activate ml # Update environment (might break stuff. move fast!?) conda update --all --yes # Setup spell checking and other notebook enhancements git clone https://github.com/Calysto/notebook-extensions.git cd notebook-extensions jupyter nbextension install calysto --user jupyter nbextension enable calysto/spell-check/main jupyter nbextension enable calysto/cell-tools/main jupyter nbextension enable calysto/annotate/main rm -r -f notebook-extensions # Setup RISE (https://github.com/damianavila/RISE) slideshows jupyter nbextension install rise --py --sys-prefix jupyter nbextension enable rise --py --sys-prefix -
brianspiering created this gist
Mar 3, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ name: teach channels: - conda-forge - damianavila82 dependencies: - python==3.6 - ipython - jupyter - tensorflow==1.5 - keras>=2 - gensim - matplotlib - numpy - scikit-learn - rise - pip This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,31 @@ #!/bin/bash set -e # Exit immediately if a command exits with a non-zero status set -x # Exit immediately if a pipeline exits with a non-zero status # Create environment conda update -n base conda -y conda env create --force # Start environment source activate word # Update environment (might break stuff. move fast!?) conda update --all --yes # Setup notebook extensions git clone https://github.com/Calysto/notebook-extensions.git cd notebook-extensions jupyter nbextension install calysto --user jupyter nbextension enable calysto/spell-check/main jupyter nbextension enable calysto/cell-tools/main jupyter nbextension enable calysto/annotate/main cd .. # Setup RISE (https://github.com/damianavila/RISE) slideshows jupyter nbextension install rise --py --sys-prefix jupyter nbextension enable rise --py --sys-prefix # Start Jupyter Notebook if [[ "$1" != "--no-start" ]]; then jupyter notebook --browser=Chrome fi