SlideShare a Scribd company logo
Machine Learning
Created by Ashwin Shiv
Roll No:181210013
CSE 3rdYear,5th Semester
Colloquium/ Industrial Lecture/ Seminar(CSP 311)
1
Introduction
Machine Learning is the field of study that gives computers the capability to learn without being explicitly programmed.
General type of Learning System
• “Signal” or “Feedback” available to a learning system
• “Output” desired from a machine learned system
2
“Signal” or “Feedback”
Learning depends on Input/ Output data and label/ un-label data and small/Large
data set
• Supervised learning
• Unsupervised learning
• Semi-supervised learning
• Reinforcement learning
3
Supervised learning
The computer is presented with example inputs and their desired outputs. Fully
labelled input and output.
Example
Image Classification: You train with images/labels.Then in the future you give a new
image expecting that the computer will recognize the new object.
Market Prediction/Regression: You train the computer with historical market data
and ask the computer to predict the new price in the future.
4
Advantages and Disadvantages of Supervised
Learning
Advantages of Supervised Learning:
• Machine can predict data on the basis of experiences.
• Used in solving real life problems such as fraud detection ,spam filtering etc.
• Knowledge about classes and objects is sufficient
Disadvantages of Supervised Learning:
• If test data is different from training dataset, then it cannot predict the correct output.
• Not suitable for handling complex tasks.
5
Unsupervised learning
No labels are given to the learning algorithm, leaving it on its own to find structure in its
input.
Example
• Clustering:You ask the computer to separate similar data into clusters, this is essential in
research and science..
• Generative Models: After a model captures the probability distribution of your input data,
it will be able to generate more data.This can be very useful to make your classifier more
robust.
6
Advantages and Disadvantages of
Unsupervised Learning
Advantages of Unsupervised Learning:
• Helps to make our machine adapt to new type of data.
• Is preferable as it is easy to get unlabeled data in comparison to labeled data.
Disadvantages of Unsupervised Learning:
• More difficult than supervised learning as it does not have corresponding output.
• Result of Unsupervised Learning Algorithm might be less accurate as input data is
unlabeled and these algorithms do not any exact output in advance.
7
Semi-supervised learning
Problems where you have a large amount of input data and only some of the
data is labelled.
Example
• Image Labeling : Only few images are label and majority are unlabelled.
Used by Facebook and Google photos
8
Reinforcement learning
When you present the algorithm with examples that lack labels, as in
unsupervised learning. However, you can accompany an example with
positive or negative feedback according to the solution the algorithm
proposes comes under the category of Reinforcement learning
Example
• Driving a vehicle
• Machine playing a game against an opponent
9
“Output” desired system
Learning tasks arises when one considers the desired output of a machine-
learned system
• Classification
• Regression
• Clustering
10
Classification
Supervised Learning Problem in which when inputs are divided into two or more
classes, and the learner must produce a model that assigns unseen inputs to one or
more (multi-label classification) of these classes.
Example:
• Like in emails,whenever we receive an email,spam filtering takes place which in
turns recognizes whether that mail is spam or not spam.Spam and not spam are
defined as label inputs to detect whether that email is spam or not spam.
11
Regression
Supervised Learning problem in which it checks if there is a relationship between the
input variable and the output variable
Example:
• Predicting stock prices using historical data.
• Prediction of rain using temperature and other factors
• Determining Market trends
• Prediction of road accidents due to rash driving.
12
Clustering
An Unsupervised learning problem in which objects are grouped into clusters such
that objects with most similarities remain into a group.These clusters found
something common between data objects and are categorized by our machine.
Example:
• It is used by the Amazon in its recommendation system to provide the
recommendations as per the past search of products.
• Netflix also uses this technique to recommend the movies and web-series to its
users as per the watch history.
13
Applications of Machine Learning
• Image Recognition:Used to identify objects, persons, places, digital images etc.
Eg:Automatic friend tagging suggestion
• Traffic Prediction: Google Maps predicts traffic in two ways:
a) RealTime location of the vehicle form Google Map app and sensors
b) Average time has taken on past days at the same time.
• Spam and Not Spam Filtering on emails
• Self Driving Cars
• Product Recommendations
• Speech Recognitions
14
DecisionTree Classification Algorithm
• Supervised learning technique to solve decision problems.
• Used for both classification and Regression problems, but mostly it is
preferred for solving Classification problems.
• It is a graphical representation for getting all the possible solutions to a
problem/decision based on given conditions.
15
General Structure of a DecisionTree
16
Advantages and Disadvantages of Decision
Tree
Advantages of DecisionTree:
• Helps to think about all the possible outcomes for a problem
• Less requirement of data cleaning compared to other algorithms
• Useful for solving decision-related problems.
Disadvantages of DecisionTree:
• Some decision tree might contain a lot of layers which will become very difficult to read.
• If more layers are defined, time complexity may increase which leads to poor performance.
17
Formulae to be Used for making a Decision
tree
• Entropy of Class: It is a metric to measure the impurity in a given attribute
• Information Gain: Denoted by I(Pi,Ni). Almost same as Entropy of Class
• Entropy of an Attribute:
• Gain=Entropy of Class-Entropy of Attribute
18
Difference between Artificial Intelligence and
Machine Learning
19
Artificial Intelligence(AI) Machine Learning(ML)
AI is the study of how to make
computers just like humans.
ML is a subset of AI which is defined as
field of study that gives computers the
capability to learn without being
explicitly programmed.
Includes learning, reasoning, and self-
correction.
Includes learning and self-correction
when introduced with new data.
Goal of AI is to make a computer
system that can think like humans
Goal of ML is to make our machine
learn which can provide accurate
output.
AI is concerned about maximizing the
chances of success.
ML is concerned about accuracy and
patterns.
AI has a very wide range of scope. ML has a limited scope.
AI will generally go for finding optimal
solution.
ML will go for solution depending on
the input given.
ThankYou
20

