SlideShare a Scribd company logo
Introduction to Machine
Learning
Babu Priyavrat
Contents
• What is Machine Learning?
• Types of Machine Learning
• Decision Tree and Random Forests
• Neural Network
• Deep Learning
• Forecasting
• Measuring Performance of ML algorithms
• Pitfalls of Machine Learning
What is Machine Learning?
• Definition by Arthur Samuel - Machine Learning is a technique which gives
"computers the ability to learn without being explicitly programmed.“
• To mimic human intelligence or human learning process
Evolution of Machine Learning
How Humans learn?
• Knowledge Transfer –attending
lecture
• Hit and Trial – learning cycling
during your childhood
What is actually
happening?
• Categorization
• Prediction
We asked Machines to do same
• Categorization • Prediction
Supervised Machine learning
• Formal boring definition - Supervised learning task of inferring a function from
labeled training data. The training data consist of a set of training examples. In
supervised learning, each example is a pair consisting of an input object (typically
a vector) and a desired output value (also called the supervisory signal).
• Layman term – Make computers learn from experience
• Task Driven
Supervised Learning
Example of supervised Machine
Learning
Categorization
Categorizing whether tumor is
malignant or benign
Prediction (Regression)
Predicting the house of price in
given area
How is Supervised Learning Achieved?
• The existing data is usually divided into
training or testing set. For e.g.,
Training is usually 70% of data where as
Testing is 30% of data.
• Algorithm develops it model based on
training data
• Features important for model is usually
selected by humans
• Algorithm predicts the results for
testing data and later the predicted
value is compared with real value to
give us accuracy.
• Several algorithms are tried until
required accuracy is achieved
UnSupervised Learning
Unsupervised learning is a type of machine learning algorithm used to draw
inferences from datasets consisting of input data without labeled responses.
It is data driven.
Clustering a tumor of same kind
but doesn’t know it’s nature.
UnSupervised Learning Examples
Network Intrusion detection Clustering your customer base
Reinforcement Learning
• Reinforcement learning is a setting where we have a sequential decision
problem. Making a decision now influences what decisions we can make in the
future. A reward function is provided that tells us how “good” certain states are.
• For e.g., Making robot learn against worthy opponent to play table tennis
Reinforcement Learning
Characteristics
• No direct training examples – (delayed) rewards later
• Need for exploration of environment or exploitation of environment
• The environment might be stochastic and/or unknown
• The actions of the learner affects future rewards
Machine Learning Process in Business
Decision Tree
Decision is a simple representation for
Classifying examples.
Decision tree learning is one of the
most successful techniques for
supervised classification learning.
For e.g., Surviving Titanic is famous first
Machine Learning explanation for
Decision Tree
Random Forest
• Random Forest Tree is a Supervised Machine Learning Algorithm Based on Decision
Trees.
• It is Collective Decisions of Different Decision Trees.
• In random forest, there is never a decision tree which have all features of all other
decision trees.
Boosting
• Form a large set of simple features
• Initialize weights for training images
• For T rounds
• Normalize the weights
• For available features from the set, train a classifier using a single feature and evaluate
the training error
• Choose the classifier with the lowest error
• Update the weights of the training images: increase if classified wrongly by this
classifier, decrease if correctly
• Form the final strong classifier as the linear combination of the T classifiers
(coefficient larger if training error is small)
Neural Network
• a computer system modelled on the human brain and nervous system
Neural Network Example
Predicting whether the person goes to Hospital
In next 30 days based on historical Data ( Classification)
Neural Network Example
Mar I/O –Neural Network playing Mario
( Reinforcement Learning)
https://youtu.be/qv6UVOQ0F44
Deep Learning
Applications of Deep Learning
Facial Recognition
Applications of Deep Learning
Auto-coloring can be achieved by Algorithmia API
Applications of Deep Learning
https://youtu.be/FroRjEejA30
Semantic segmentation of street for Driverless Car
How Convolved kernel behaves!
A Cat!
Two layers of convolution, activation
and pooling with 3 filter layer
Neural Network Zoo
http://www.asimovinstitute.org/neural-network-zoo/
Forecasting
• It is usually done on time-series data
to predict the future trend
• For e.g., forecasting Stock value
based on historical data
• Usually achieved by ARIMA (Auto-
regressive integrated Moving
Average) model
Amazon stock forecast
Amazon actual stock performance
Measuring performance of ML
algorithms
Pitfalls of Machine Learning
• Over fitting
• Trying to make algorithm to work only for small set of data
• Ignoring Human intuition
• Forecasting usually fails because the algorithm is not able to gauge what humans consider
valuable.
• Machine Bias
• For example, a 2015 study found that women were less likely to be shown high-income job ads by
Google's AdSense and another study found that Amazon’s same-day delivery service was
systematically not available in black neighborhoods, both for reasons that the companies could
not explain, but were just the result of the black box methods they used
• https://youtu.be/tleeC-KlsKA
Participate in Machine Learning
Competitions
http://www.kaggle.com/
Question & Answers
References
• https://blogs.nvidia.com/blog/2016/07/29/what
s-difference-artificial-intelligence-machine-
learning-deep-learning-ai/
• https://blogs.nvidia.com/blog/2014/09/07/imag
enet/
• https://www.linkedin.com/learning/machine-
learning-essential-training-value-estimations
• https://www.slideshare.net/drcfetr/an-
overview-of-machine-learning
• https://sflscientific.com/blog/2016/12/16/portfol
io-prediction
• https://ei.is.tuebingen.mpg.de/research_proje
cts/robot-skill-learning
• https://www.innoarchitech.com/machine-
learning-an-in-depth-non-technical-guide-part-
2/
• http://erinshellman.github.io/data-mining-
starter-kit/
• http://slideplayer.com/slide/7341084/
• http://machinelearningmastery.com/common-
pitfalls-machine-learning-projects/
• https://www.togaware.com/datamining/surviv
or/Neural_Network.html
• https://read01.com/JNzJkL.html
• http://www.papis.io/blog/introduction-to-
multi-gpu-deep-learning-with-digits-mike-wang
• https://hackernoon.com/visualizing-parts-of-
convolutional-neural-networks-using-keras-
and-cats-5cc01b214e59

