Demystifying
Machine Learning

Crystall ball

Why ?

"Any sufficiently advanced technology is indistinguishable from magic."

- Arthur C. Clarke

Arthur Clarke
Google Search Preview
Uber’s First Self-Driving Fleet Arrives in Pittsburgh This Month
Stanford Cancer Diagnosis
JPMorgan Software Does in Seconds What Took Lawyers 360,000 Hours
AI judge created by British scientists can predict human rights rulings
How to Upgrade Judges with Machine Learning
Courts Are Using AI to Sentence Criminals. That Must Stop Now
Will Democracy Survive Big Data and Artificial Intelligence?
The robot that takes your job should pay taxes, says Bill Gates
AI Software Learns to Make AI Software
Terminator
Jetsons

How it works ?

f(a, b) = a + b

Comparison between ML and Imperative
ImageNet example

Machine Learning is the study of algorithms that infer the function they compute from example data.

Supervised Learning

Logistic Regression


Logistic Regression animation

Support Vector Machines


SVM - Kernel Trick


Other supervised learning models


  • Decision Trees
  • Neural Networks
  • Naive Bayes
  • Ensemble Learners (Boosting, Random Forest)

Unsupervised learning

K-Nearest Neighbors

KNN Visualization

Reinforcement learning

Q-Learning

Deep learning

Artificial Neural Networks

Convolutional Neural Networks

Other types of ANNs


  • Recurrent Neural Networks
  • Long Short Term Memory Cell
  • Encoder-decoder
  • Generative adversarial networks

Bias and Variance

Bias and Variance

What it looks like ?

scikit-learn (sklearn)

Tensorflow

Keras

Challenges

  • Gather relevant data
  • Prepare data
  • Domain knowledge
  • Feature engineering
  • Bias vs Variance trade-off
  • Training time

Further reading/studying

Questions