More Related Content

What's hot

Machine Learning
Machine LearningMachine Learning
Machine LearningVivek Garg
 
Machine learning
Machine learningMachine learning
Machine learningRohit Kumar
 
Machine Learning Landscape
Machine Learning LandscapeMachine Learning Landscape
Machine Learning LandscapeEng Teong Cheah
 
Machine Learning Algorithms
Machine Learning AlgorithmsMachine Learning Algorithms
Machine Learning AlgorithmsDezyreAcademy
 
Basics of machine learning
Basics of machine learningBasics of machine learning
Basics of machine learningGopal Verma
 
Supervised Machine Learning
Supervised Machine LearningSupervised Machine Learning
Supervised Machine LearningAnkit Rai
 
Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?Marina Santini
 
Machine Learning Landscape
Machine Learning LandscapeMachine Learning Landscape
Machine Learning LandscapeSajib Sen
 
Machine Learning
Machine LearningMachine Learning
Machine LearningRahul Kumar
 
Lecture #1: Introduction to machine learning (ML)
Lecture #1: Introduction to machine learning (ML)Lecture #1: Introduction to machine learning (ML)
Lecture #1: Introduction to machine learning (ML)butest
 
detailed Presentation on supervised learning
 detailed Presentation on supervised learning detailed Presentation on supervised learning
detailed Presentation on supervised learningZAMANCHBWN
 
Machine Learning Basics
Machine Learning BasicsMachine Learning Basics
Machine Learning BasicsSuresh Arora
 
Lecture 01: Machine Learning for Language Technology - Introduction
 Lecture 01: Machine Learning for Language Technology - Introduction Lecture 01: Machine Learning for Language Technology - Introduction
Lecture 01: Machine Learning for Language Technology - IntroductionMarina Santini
 
How Python can be used for machine learning?
How Python can be used for machine learning?How Python can be used for machine learning?
How Python can be used for machine learning?NexSoftsys
 
Machine Learning Basics - By Animesh Sinha
Machine Learning Basics - By Animesh Sinha Machine Learning Basics - By Animesh Sinha
Machine Learning Basics - By Animesh Sinha Animesh Sinha
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learningSangath babu
 

What's hot (20)

Machine Learning
Machine LearningMachine Learning
Machine Learning
 
L11. The Future of Machine Learning
L11. The Future of Machine LearningL11. The Future of Machine Learning
L11. The Future of Machine Learning
 
Machine learning
Machine learningMachine learning
Machine learning
 
Machine Learning Landscape
Machine Learning LandscapeMachine Learning Landscape
Machine Learning Landscape
 
Machine Learning Algorithms
Machine Learning AlgorithmsMachine Learning Algorithms
Machine Learning Algorithms
 
Machine learning
Machine learningMachine learning
Machine learning
 
Machine learning
Machine learningMachine learning
Machine learning
 
Basics of machine learning
Basics of machine learningBasics of machine learning
Basics of machine learning
 
Supervised Machine Learning
Supervised Machine LearningSupervised Machine Learning
Supervised Machine Learning
 
Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?
 