More Related Content

PDF
"An Introduction to Machine Learning and How to Teach Machines to See," a Pre...
PPTX
Machine learning ppt
PPT
3. challenges
PPT
Machine Learning
PPTX
Machine learning seminar ppt
PPTX
ChatGPT Deck.pptx
"An Introduction to Machine Learning and How to Teach Machines to See," a Pre...
Machine learning ppt
3. challenges
Machine Learning
Machine learning seminar ppt
ChatGPT Deck.pptx

What's hot (20)

PDF
ML Basics
PPTX
Introduction to Machine Learning
PPTX
Supervised and unsupervised learning
PPTX
AI: Learning in AI
PPTX
Introduction to Machine Learning
PDF
Performance Metrics for Machine Learning Algorithms
PDF
Applications in Machine Learning
PPTX
Machine Can Think
PPTX
Logistic Regression | Logistic Regression In Python | Machine Learning Algori...
PPT
3. mining frequent patterns
PPT
Data Mining: Concepts and Techniques_ Chapter 6: Mining Frequent Patterns, ...
PDF
Machine Learning: Introduction to Neural Networks
PDF
Decision tree
PPT
Machine Learning presentation.
PDF
Classification and Clustering
PDF
Machine learning
PPTX
Machine learning clustering
PPT
MachineLearning.ppt
PDF
Machine Learning and its Applications
PDF
Lecture 1: What is Machine Learning?
ML Basics
Introduction to Machine Learning
Supervised and unsupervised learning
AI: Learning in AI
Introduction to Machine Learning
Performance Metrics for Machine Learning Algorithms
Applications in Machine Learning
Machine Can Think
Logistic Regression | Logistic Regression In Python | Machine Learning Algori...
3. mining frequent patterns
Data Mining: Concepts and Techniques_ Chapter 6: Mining Frequent Patterns, ...
Machine Learning: Introduction to Neural Networks
Decision tree
Machine Learning presentation.
Classification and Clustering
Machine learning
Machine learning clustering
MachineLearning.ppt
Machine Learning and its Applications
Lecture 1: What is Machine Learning?
Ad

Similar to Introduction to-machine-learning (20)

