SlideShare a Scribd company logo
Machine Learning
A Developer’s Perspective
Walk forward in pure radiance of the past
What ML is not ?
• A silver bullet to solve all your automation needs.
• Rule based expert systems (Classic Business Analysts)
• Dark Magic which is able to infinitely generalize from a small dataset.
• Skynet type of algorithm with superhuman intelligence.
So what’s ML anyway….?
“Machine Learning is like teenage sex: everyone talks about it, nobody really knows how to
do it, everyone thinks everyone else is doing it, so everyone claims they are doing it” - Dan
Ariely
“Machine Learning is the art and science of developing algorithms which are able to teach
computers how to do a task without being explicitly trained for it (i.e. without exposing it to
all possible patterns) “
The Math Behind ML
Statistics
Linear
Algebra
Probability
Multivariate
Calculus
Optimization
Theory
Linear/Integer
Programming
Machine
Learning
Taxonomy of AI
Machine
Learning
Symbolic
Logic
Game Theory
Social
Network
Analysis
General Game
Playing
Decision/Control
Systems
Hues of ML
Supervised
Learning
Semi-
Supervised
Learning
Unsupervised
Learning
Reinforcement
Learning
Deep Learning Active Learning
Zero-Shot One
Shot Learning
Transfer
Learning
Classification
Regression
ClusteringLabel
Propagation
Q-Learning
Building Blocks of ML
Feature
Extraction
Class Imbalance
Handler
Classification
Evaluation
Ensemble
Feedback
Continued
• Bias-Variance Tradeoff
• Regularization
• Hyperparameter Optimization
• PAC Learning &VC-dimension
In the church of Reverend Bayes
Continued…
• Despite the assumption of mutually independent feature set, it works wonderfully well
most times.
• Theoretically the best classifier (lowest error rate) among any possible classifier (given
enough data)
• Good for easily establishing fairly strong baselines.
• Not good at handling noise, missing feature values and feature correlations
Like Breeds Like
Continued…
• Highly non-linear, lazy, online instance based learner
• Theoretically the error rate is twice the bayes error rate
• Optimal value of K has to be learned in order to balance the bias-variance trade-off
• Fails in high dimensional spaces due to the curse of dimensionality
Tools of the trade
Python Ecosystem
Enough Theory Now Show Me Some Code
Online Resources
 http://sebastianraschka.com/notebooks/ml-notebooks.html
 http://www.erogol.com/machine-learning-pathway/
 http://www.datasciencecentral.com/profiles/blogs/top-10-ipython-tutorials-for-data-science-and-machine-
learning
 http://www.kdnuggets.com/2017/01/blogs-analytics-big-data-mining-data-science-machine-learning.html
 http://www.datasciencecentral.com/profiles/blogs/15-deep-learning-tutorials
 https://github.com/rasbt/python-machine-learning-book/blob/master/docs/references.md
 https://charlesmartin14.wordpress.com/
 http://people.cs.pitt.edu/~milos/courses/cs3750/
Best Books to Read
• Pattern Classification – Duda, Hart, Stork
• Machine Learning – Tom Mitchell
• Elements of Statistical Learning – Friedman, Hastie, Tibshirani
• Machine Learning, A Probabilistic Approach – Kevin Murphy
• Introduction to Statistical Pattern Recognition – K Fukunaga
Best Practices
• Always split your data into train, test, validation sets
• Take care of bias-variance tradeoff
• Adjust your hyperparameters for optimal performance
• Use domain/problem specific evaluation metrics
• Combine different classifiers/regressors to form an ensemble.
Questions …???
Thank You

More Related Content

PDF
techResume2015winter
PPTX
Machine learning and azure ml studio gabc
PPTX
AI | Now + Next
PDF
JSConfBE: Transforming your hand drawings into HTML with AI
PPTX
Introduction to machine learning
PDF
Machine Learning Basic in Computer Science.pdf
PPTX
Machine Learning Basics
PPTX
machine learning introduction notes foRr
techResume2015winter
Machine learning and azure ml studio gabc
AI | Now + Next
JSConfBE: Transforming your hand drawings into HTML with AI
Introduction to machine learning
Machine Learning Basic in Computer Science.pdf
Machine Learning Basics
machine learning introduction notes foRr

Similar to Machine learning a developer's perspective (20)

PPTX
introductiontomachinelearning.pptx
PDF
Efficient Learning Machines Theories Concepts And Applications For Engineers ...
PDF
Choosing a Machine Learning technique to solve your need
PPT
intro to ML by the way m toh phasee movie Punjabi
PDF
Azure Machine Learning
PPTX
Machine Learning Essentials Demystified part1 | Big Data Demystified
PDF
ML.pdf
PDF
1 machine learning demystified
PPTX
Unit 1-ML (1) (1).pptx
PDF
Machine Learning : why we should know and how it works
PPTX
machine learning
PDF
The Ultimate Guide to Machine Learning (ML)
PPT
Machine learning
PPTX
Foundations-of-Machine-Learning_in Engineering.pptx
PDF
Machine learning for IoT - unpacking the blackbox
PDF
Europython - Machine Learning for dummies with Python
PPTX
Introduction to ML (Machine Learning)
PDF
Introduction to Data Science
PDF
newmicrosoftpowerpointpresentation-210512111200.pdf
PPTX
Machine Learning_overview_presentation.pptx
introductiontomachinelearning.pptx
Efficient Learning Machines Theories Concepts And Applications For Engineers ...
Choosing a Machine Learning technique to solve your need
intro to ML by the way m toh phasee movie Punjabi
Azure Machine Learning
Machine Learning Essentials Demystified part1 | Big Data Demystified
ML.pdf
1 machine learning demystified
Unit 1-ML (1) (1).pptx
Machine Learning : why we should know and how it works
machine learning
The Ultimate Guide to Machine Learning (ML)
Machine learning
Foundations-of-Machine-Learning_in Engineering.pptx
Machine learning for IoT - unpacking the blackbox
Europython - Machine Learning for dummies with Python
Introduction to ML (Machine Learning)
Introduction to Data Science
newmicrosoftpowerpointpresentation-210512111200.pdf
Machine Learning_overview_presentation.pptx
Ad