Machine Learning Landscape
Machine Learning LandscapeMachine Learning Landscape
Machine Learning Landscape
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Lecture #1: Introduction to machine learning (ML)
Lecture #1: Introduction to machine learning (ML)Lecture #1: Introduction to machine learning (ML)
Lecture #1: Introduction to machine learning (ML)
 
detailed Presentation on supervised learning
 detailed Presentation on supervised learning detailed Presentation on supervised learning
detailed Presentation on supervised learning
 
Machine Learning Basics
Machine Learning BasicsMachine Learning Basics
Machine Learning Basics
 
Lecture 01: Machine Learning for Language Technology - Introduction
 Lecture 01: Machine Learning for Language Technology - Introduction Lecture 01: Machine Learning for Language Technology - Introduction
Lecture 01: Machine Learning for Language Technology - Introduction
 
How Python can be used for machine learning?
How Python can be used for machine learning?How Python can be used for machine learning?
How Python can be used for machine learning?
 
Machine Learning Basics - By Animesh Sinha
Machine Learning Basics - By Animesh Sinha Machine Learning Basics - By Animesh Sinha
Machine Learning Basics - By Animesh Sinha
 
Machine Learning Algorithms (Part 1)
Machine Learning Algorithms (Part 1)Machine Learning Algorithms (Part 1)
Machine Learning Algorithms (Part 1)
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 

Similar to Machine Learning in NutShell

introduction to machine learning
introduction to machine learningintroduction to machine learning
introduction to machine learningJohnson Ubah
 
Machine Learning Contents.pptx
Machine Learning Contents.pptxMachine Learning Contents.pptx
Machine Learning Contents.pptxNaveenkushwaha18
 
Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)SwatiTripathi44
 
Introduction to Machine Learning.pptx
Introduction to Machine Learning.pptxIntroduction to Machine Learning.pptx
Introduction to Machine Learning.pptxDr. Amanpreet Kaur
 
Introduction To Machine Learning
Introduction To Machine LearningIntroduction To Machine Learning
Introduction To Machine LearningKnoldus Inc.
 
Machine learning - AI
Machine learning - AIMachine learning - AI
Machine learning - AIWitekio
 
Types of Machine Learning- Tanvir Siddike Moin
Types of Machine Learning- Tanvir Siddike MoinTypes of Machine Learning- Tanvir Siddike Moin
Types of Machine Learning- Tanvir Siddike MoinTanvir Moin
 
Machine Learning Presentation
Machine Learning PresentationMachine Learning Presentation
Machine Learning PresentationSk Samiul Islam
 
Unit-V Machine Learning.ppt
Unit-V Machine Learning.pptUnit-V Machine Learning.ppt
Unit-V Machine Learning.pptSharpmark256
 
Andrew NG machine learning
Andrew NG machine learningAndrew NG machine learning
Andrew NG machine learningShareDocView.com
 
Machine Learning and its Applications
Machine Learning and its ApplicationsMachine Learning and its Applications
Machine Learning and its ApplicationsBhuvan Chopra
 
Machine Learning Ch 1.ppt
Machine Learning Ch 1.pptMachine Learning Ch 1.ppt
Machine Learning Ch 1.pptARVIND SARDAR
 
Supervised learning
Supervised learningSupervised learning
Supervised learningankit_ppt
 
Machine Learning
Machine LearningMachine Learning
Machine LearningAmit Kumar
 
what-is-machine-learning-and-its-importance-in-todays-world.pdf
what-is-machine-learning-and-its-importance-in-todays-world.pdfwhat-is-machine-learning-and-its-importance-in-todays-world.pdf
what-is-machine-learning-and-its-importance-in-todays-world.pdfTemok IT Services
 
BIG DATA AND MACHINE LEARNING
BIG DATA AND MACHINE LEARNINGBIG DATA AND MACHINE LEARNING
BIG DATA AND MACHINE LEARNINGUmair Shafique
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learningshivani saluja
 

Similar to Machine Learning in NutShell (20)

introduction to machine learning
introduction to machine learningintroduction to machine learning
introduction to machine learning
 
Machine Learning Contents.pptx
Machine Learning Contents.pptxMachine Learning Contents.pptx
Machine Learning Contents.pptx
 
Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)
 
Introduction to Machine Learning.pptx
Introduction to Machine Learning.pptxIntroduction to Machine Learning.pptx
Introduction to Machine Learning.pptx
 
ML_Module_1.pdf
ML_Module_1.pdfML_Module_1.pdf
ML_Module_1.pdf
 
