際際滷

際際滷Share a Scribd company logo
Zero to Hero
in Machine Learning
with Keras
Boris Yakubchik (Forbes)
June 7, 2018
Deep Learning NYC
Outline
1. About ML
2. How to get started
3. Workflow
4. Tools you can use
5. Examples
6. Q&A
Deep Learning with Python
Fran巽ois Chollet
What is ML?
Zero to Hero in Machine Learning with Keras
Types of learning
 Supervised
 Unsupervised
 Self-supervised
 Reinforcement
non-exhaustive
rough outline
Topic today:
Supervised Learning
playground.tensorflow.org
Vocabulary
 Layers
 Tensors
 Gradient descent
 Optimizer
 Loss
 Activation
 Overfitting
 Back propagation
 Epoch
Gradient descent
Optimizers
https://emiliendupont.github.io/2018/01/24/optimization-visualization/
Loss
Activation Function
ReLU
(Rectified Linear Unit)
Sigmoid
Overfitting
Overfitting
Vocabulary
 Layers
 Tensors
 Gradient descent
 Optimizer
 Loss
 Activation
 Overfitting
 Back propagation
 Epoch
Architectures
 Dense Neural Network
 Convolutional Neural Network (CNN or ConvNet)
 Recurrent Neural Network (RNN)
Dense
ConvNet
ConvNet
ConvNet
http://scs.ryerson.ca/~aharley/vis/conv/flat.html
ConvNet
RNN
Getting started
1. Install python 3.6+
2. Install pip (Pip Installs Python)
3. Install venv (virtual environment)
4. alias py="python3
 cd my-1337-ml-dir
 py -m venv venv
 source venv/bin/activate
 venv/Scripts/activate.bat if on PC
 pip install -r requirements.txt
keras
tensorflow
# get that GPU speed!
tensorflow-gpu
numpy==1.13.0
# tools
jupyter
# html5lib newer version needed to get tensorboard to work
html5lib==1.0.1
# data management
pandas
# utils
pylint
autopep8
matplotlib
# required for PIL -- image manipulation sometimes
pillow
opencv-python
requirements.txt
Workflow
1. Define problem
2. Assemble dataset
3. Choose measure of success
4. Decide evaluation protocol
5. Prepare your data
6. Develop a model
7. Iterate models
Tools
TensorFlow
Keras
=
OpenRefine
Jupyter Notebook
Jupyter Lab
TensorBoard
DEMO
Next step:
kaggle.com

More Related Content

Zero to Hero in Machine Learning with Keras