Machine Learning PhD Course held at IFT (Madrid)
You can find the schedule in: https://moseranette.wixsite.com/doctorado/advanced-1
Contact email: [email protected]
Theory sessions delivered by Bryan Zaldivar. Email: [email protected]
- Setup and basics (Days 11/03/2019 and 13/03/2019). Here
- Installation party
- Python basics
- Numpy basics
- Classification (Day 20/03/2019). Here
- Neural Networks (Day 27/03/2019). Here
- Unsupervised methods (Day 08/04/2019). Here
We will teach Python using the Jupyter notebook, a programming environment that runs in a web browser. However, you can use any Python interpreter compatible with Jupyter notebooks.
-
Download miniconda Python 3.7 (light version of Anaconda) from https://docs.conda.io/en/latest/miniconda.html
-
Installation instructions in https://conda.io/projects/conda/en/latest/user-guide/install/index.html#regular-installation
-
Update all the packages in conda, and itself, with:
conda update --all
-
Setup the conda env from the
env.yml
file with:conda env create --file env.yml
Depending on your conda version the syntax can be instead:
conda create --file env.yml
-
Activate the environment with:
- Windows:
activate ML_Course
- Linux, macOS:
conda activate ML_Course
orsource activate ML_Course
- Windows:
-
Open Jupyter with:
jupyter notebook
-
Download miniconda Python 3.7 (light version of Anaconda) from https://docs.conda.io/en/latest/miniconda.html
-
Installation instructions in https://conda.io/projects/conda/en/latest/user-guide/install/index.html#regular-installation
-
Update all the packages in conda, and itself, with:
conda update --all
-
Create a new environment with
conda create -n ML_Course python=3.6
Depending on your conda version the syntax can be instead:
conda env create -n ML_Course python=3.6
-
Activate the environment with:
- Windows:
activate ML_Course
- Linux, macOS:
conda activate ML_Course
orsource activate ML_Course
- Windows:
-
Install the following packages with conda:
conda install pip graphviz
-
Install the required packages with pip:
pip install -r requirements.txt
-
Open Jupyter with:
jupyter notebook
Google has released its own flavour of Jupyter called Colab, which has free GPUs available.
Here's how you can use it:
- Open https://colab.research.google.com, click Sign in in the upper right corner, use your Google credentials to sign in.
- Click GITHUB tab, paste https://github.com/davidggphy/2019_03_Curso_IFT and press Enter
- Choose the notebook you want to open *.ipynb
- Click File -> Save a copy in Drive... to save your progress in Google Drive
- Optional: Click Runtime -> Change runtime type and select GPU in Hardware accelerator box
You can find extra information about how to install Anaconda and a tutorial on python basics in https://adgdt.github.io/2018-11-28-cftmat/.
Contributions and issues are welcome. Thanks!
- Download and install graphviz-2.38.msi from https://graphviz.gitlab.io/_pages/Download/Download_windows.html
- Set the path variable
- Control Panel > System and Security > System > Advanced System Settings > Environment Variables > Path > Edit
- add
C:\Program Files (x86)\Graphviz2.38\bin