Lab 7.pptx
Lab 7.pptxLab 7.pptx
Lab 7.pptx
 
Introduction To Machine Learning
Introduction To Machine LearningIntroduction To Machine Learning
Introduction To Machine Learning
 
Machine learning - AI
Machine learning - AIMachine learning - AI
Machine learning - AI
 
Types of Machine Learning- Tanvir Siddike Moin
Types of Machine Learning- Tanvir Siddike MoinTypes of Machine Learning- Tanvir Siddike Moin
Types of Machine Learning- Tanvir Siddike Moin
 
Machine Learning Presentation
Machine Learning PresentationMachine Learning Presentation
Machine Learning Presentation
 
Unit-V Machine Learning.ppt
Unit-V Machine Learning.pptUnit-V Machine Learning.ppt
Unit-V Machine Learning.ppt
 
Andrew NG machine learning
Andrew NG machine learningAndrew NG machine learning
Andrew NG machine learning
 
Machine Learning and its Applications
Machine Learning and its ApplicationsMachine Learning and its Applications
Machine Learning and its Applications
 
Machine Learning Ch 1.ppt
Machine Learning Ch 1.pptMachine Learning Ch 1.ppt
Machine Learning Ch 1.ppt
 
Supervised learning
Supervised learningSupervised learning
Supervised learning
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
what-is-machine-learning-and-its-importance-in-todays-world.pdf
what-is-machine-learning-and-its-importance-in-todays-world.pdfwhat-is-machine-learning-and-its-importance-in-todays-world.pdf
what-is-machine-learning-and-its-importance-in-todays-world.pdf
 
BIG DATA AND MACHINE LEARNING
BIG DATA AND MACHINE LEARNINGBIG DATA AND MACHINE LEARNING
BIG DATA AND MACHINE LEARNING
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Machine learning
Machine learningMachine learning
Machine learning
 

Recently uploaded

Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfOrtus Solutions, Corp
 
iGaming Platform & Lottery Solutions by Skilrock
iGaming Platform & Lottery Solutions by SkilrockiGaming Platform & Lottery Solutions by Skilrock
iGaming Platform & Lottery Solutions by SkilrockSkilrock Technologies
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Shahin Sheidaei
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...rajkumar669520
 
Breaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdfBreaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdfMeon Technology
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesKrzysztofKkol1
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEJelle | Nordend
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke
 
GraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisGraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisNeo4j
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyanic lab
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowPeter Caitens
 
Crafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationCrafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationWave PLM
 
AI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAlluxio, Inc.
 
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion Clinic
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...Alluxio, Inc.
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?XfilesPro
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...informapgpstrackings
 
Agnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in KrakówAgnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in Krakówbim.edu.pl
 

Recently uploaded (20)

Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
iGaming Platform & Lottery Solutions by Skilrock
iGaming Platform & Lottery Solutions by SkilrockiGaming Platform & Lottery Solutions by Skilrock
iGaming Platform & Lottery Solutions by Skilrock
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
 
Breaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdfBreaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdf
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
GraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisGraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysis
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
 
Crafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationCrafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM Integration
 
AI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning Framework
 
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
Agnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in KrakówAgnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in Kraków
 