PDF
Lecture 5 machine learning updated
PPTX
Machine Learning
PPTX
Machine learning Basics Introduction ppt
PPTX
Artificial Intelligence Approaches
PPTX
machine learning
PPTX
How to make m achines learn
PDF
MachineLearning_Unit-I.pptx.pdtegfdxcdsfxf
PDF
An Introduction to Machine Learning
PPTX
Lecture 1.pptxgggggggggggggggggggggggggggggggggggggggggggg
PPT
DEEP LEARNING PPT aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
PPTX
Machine learning basics
PPTX
Machine learning basics by akanksha bali
PPTX
MachineLearning_Unit-I.pptxScrum.pptxAgile Model.pptxAgile Model.pptxAgile Mo...
PPTX
Machine Learning DR PRKRao-PPT UNIT-I.pptx
PPTX
unit 1.2 supervised learning.pptx
PPTX
Machine Learning Basics - By Animesh Sinha
PPTX
Intro to machine learning
PPT
Unit-V Machine Learning.ppt
PPTX
AI System.pptx
PDF
Introduction_to_Machine_Learning_KUMAR.pdf
Lecture 5 machine learning updated
Machine Learning
Machine learning Basics Introduction ppt
Artificial Intelligence Approaches
machine learning
How to make m achines learn
MachineLearning_Unit-I.pptx.pdtegfdxcdsfxf
An Introduction to Machine Learning
Lecture 1.pptxgggggggggggggggggggggggggggggggggggggggggggg
DEEP LEARNING PPT aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Machine learning basics
Machine learning basics by akanksha bali
MachineLearning_Unit-I.pptxScrum.pptxAgile Model.pptxAgile Model.pptxAgile Mo...
Machine Learning DR PRKRao-PPT UNIT-I.pptx
unit 1.2 supervised learning.pptx
Machine Learning Basics - By Animesh Sinha
Intro to machine learning
Unit-V Machine Learning.ppt
AI System.pptx
Introduction_to_Machine_Learning_KUMAR.pdf
Ad

More from Babu Priyavrat (8)

PDF
5G and Drones
PPTX
Tricks in natural language processing
PPTX
Lda and it's applications
PPTX
Ensemble learning Techniques
PPTX
NLP using Deep learning
PPTX
Introduction to TensorFlow
PPTX
Neural network
PPTX
Supervised Machine Learning in R
5G and Drones
Tricks in natural language processing
Lda and it's applications
Ensemble learning Techniques
NLP using Deep learning
Introduction to TensorFlow
Neural network
Supervised Machine Learning in R

Recently uploaded (20)

PDF
composite construction of structures.pdf
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
Geodesy 1.pptx...............................................
PPTX
additive manufacturing of ss316l using mig welding
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
Lecture Notes Electrical Wiring System Components
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
web development for engineering and engineering
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPT
Mechanical Engineering MATERIALS Selection
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
composite construction of structures.pdf
CYBER-CRIMES AND SECURITY A guide to understanding
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Arduino robotics embedded978-1-4302-3184-4.pdf
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Internet of Things (IOT) - A guide to understanding
Geodesy 1.pptx...............................................
additive manufacturing of ss316l using mig welding
OOP with Java - Java Introduction (Basics)
Lecture Notes Electrical Wiring System Components
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
web development for engineering and engineering
Strings in CPP - Strings in C++ are sequences of characters used to store and...
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Mechanical Engineering MATERIALS Selection
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Model Code of Practice - Construction Work - 21102022 .pdf

