Link to GitHub: https://github.com/amueller/introduction_to_ml_with_python
Install the following packages:
# Fetch atom, unzip and move to Applications folder
curl -s https://atom.io/download/mac -o mac.zip
# Update xcode and install graphviz
xcode-select --install
brew install graphviz
# Install ML packages via pip/pip3
pip install numpy scipy scikit-learn matplotlib pandas pillow graphviz
pip install nltk spacy
pip3 install numpy scipy scikit-learn matplotlib pandas pillow graphviz
pip3 install nltk spacy
# Not explicitly needed
pip3 install pipenv
# Install Jupyter
python3 -m pip install --upgrade pip
python3 -m pip install jupyter
pip3 install jupyter jupyter_kernel_gateway
pip3 install ipykernel
python3 -m ipykernel install --user
# Install mglearn
pip3 install mglearn
# Fix bug in matplotlib for MacOS
# Create file
nano ~/.matplotlib/matplotlibrc
# Add content
cat ~/.matplotlib/matplotlibrc
backend: MacOSX
# To run jupyter notebook in web browser, start in directory where notebooks are present
jupyter notebook