Machine Learning in NutShell

  • 1. Machine Learning Created by Ashwin Shiv Roll No:181210013 CSE 3rdYear,5th Semester Colloquium/ Industrial Lecture/ Seminar(CSP 311) 1
  • 2. Introduction Machine Learning is the field of study that gives computers the capability to learn without being explicitly programmed. General type of Learning System • “Signal” or “Feedback” available to a learning system • “Output” desired from a machine learned system 2
  • 3. “Signal” or “Feedback” Learning depends on Input/ Output data and label/ un-label data and small/Large data set • Supervised learning • Unsupervised learning • Semi-supervised learning • Reinforcement learning 3
  • 4. Supervised learning The computer is presented with example inputs and their desired outputs. Fully labelled input and output. Example Image Classification: You train with images/labels.Then in the future you give a new image expecting that the computer will recognize the new object. Market Prediction/Regression: You train the computer with historical market data and ask the computer to predict the new price in the future. 4
  • 5. Advantages and Disadvantages of Supervised Learning Advantages of Supervised Learning: • Machine can predict data on the basis of experiences. • Used in solving real life problems such as fraud detection ,spam filtering etc. • Knowledge about classes and objects is sufficient Disadvantages of Supervised Learning: • If test data is different from training dataset, then it cannot predict the correct output. • Not suitable for handling complex tasks. 5
  • 6. Unsupervised learning No labels are given to the learning algorithm, leaving it on its own to find structure in its input. Example • Clustering:You ask the computer to separate similar data into clusters, this is essential in research and science.. • Generative Models: After a model captures the probability distribution of your input data, it will be able to generate more data.This can be very useful to make your classifier more robust. 6
  • 7. Advantages and Disadvantages of Unsupervised Learning Advantages of Unsupervised Learning: • Helps to make our machine adapt to new type of data. • Is preferable as it is easy to get unlabeled data in comparison to labeled data. Disadvantages of Unsupervised Learning: • More difficult than supervised learning as it does not have corresponding output. • Result of Unsupervised Learning Algorithm might be less accurate as input data is unlabeled and these algorithms do not any exact output in advance. 7
  • 8. Semi-supervised learning Problems where you have a large amount of input data and only some of the data is labelled. Example • Image Labeling : Only few images are label and majority are unlabelled. Used by Facebook and Google photos 8
  • 9. Reinforcement learning When you present the algorithm with examples that lack labels, as in unsupervised learning. However, you can accompany an example with positive or negative feedback according to the solution the algorithm proposes comes under the category of Reinforcement learning Example • Driving a vehicle • Machine playing a game against an opponent 9
  • 10. “Output” desired system Learning tasks arises when one considers the desired output of a machine- learned system • Classification • Regression • Clustering 10
  • 11. Classification Supervised Learning Problem in which when inputs are divided into two or more classes, and the learner must produce a model that assigns unseen inputs to one or more (multi-label classification) of these classes. Example: • Like in emails,whenever we receive an email,spam filtering takes place which in turns recognizes whether that mail is spam or not spam.Spam and not spam are defined as label inputs to detect whether that email is spam or not spam. 11
  • 12. Regression Supervised Learning problem in which it checks if there is a relationship between the input variable and the output variable Example: • Predicting stock prices using historical data. • Prediction of rain using temperature and other factors • Determining Market trends • Prediction of road accidents due to rash driving. 12
  • 13. Clustering An Unsupervised learning problem in which objects are grouped into clusters such that objects with most similarities remain into a group.These clusters found something common between data objects and are categorized by our machine. Example: • It is used by the Amazon in its recommendation system to provide the recommendations as per the past search of products. • Netflix also uses this technique to recommend the movies and web-series to its users as per the watch history. 13
  • 14. Applications of Machine Learning • Image Recognition:Used to identify objects, persons, places, digital images etc. Eg:Automatic friend tagging suggestion • Traffic Prediction: Google Maps predicts traffic in two ways: a) RealTime location of the vehicle form Google Map app and sensors b) Average time has taken on past days at the same time. • Spam and Not Spam Filtering on emails • Self Driving Cars • Product Recommendations • Speech Recognitions 14
  • 15. DecisionTree Classification Algorithm • Supervised learning technique to solve decision problems. • Used for both classification and Regression problems, but mostly it is preferred for solving Classification problems. • It is a graphical representation for getting all the possible solutions to a problem/decision based on given conditions. 15
  • 16. General Structure of a DecisionTree 16
  • 17. Advantages and Disadvantages of Decision Tree Advantages of DecisionTree: • Helps to think about all the possible outcomes for a problem • Less requirement of data cleaning compared to other algorithms • Useful for solving decision-related problems. Disadvantages of DecisionTree: • Some decision tree might contain a lot of layers which will become very difficult to read. • If more layers are defined, time complexity may increase which leads to poor performance. 17
  • 18. Formulae to be Used for making a Decision tree • Entropy of Class: It is a metric to measure the impurity in a given attribute • Information Gain: Denoted by I(Pi,Ni). Almost same as Entropy of Class • Entropy of an Attribute: • Gain=Entropy of Class-Entropy of Attribute 18
  • 19. Difference between Artificial Intelligence and Machine Learning 19 Artificial Intelligence(AI) Machine Learning(ML) AI is the study of how to make computers just like humans. ML is a subset of AI which is defined as field of study that gives computers the capability to learn without being explicitly programmed. Includes learning, reasoning, and self- correction. Includes learning and self-correction when introduced with new data. Goal of AI is to make a computer system that can think like humans Goal of ML is to make our machine learn which can provide accurate output. AI is concerned about maximizing the chances of success. ML is concerned about accuracy and patterns. AI has a very wide range of scope. ML has a limited scope. AI will generally go for finding optimal solution. ML will go for solution depending on the input given.