Introduction to-machine-learning

  • 2. Contents • What is Machine Learning? • Types of Machine Learning • Decision Tree and Random Forests • Neural Network • Deep Learning • Forecasting • Measuring Performance of ML algorithms • Pitfalls of Machine Learning
  • 3. What is Machine Learning? • Definition by Arthur Samuel - Machine Learning is a technique which gives "computers the ability to learn without being explicitly programmed.“ • To mimic human intelligence or human learning process
  • 5. How Humans learn? • Knowledge Transfer –attending lecture • Hit and Trial – learning cycling during your childhood What is actually happening? • Categorization • Prediction
  • 6. We asked Machines to do same • Categorization • Prediction
  • 7. Supervised Machine learning • Formal boring definition - Supervised learning task of inferring a function from labeled training data. The training data consist of a set of training examples. In supervised learning, each example is a pair consisting of an input object (typically a vector) and a desired output value (also called the supervisory signal). • Layman term – Make computers learn from experience • Task Driven
  • 9. Example of supervised Machine Learning Categorization Categorizing whether tumor is malignant or benign Prediction (Regression) Predicting the house of price in given area
  • 10. How is Supervised Learning Achieved? • The existing data is usually divided into training or testing set. For e.g., Training is usually 70% of data where as Testing is 30% of data. • Algorithm develops it model based on training data • Features important for model is usually selected by humans • Algorithm predicts the results for testing data and later the predicted value is compared with real value to give us accuracy. • Several algorithms are tried until required accuracy is achieved
  • 11. UnSupervised Learning Unsupervised learning is a type of machine learning algorithm used to draw inferences from datasets consisting of input data without labeled responses. It is data driven. Clustering a tumor of same kind but doesn’t know it’s nature.
  • 12. UnSupervised Learning Examples Network Intrusion detection Clustering your customer base
  • 13. Reinforcement Learning • Reinforcement learning is a setting where we have a sequential decision problem. Making a decision now influences what decisions we can make in the future. A reward function is provided that tells us how “good” certain states are. • For e.g., Making robot learn against worthy opponent to play table tennis
  • 14. Reinforcement Learning Characteristics • No direct training examples – (delayed) rewards later • Need for exploration of environment or exploitation of environment • The environment might be stochastic and/or unknown • The actions of the learner affects future rewards
  • 16. Decision Tree Decision is a simple representation for Classifying examples. Decision tree learning is one of the most successful techniques for supervised classification learning. For e.g., Surviving Titanic is famous first Machine Learning explanation for Decision Tree
  • 17. Random Forest • Random Forest Tree is a Supervised Machine Learning Algorithm Based on Decision Trees. • It is Collective Decisions of Different Decision Trees. • In random forest, there is never a decision tree which have all features of all other decision trees.
  • 18. Boosting • Form a large set of simple features • Initialize weights for training images • For T rounds • Normalize the weights • For available features from the set, train a classifier using a single feature and evaluate the training error • Choose the classifier with the lowest error • Update the weights of the training images: increase if classified wrongly by this classifier, decrease if correctly • Form the final strong classifier as the linear combination of the T classifiers (coefficient larger if training error is small)
  • 19. Neural Network • a computer system modelled on the human brain and nervous system
  • 20. Neural Network Example Predicting whether the person goes to Hospital In next 30 days based on historical Data ( Classification)
  • 22. Mar I/O –Neural Network playing Mario ( Reinforcement Learning) https://youtu.be/qv6UVOQ0F44
  • 24. Applications of Deep Learning Facial Recognition
  • 25. Applications of Deep Learning Auto-coloring can be achieved by Algorithmia API
  • 26. Applications of Deep Learning https://youtu.be/FroRjEejA30 Semantic segmentation of street for Driverless Car
  • 29. Two layers of convolution, activation and pooling with 3 filter layer
  • 31. Forecasting • It is usually done on time-series data to predict the future trend • For e.g., forecasting Stock value based on historical data • Usually achieved by ARIMA (Auto- regressive integrated Moving Average) model Amazon stock forecast Amazon actual stock performance
  • 32. Measuring performance of ML algorithms
  • 33. Pitfalls of Machine Learning • Over fitting • Trying to make algorithm to work only for small set of data • Ignoring Human intuition • Forecasting usually fails because the algorithm is not able to gauge what humans consider valuable. • Machine Bias • For example, a 2015 study found that women were less likely to be shown high-income job ads by Google's AdSense and another study found that Amazon’s same-day delivery service was systematically not available in black neighborhoods, both for reasons that the companies could not explain, but were just the result of the black box methods they used • https://youtu.be/tleeC-KlsKA
  • 34. Participate in Machine Learning Competitions http://www.kaggle.com/
  • 36. References • https://blogs.nvidia.com/blog/2016/07/29/what s-difference-artificial-intelligence-machine- learning-deep-learning-ai/ • https://blogs.nvidia.com/blog/2014/09/07/imag enet/ • https://www.linkedin.com/learning/machine- learning-essential-training-value-estimations • https://www.slideshare.net/drcfetr/an- overview-of-machine-learning • https://sflscientific.com/blog/2016/12/16/portfol io-prediction • https://ei.is.tuebingen.mpg.de/research_proje cts/robot-skill-learning • https://www.innoarchitech.com/machine- learning-an-in-depth-non-technical-guide-part- 2/ • http://erinshellman.github.io/data-mining- starter-kit/ • http://slideplayer.com/slide/7341084/ • http://machinelearningmastery.com/common- pitfalls-machine-learning-projects/ • https://www.togaware.com/datamining/surviv or/Neural_Network.html • https://read01.com/JNzJkL.html • http://www.papis.io/blog/introduction-to- multi-gpu-deep-learning-with-digits-mike-wang • https://hackernoon.com/visualizing-parts-of- convolutional-neural-networks-using-keras- and-cats-5cc01b214e59