Recently uploaded (20)

PPTX
1_Introduction to advance data techniques.pptx
PDF
Lecture1 pattern recognition............
PDF
.pdf is not working space design for the following data for the following dat...
PPTX
IB Computer Science - Internal Assessment.pptx
PPTX
Computer network topology notes for revision
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PPT
Reliability_Chapter_ presentation 1221.5784
PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PPTX
Introduction to machine learning and Linear Models
PPTX
Qualitative Qantitative and Mixed Methods.pptx
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PPTX
Supervised vs unsupervised machine learning algorithms
PPTX
Data_Analytics_and_PowerBI_Presentation.pptx
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PPTX
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
1_Introduction to advance data techniques.pptx
Lecture1 pattern recognition............
.pdf is not working space design for the following data for the following dat...
IB Computer Science - Internal Assessment.pptx
Computer network topology notes for revision
Miokarditis (Inflamasi pada Otot Jantung)
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
Reliability_Chapter_ presentation 1221.5784
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
Galatica Smart Energy Infrastructure Startup Pitch Deck
Introduction to machine learning and Linear Models
Qualitative Qantitative and Mixed Methods.pptx
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
Acceptance and paychological effects of mandatory extra coach I classes.pptx
Supervised vs unsupervised machine learning algorithms
Data_Analytics_and_PowerBI_Presentation.pptx
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
Ad

Machine learning a developer's perspective

  • 2. Walk forward in pure radiance of the past
  • 3. What ML is not ? • A silver bullet to solve all your automation needs. • Rule based expert systems (Classic Business Analysts) • Dark Magic which is able to infinitely generalize from a small dataset. • Skynet type of algorithm with superhuman intelligence.
  • 4. So what’s ML anyway….? “Machine Learning is like teenage sex: everyone talks about it, nobody really knows how to do it, everyone thinks everyone else is doing it, so everyone claims they are doing it” - Dan Ariely “Machine Learning is the art and science of developing algorithms which are able to teach computers how to do a task without being explicitly trained for it (i.e. without exposing it to all possible patterns) “
  • 5. The Math Behind ML Statistics Linear Algebra Probability Multivariate Calculus Optimization Theory Linear/Integer Programming Machine Learning
  • 6. Taxonomy of AI Machine Learning Symbolic Logic Game Theory Social Network Analysis General Game Playing Decision/Control Systems
  • 7. Hues of ML Supervised Learning Semi- Supervised Learning Unsupervised Learning Reinforcement Learning Deep Learning Active Learning Zero-Shot One Shot Learning Transfer Learning Classification Regression ClusteringLabel Propagation Q-Learning
  • 8. Building Blocks of ML Feature Extraction Class Imbalance Handler Classification Evaluation Ensemble Feedback
  • 9. Continued • Bias-Variance Tradeoff • Regularization • Hyperparameter Optimization • PAC Learning &VC-dimension
  • 10. In the church of Reverend Bayes
  • 11. Continued… • Despite the assumption of mutually independent feature set, it works wonderfully well most times. • Theoretically the best classifier (lowest error rate) among any possible classifier (given enough data) • Good for easily establishing fairly strong baselines. • Not good at handling noise, missing feature values and feature correlations
  • 13. Continued… • Highly non-linear, lazy, online instance based learner • Theoretically the error rate is twice the bayes error rate • Optimal value of K has to be learned in order to balance the bias-variance trade-off • Fails in high dimensional spaces due to the curse of dimensionality
  • 14. Tools of the trade
  • 16. Enough Theory Now Show Me Some Code
  • 17. Online Resources  http://sebastianraschka.com/notebooks/ml-notebooks.html  http://www.erogol.com/machine-learning-pathway/  http://www.datasciencecentral.com/profiles/blogs/top-10-ipython-tutorials-for-data-science-and-machine- learning  http://www.kdnuggets.com/2017/01/blogs-analytics-big-data-mining-data-science-machine-learning.html  http://www.datasciencecentral.com/profiles/blogs/15-deep-learning-tutorials  https://github.com/rasbt/python-machine-learning-book/blob/master/docs/references.md  https://charlesmartin14.wordpress.com/  http://people.cs.pitt.edu/~milos/courses/cs3750/
  • 18. Best Books to Read • Pattern Classification – Duda, Hart, Stork • Machine Learning – Tom Mitchell • Elements of Statistical Learning – Friedman, Hastie, Tibshirani • Machine Learning, A Probabilistic Approach – Kevin Murphy • Introduction to Statistical Pattern Recognition – K Fukunaga
  • 19. Best Practices • Always split your data into train, test, validation sets • Take care of bias-variance tradeoff • Adjust your hyperparameters for optimal performance • Use domain/problem specific evaluation metrics • Combine different classifiers/regressors to form an ensemble.