We will discover some of the main features and implement them on a Jupyter notebook. this repo will contain both the slides and the original file as long as some checkpoints to fast-forward some part of the presentation and skip the trainig of our neural networks.
This is the most generic and introductory task, we will use the same example that will be refined on the ConvNet, and see how they will differ.
A classical unsupervised task is the categorization or encoding/decoding. The latter is far more discussed at this moment, but almost never used in practice, so we will focus on a more classical categorization problem We will see kNN and naive Bayes and when to use one or the other.
In this section we will discover why conv nets surpasses classical method for data where correlations between dimensions does matter. The example will focus on images and in particular on how close pixels influences one another, where on classical NN the concept of neighbour is not exploited.## Project Instructions
- Clone the repository and navigate to the downloaded folder.
git clone https://github.com/sabau/ml-tour.git
cd ml-tour
-
(Optional) If you plan to install TensorFlow with GPU support on your local machine, follow the guide to install the necessary NVIDIA software on your system. If you are using an EC2 GPU instance, you can skip this step.
-
(Optional) If you are running the project on your local machine (and not using AWS), create (and activate) a new environment.
- Linux (to install with GPU support, change
requirements/dog-linux.yml
torequirements/dog-linux-gpu.yml
):
conda env create -f requirements/tb-linux.yml conda install -c anaconda pandas source activate ml-intro
- Mac (to install with GPU support, change
requirements/dog-mac.yml
torequirements/dog-mac-gpu.yml
):
conda env create -f requirements/dog-mac.yml conda install -c anaconda pandas source activate dog-project
- Windows (to install with GPU support, change
requirements/dog-windows.yml
torequirements/dog-windows-gpu.yml
):
conda env create -f requirements/tb-win.yml activate ml-intro
- Linux (to install with GPU support, change
-
Switch Keras backend to TensorFlow.
- Linux or Mac:
KERAS_BACKEND=tensorflow python -c "from keras import backend"
- Windows:
set KERAS_BACKEND=tensorflow python -c "from keras import backend"
- Linux or Mac:
-
(Optional) If you are running the project on your local machine (and not using AWS), create an IPython kernel for the
dog-project
environment.
python -m ipykernel install --user --name dog-project --display-name "dog-project"
- Open the notebook.
jupyter notebook
- (Optional) If you are running the project on your local machine (and not using AWS), before running code, change the kernel to match the ml-intro environment by using the drop-down menu (Kernel > Change kernel > ml-intro). Then, follow the instructions in the notebook.