SlideShare a Scribd company logo
Machine Learning Algorithms (Part 1)
DIFFERENTIATE
ARTIFICIAL
INTELLIGENCE,
MACHINE
LEARNING AND
DEEP LEARNING
01
UNDERSTAND THE
NEED FOR
MACHINE
LEARNING
02
ILLUSTRATE
MACHINE
LEARNING
PROCESS
03
UNDERSTAND THE
TYPES OF MACHINE
LEARNING
04
DETERMINE THE
TYPE OF PROBLEMS
SOLVED USING
MACHINE
LEARNING
05
PRACTICAL
IMPLEMENTATION
OF MACHINING
LEARNING
06
• It covers anything which
enables the computers to
behave like humans.
• It deals with the
extraction of patterns
from a large data sets.
• It deals to train Deep
Neural Networks so as to
achieve better accuracy in
those cases where former
was not performing up to
the mark.
•2.5 quintillion bytes of data every single day
•Estimated by 2020, 1.7MB of data will be
created every second for every person on
earth.
•predictive models that can study and
analyze complex data
Source: Google Images
•Netflix and Amazon
Machine Learning Algorithms (Part 1)
Netflix’s Recommendation Engine
Facebook’s Auto-tagging feature
Amazon’s Alexa
Google’s Spam Filter
Task: How will you choose the best mangoes?
Experience 1:
You were informed that bright and yellow
mangoes are sweeter than pale and yellow ones.
So you make a simple rule: pick only from the
bright yellow mangoes. You check the colour of
the mangoes, pick the bright yellow ones, pay up,
and return home. Right?
Learning 1:
Bright yellow mangoes are sweeter than pale
yellow ones
Experience 2:
Now when you went home and tasted the
mangoes, some of them were not sweet as you
thought. You are worried as your wisdom was
insufficient. You concluded that when it comes
shopping mangoes, you have to look for more
than just the colors.
After a lot of pondering and tasting different
types of mangoes,
Experience 2:
you concluded that the bigger and bright yellow
mangoes are guaranteed to be sweet, while the
smaller, bright yellow mangoes are sweet only
half the time (i.e. if you bought 100 bright
yellow mangoes (50 will be big in size and rest
50 will be small), then the 50 big mangoes will
all be sweet, while out of the 50 small ones,
only 25 mangoes will turn out to be sweet). You
will then update your rule about the mango
shopping and from next time you will keep this
in mind.
Experience 2:
you concluded that the bigger and bright yellow
mangoes are guaranteed to be sweet, while the
smaller, bright yellow mangoes are sweet only
half the time (i.e. if you bought 100 bright
yellow mangoes (50 will be big in size and rest
50 will be small), then the 50 big mangoes will
all be sweet, while out of the 50 small ones,
only 25 mangoes will turn out to be sweet). You
will then update your rule about the mango
shopping and from next time you will keep this
in mind.
Learning 2:
The smaller and bright yellow mangoes are
sweet only half the time.
Experience 3:
Tragedy: Next time at the market, you see that
your favorite vendor has gone out of town. You
decide to buy from a different vendor, who
supplies mangoes grown from a different part of
the country. Now, you realize that the rule which
you had learnt (that big, bright yellow mangoes
are the sweetest) is no longer applicable. You have
to learn from scratch. You taste a mango of each
kind from this vendor and realize that the small,
pale yellow ones are in fact the sweetest of all.
Learning 3:
Small, pale yellow ones are the sweetest of all.
Experience 4:
One day your cousin visits you from another city.
You decide to treat her with mangoes. But she is
like “I don’t care about the sweetness of a mango,
I only want the juiciest ones”. Now once again,
you run your experiments, tasting all kinds of
mangoes, and realizing that the softer ones are
juicier.
Learning 4:
Soft mangoes are juicier
Experience 5:
Later on, you move to a different part of the
world and you found that the mangoes here taste
surprisingly different from your home country.
You realized that for this country the green
mangoes are tastier than the yellow ones.
Learning 5:
Green mangoes are tastier than yellow one
Experience 6:
You marry someone who hates mangoes but loves
oranges instead. Now you go for shopping
oranges instead of mangoes. Now, all your
accumulated knowledge about mangoes is
worthless. Now you have to learn everything
about the correlation between the physical
characteristics and the taste of apples, by the same
method of experimentation.
Learning 6:
You don’t need mangoes anymore
What if you have to
write a code for it?
if is bright yellow and
size is big and sold by:
mango is sweet.
if (soft): mango is juicy
Conclusion as
HUMAN?
But every time you
make a new
observation from your
experiments, you have
to modify the list of
rules manually.
Task: How will you choose the best apple?
This is where
Machine
Learning comes
into the picture
“Machine Learning is a concept which
allows the machine to learn from
examples and experience, and that too
without being explicitly programmed.
So instead of you writing the code,
what you do is you feed data to the
generic algorithm, and the
algorithm/machine builds the logic
based on the given data.”
• an American pioneer in the field of
computer gaming and artificial
intelligence
Arthur Lee Samuel
• popularized the term "machine
learning" in 1959
Training Phase Testing Phase
Model:
A model is the main component of Machine Learning. A model is
trained by using a Machine Learning Algorithm. An algorithm maps
all the decisions that a model is supposed to take based on the given
input, in order to get the correct output.
Predictor Variable:
It is a feature(s) of the data that can be used to predict the output.
Response Variable:
It is the feature or the output variable that needs to be predicted by
using the predictor variable(s).
Training Data:
The Machine Learning model is built using the training data. The
training data helps the model to identify key trends and patterns
essential to predict the output.
Testing Data:
After the model is trained, it must be tested to evaluate how accurately
it can predict an outcome. This is done by the testing data set.
Machine Learning Algorithms (Part 1)
Machine Learning Algorithms (Part 1)
Step 1: Define the objective of the Problem Statement
• At this step, we must understand what exactly needs to be
predicted.
• In our case, the objective is to predict the possibility of rain
by studying weather conditions.
• At this stage, it is also essential to take mental notes on
what kind of data can be used to solve this problem or the
type of approach you must follow to get to the solution.
Step 2: Data Gathering
• What kind of data is needed to solve this problem?
• Is the data available?
• How can I get the data?
Step 4: Exploratory Data Analysis
• Grab your detective glasses because this stage is all about
diving deep into data and finding all the hidden data
mysteries. EDA or Exploratory Data Analysis is the
brainstorming stage of Machine Learning.
• Data Exploration involves understanding the patterns and
trends in the data.
• At this stage, all the useful insights are drawn and
correlations between the variables are understood.
Step 5: Building a Machine Learning Model
• All the insights and patterns derived during Data
Exploration are used to build the Machine Learning
Model.
• This stage always begins by splitting the data set into two
parts, training data, and testing data.
• The training data will be used to build and analyze the
model.
• The logic of the model is based on the Machine Learning
Algorithm that is being implemented.
Step 6: Model Evaluation & Optimization
• After building a model by using the training data set, it is
finally time to put the model to a test.
• The testing data set is used to check the efficiency of the
model and how accurately it can predict the outcome.
• Once the accuracy is calculated, any further improvements
in the model can be implemented at this stage.
• Methods like parameter tuning and cross-validation can be
used to improve the performance of the model.
Step 7: Predictions
• Once the model is evaluated and improved, it is finally
used to make predictions.
• The final output can be a Categorical variable (eg. True or
False) or it can be a Continuous Quantity (eg. the
predicted value of a stock).
1. Supervised Learning
2. Unsupervised Learning
3. Reinforcement Learning
• a technique in which we teach or train the machine using data
which is well labeled.
Machine Learning Algorithms (Part 1)
• Y = f(X)
• every instance of
the training
dataset consists of
input attributes
and expected
output
• The training
dataset can take any
kind of data as an
input like values of
a database row, the
pixels of an image,
or even an audio
frequency
histogram.
Machine Learning Algorithms (Part 1)
• involves training by using unlabeled data and allowing the model
to act on that information without guidance
Machine Learning Algorithms (Part 1)
• input data (X) and
no corresponding
output variables
• to model the
underlying structure
or distribution in
the data in order to
learn more about
the data.
• dataset does not
have an expected
• can detect patterns
based on the typical
characteristics of the
input data
• Clustering
Machine Learning Algorithms (Part 1)
• a part of Machine learning where an agent is put in an
environment and he learns to behave in this environment by
performing certain actions and observing the rewards which it gets
from those actions
• hit and trial method of
learning
• all about the interaction
between the environment
and the learning agent
• exploration and
exploitation
Machine Learning Algorithms (Part 1)
Machine Learning Algorithms (Part 1)
Machine Learning Algorithms (Part 1)
Machine Learning Algorithms (Part 1)
Ad

More Related Content

What's hot (20)

Reasoning in AI
Reasoning in AIReasoning in AI
Reasoning in AI
Gunjan Chhabra
 
Evaluation in Information Retrieval
Evaluation in Information RetrievalEvaluation in Information Retrieval
Evaluation in Information Retrieval
Dishant Ailawadi
 
Deep Learning - Overview of my work II
Deep Learning - Overview of my work IIDeep Learning - Overview of my work II
Deep Learning - Overview of my work II
Mohamed Loey
 
Applications in Machine Learning
Applications in Machine LearningApplications in Machine Learning
Applications in Machine Learning
Joel Graff
 
Deep neural networks
Deep neural networksDeep neural networks
Deep neural networks
Si Haem
 
Supervised and unsupervised learning
Supervised and unsupervised learningSupervised and unsupervised learning
Supervised and unsupervised learning
Paras Kohli
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
Rahul Jain
 
Sequential Pattern Mining and GSP
Sequential Pattern Mining and GSPSequential Pattern Mining and GSP
Sequential Pattern Mining and GSP
Hamidreza Mahdavipanah
 
Web usage mining
Web usage miningWeb usage mining
Web usage mining
Monu Chaudhary
 
Deep Learning With Neural Networks
Deep Learning With Neural NetworksDeep Learning With Neural Networks
Deep Learning With Neural Networks
Aniket Maurya
 
1.Introduction to deep learning
1.Introduction to deep learning1.Introduction to deep learning
1.Introduction to deep learning
KONGU ENGINEERING COLLEGE
 
Machine Learning vs. Deep Learning
Machine Learning vs. Deep LearningMachine Learning vs. Deep Learning
Machine Learning vs. Deep Learning
Belatrix Software
 
Deep Learning Frameworks 2019 | Which Deep Learning Framework To Use | Deep L...
Deep Learning Frameworks 2019 | Which Deep Learning Framework To Use | Deep L...Deep Learning Frameworks 2019 | Which Deep Learning Framework To Use | Deep L...
Deep Learning Frameworks 2019 | Which Deep Learning Framework To Use | Deep L...
Simplilearn
 
Text MIning
Text MIningText MIning
Text MIning
Prakhyath Rai
 
machine learning
machine learningmachine learning
machine learning
soundaryasarya
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
Bhupender Sharma
 
Introduction to Deep Learning
Introduction to Deep Learning Introduction to Deep Learning
Introduction to Deep Learning
Salesforce Engineering
 
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Simplilearn
 
State space search and Problem Solving techniques
State space search and Problem Solving techniquesState space search and Problem Solving techniques
State space search and Problem Solving techniques
Kirti Verma
 
Machine learning vs deep learning
Machine learning vs deep learningMachine learning vs deep learning
Machine learning vs deep learning
USM Systems
 
Evaluation in Information Retrieval
Evaluation in Information RetrievalEvaluation in Information Retrieval
Evaluation in Information Retrieval
Dishant Ailawadi
 
Deep Learning - Overview of my work II
Deep Learning - Overview of my work IIDeep Learning - Overview of my work II
Deep Learning - Overview of my work II
Mohamed Loey
 
Applications in Machine Learning
Applications in Machine LearningApplications in Machine Learning
Applications in Machine Learning
Joel Graff
 
Deep neural networks
Deep neural networksDeep neural networks
Deep neural networks
Si Haem
 
Supervised and unsupervised learning
Supervised and unsupervised learningSupervised and unsupervised learning
Supervised and unsupervised learning
Paras Kohli
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
Rahul Jain
 
Deep Learning With Neural Networks
Deep Learning With Neural NetworksDeep Learning With Neural Networks
Deep Learning With Neural Networks
Aniket Maurya
 
Machine Learning vs. Deep Learning
Machine Learning vs. Deep LearningMachine Learning vs. Deep Learning
Machine Learning vs. Deep Learning
Belatrix Software
 
Deep Learning Frameworks 2019 | Which Deep Learning Framework To Use | Deep L...
Deep Learning Frameworks 2019 | Which Deep Learning Framework To Use | Deep L...Deep Learning Frameworks 2019 | Which Deep Learning Framework To Use | Deep L...
Deep Learning Frameworks 2019 | Which Deep Learning Framework To Use | Deep L...
Simplilearn
 
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Simplilearn
 
State space search and Problem Solving techniques
State space search and Problem Solving techniquesState space search and Problem Solving techniques
State space search and Problem Solving techniques
Kirti Verma
 
Machine learning vs deep learning
Machine learning vs deep learningMachine learning vs deep learning
Machine learning vs deep learning
USM Systems
 

Similar to Machine Learning Algorithms (Part 1) (20)

Machine Learning SPPU Unit 1
Machine Learning SPPU Unit 1Machine Learning SPPU Unit 1
Machine Learning SPPU Unit 1
Amruta Aphale
 
Unit 1-ML (1) (1).pptx
Unit 1-ML (1) (1).pptxUnit 1-ML (1) (1).pptx
Unit 1-ML (1) (1).pptx
Chitrachitrap
 
Lab 7.pptx
Lab 7.pptxLab 7.pptx
Lab 7.pptx
AmnaNadeem27
 
ML_Module_1.pdf
ML_Module_1.pdfML_Module_1.pdf
ML_Module_1.pdf
JafarHussain48
 
Lecture: introduction to Machine Learning.ppt
Lecture: introduction to Machine Learning.pptLecture: introduction to Machine Learning.ppt
Lecture: introduction to Machine Learning.ppt
NiteshJha97
 
Lec 6 learning
Lec 6 learningLec 6 learning
Lec 6 learning
Eyob Seyfu
 
Machine learning introduction to unit 1.ppt
Machine learning introduction to unit 1.pptMachine learning introduction to unit 1.ppt
Machine learning introduction to unit 1.ppt
ShivaShiva783981
 
Introduction to ML.pdf Supervised Learning, Unsupervised
Introduction to ML.pdf Supervised Learning, UnsupervisedIntroduction to ML.pdf Supervised Learning, Unsupervised
Introduction to ML.pdf Supervised Learning, Unsupervised
ssuser2eeb6f
 
unit 1.2 supervised learning.pptx
unit 1.2 supervised learning.pptxunit 1.2 supervised learning.pptx
unit 1.2 supervised learning.pptx
Dr.Shweta
 
INTRODUCTION TO ML basics of ml that one should know
INTRODUCTION TO ML basics of ml that one should knowINTRODUCTION TO ML basics of ml that one should know
INTRODUCTION TO ML basics of ml that one should know
PriyanshuGupta285178
 
Session 17-18 machine learning very important and good type student favour.pptx
Session 17-18 machine learning very important and good type student favour.pptxSession 17-18 machine learning very important and good type student favour.pptx
Session 17-18 machine learning very important and good type student favour.pptx
devadattha
 
Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...
Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...
Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...
Maninda Edirisooriya
 
1.1 Machine Learning Introduction (session 1).pdf
1.1 Machine Learning Introduction (session 1).pdf1.1 Machine Learning Introduction (session 1).pdf
1.1 Machine Learning Introduction (session 1).pdf
DrMarwaElsherif
 
PAIML - UNIT 4dfvdfvdfvdfvdfvvfdvsd.pptx
PAIML - UNIT 4dfvdfvdfvdfvdfvvfdvsd.pptxPAIML - UNIT 4dfvdfvdfvdfvdfvvfdvsd.pptx
PAIML - UNIT 4dfvdfvdfvdfvdfvvfdvsd.pptx
RoselinLourd
 
newmicrosoftpowerpointpresentation-210512111200.pdf
newmicrosoftpowerpointpresentation-210512111200.pdfnewmicrosoftpowerpointpresentation-210512111200.pdf
newmicrosoftpowerpointpresentation-210512111200.pdf
abhimanyurajjha002
 
Chapter 5 - Machine of it Learning (1).pdf
Chapter 5 - Machine of it Learning (1).pdfChapter 5 - Machine of it Learning (1).pdf
Chapter 5 - Machine of it Learning (1).pdf
naolseyum9
 
Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)
SwatiTripathi44
 
Easily apply Quality Assurance and Testing in the ML Project
Easily apply Quality Assurance and Testing in the ML ProjectEasily apply Quality Assurance and Testing in the ML Project
Easily apply Quality Assurance and Testing in the ML Project
NexSoftsys
 
Artificial Intelligence Approaches
Artificial Intelligence  ApproachesArtificial Intelligence  Approaches
Artificial Intelligence Approaches
Jincy Nelson
 
Chapter 5 - Machine which of Learning.pdf
Chapter 5 - Machine which  of Learning.pdfChapter 5 - Machine which  of Learning.pdf
Chapter 5 - Machine which of Learning.pdf
naolseyum9
 
Machine Learning SPPU Unit 1
Machine Learning SPPU Unit 1Machine Learning SPPU Unit 1
Machine Learning SPPU Unit 1
Amruta Aphale
 
Unit 1-ML (1) (1).pptx
Unit 1-ML (1) (1).pptxUnit 1-ML (1) (1).pptx
Unit 1-ML (1) (1).pptx
Chitrachitrap
 
Lecture: introduction to Machine Learning.ppt
Lecture: introduction to Machine Learning.pptLecture: introduction to Machine Learning.ppt
Lecture: introduction to Machine Learning.ppt
NiteshJha97
 
Lec 6 learning
Lec 6 learningLec 6 learning
Lec 6 learning
Eyob Seyfu
 
Machine learning introduction to unit 1.ppt
Machine learning introduction to unit 1.pptMachine learning introduction to unit 1.ppt
Machine learning introduction to unit 1.ppt
ShivaShiva783981
 
Introduction to ML.pdf Supervised Learning, Unsupervised
Introduction to ML.pdf Supervised Learning, UnsupervisedIntroduction to ML.pdf Supervised Learning, Unsupervised
Introduction to ML.pdf Supervised Learning, Unsupervised
ssuser2eeb6f
 
unit 1.2 supervised learning.pptx
unit 1.2 supervised learning.pptxunit 1.2 supervised learning.pptx
unit 1.2 supervised learning.pptx
Dr.Shweta
 
INTRODUCTION TO ML basics of ml that one should know
INTRODUCTION TO ML basics of ml that one should knowINTRODUCTION TO ML basics of ml that one should know
INTRODUCTION TO ML basics of ml that one should know
PriyanshuGupta285178
 
Session 17-18 machine learning very important and good type student favour.pptx
Session 17-18 machine learning very important and good type student favour.pptxSession 17-18 machine learning very important and good type student favour.pptx
Session 17-18 machine learning very important and good type student favour.pptx
devadattha
 
Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...
Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...
Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...
Maninda Edirisooriya
 
1.1 Machine Learning Introduction (session 1).pdf
1.1 Machine Learning Introduction (session 1).pdf1.1 Machine Learning Introduction (session 1).pdf
1.1 Machine Learning Introduction (session 1).pdf
DrMarwaElsherif
 
PAIML - UNIT 4dfvdfvdfvdfvdfvvfdvsd.pptx
PAIML - UNIT 4dfvdfvdfvdfvdfvvfdvsd.pptxPAIML - UNIT 4dfvdfvdfvdfvdfvvfdvsd.pptx
PAIML - UNIT 4dfvdfvdfvdfvdfvvfdvsd.pptx
RoselinLourd
 
newmicrosoftpowerpointpresentation-210512111200.pdf
newmicrosoftpowerpointpresentation-210512111200.pdfnewmicrosoftpowerpointpresentation-210512111200.pdf
newmicrosoftpowerpointpresentation-210512111200.pdf
abhimanyurajjha002
 
Chapter 5 - Machine of it Learning (1).pdf
Chapter 5 - Machine of it Learning (1).pdfChapter 5 - Machine of it Learning (1).pdf
Chapter 5 - Machine of it Learning (1).pdf
naolseyum9
 
Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)
SwatiTripathi44
 
Easily apply Quality Assurance and Testing in the ML Project
Easily apply Quality Assurance and Testing in the ML ProjectEasily apply Quality Assurance and Testing in the ML Project
Easily apply Quality Assurance and Testing in the ML Project
NexSoftsys
 
Artificial Intelligence Approaches
Artificial Intelligence  ApproachesArtificial Intelligence  Approaches
Artificial Intelligence Approaches
Jincy Nelson
 
Chapter 5 - Machine which of Learning.pdf
Chapter 5 - Machine which  of Learning.pdfChapter 5 - Machine which  of Learning.pdf
Chapter 5 - Machine which of Learning.pdf
naolseyum9
 
Ad

More from Laguna State Polytechnic University (20)

Number Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number TheoryNumber Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number Theory
Laguna State Polytechnic University
 
Formal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and QuantifiersFormal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and Quantifiers
Laguna State Polytechnic University
 
Artificial Intelligence Algorithms
Artificial Intelligence AlgorithmsArtificial Intelligence Algorithms
Artificial Intelligence Algorithms
Laguna State Polytechnic University
 
Formal Logic - Lesson 7 - Rules of Inference
Formal Logic - Lesson 7 - Rules of InferenceFormal Logic - Lesson 7 - Rules of Inference
Formal Logic - Lesson 7 - Rules of Inference
Laguna State Polytechnic University
 
Formal Logic - Lesson 6 - Switching Circuits
Formal Logic - Lesson 6 - Switching CircuitsFormal Logic - Lesson 6 - Switching Circuits
Formal Logic - Lesson 6 - Switching Circuits
Laguna State Polytechnic University
 
Formal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical EquivalenceFormal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical Equivalence
Laguna State Polytechnic University
 
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and ContingencyFormal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Laguna State Polytechnic University
 
Formal Logic - Lesson 3 - Truth Tables
Formal Logic - Lesson 3 - Truth TablesFormal Logic - Lesson 3 - Truth Tables
Formal Logic - Lesson 3 - Truth Tables
Laguna State Polytechnic University
 
Formal Logic - Lesson 2 - Logical Connectives
Formal Logic - Lesson 2 - Logical ConnectivesFormal Logic - Lesson 2 - Logical Connectives
Formal Logic - Lesson 2 - Logical Connectives
Laguna State Polytechnic University
 
Formal Logic - Lesson 1 - Introduction to Logic
Formal Logic - Lesson 1 - Introduction to LogicFormal Logic - Lesson 1 - Introduction to Logic
Formal Logic - Lesson 1 - Introduction to Logic
Laguna State Polytechnic University
 
Ethical Issues and Relevant Laws on Computing
Ethical Issues and Relevant Laws on ComputingEthical Issues and Relevant Laws on Computing
Ethical Issues and Relevant Laws on Computing
Laguna State Polytechnic University
 
Number Systems Basic Concepts
Number Systems Basic ConceptsNumber Systems Basic Concepts
Number Systems Basic Concepts
Laguna State Polytechnic University
 
Number Systems Basic Concepts
Number Systems Basic ConceptsNumber Systems Basic Concepts
Number Systems Basic Concepts
Laguna State Polytechnic University
 
Exploring the Difference Between Information Technology and Information System
Exploring the Difference Between Information Technology and Information SystemExploring the Difference Between Information Technology and Information System
Exploring the Difference Between Information Technology and Information System
Laguna State Polytechnic University
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Laguna State Polytechnic University
 
Introduction to Computers
Introduction to ComputersIntroduction to Computers
Introduction to Computers
Laguna State Polytechnic University
 
Introduction to Computing Logic Formulation
Introduction to Computing Logic FormulationIntroduction to Computing Logic Formulation
Introduction to Computing Logic Formulation
Laguna State Polytechnic University
 
Oasis of Sparkling and Refreshing Truisms
Oasis of Sparkling and Refreshing TruismsOasis of Sparkling and Refreshing Truisms
Oasis of Sparkling and Refreshing Truisms
Laguna State Polytechnic University
 
My Teacher Got IT v2.0 - Software Installation Track
My Teacher Got IT v2.0 - Software Installation TrackMy Teacher Got IT v2.0 - Software Installation Track
My Teacher Got IT v2.0 - Software Installation Track
Laguna State Polytechnic University
 
A Case Study on Issues and Violations on Information Technology
A Case Study on Issues and Violations on Information TechnologyA Case Study on Issues and Violations on Information Technology
A Case Study on Issues and Violations on Information Technology
Laguna State Polytechnic University
 
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and ContingencyFormal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Laguna State Polytechnic University
 
Exploring the Difference Between Information Technology and Information System
Exploring the Difference Between Information Technology and Information SystemExploring the Difference Between Information Technology and Information System
Exploring the Difference Between Information Technology and Information System
Laguna State Polytechnic University
 
Ad

Recently uploaded (20)

spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)
Mohamed Rizk Khodair
 
Link your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRMLink your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRM
Celine George
 
Lecture 2 CLASSIFICATION OF PHYLUM ARTHROPODA UPTO CLASSES & POSITION OF_1.pptx
Lecture 2 CLASSIFICATION OF PHYLUM ARTHROPODA UPTO CLASSES & POSITION OF_1.pptxLecture 2 CLASSIFICATION OF PHYLUM ARTHROPODA UPTO CLASSES & POSITION OF_1.pptx
Lecture 2 CLASSIFICATION OF PHYLUM ARTHROPODA UPTO CLASSES & POSITION OF_1.pptx
Arshad Shaikh
 
Ancient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian HistoryAncient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian History
Virag Sontakke
 
How to Add Customer Note in Odoo 18 POS - Odoo Slides
How to Add Customer Note in Odoo 18 POS - Odoo SlidesHow to Add Customer Note in Odoo 18 POS - Odoo Slides
How to Add Customer Note in Odoo 18 POS - Odoo Slides
Celine George
 
Exercise Physiology MCQS By DR. NASIR MUSTAFA
Exercise Physiology MCQS By DR. NASIR MUSTAFAExercise Physiology MCQS By DR. NASIR MUSTAFA
Exercise Physiology MCQS By DR. NASIR MUSTAFA
Dr. Nasir Mustafa
 
Lecture 1 Introduction history and institutes of entomology_1.pptx
Lecture 1 Introduction history and institutes of entomology_1.pptxLecture 1 Introduction history and institutes of entomology_1.pptx
Lecture 1 Introduction history and institutes of entomology_1.pptx
Arshad Shaikh
 
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
Celine George
 
APGAR SCORE BY sweety Tamanna Mahapatra MSc Pediatric
APGAR SCORE  BY sweety Tamanna Mahapatra MSc PediatricAPGAR SCORE  BY sweety Tamanna Mahapatra MSc Pediatric
APGAR SCORE BY sweety Tamanna Mahapatra MSc Pediatric
SweetytamannaMohapat
 
LDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDMMIA Reiki News Ed3 Vol1 For Team and GuestsLDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDM Mia eStudios
 
03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.
MCH
 
Junction Field Effect Transistors (JFET)
Junction Field Effect Transistors (JFET)Junction Field Effect Transistors (JFET)
Junction Field Effect Transistors (JFET)
GS Virdi
 
How to Manage Purchase Alternatives in Odoo 18
How to Manage Purchase Alternatives in Odoo 18How to Manage Purchase Alternatives in Odoo 18
How to Manage Purchase Alternatives in Odoo 18
Celine George
 
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living WorkshopLDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDM Mia eStudios
 
Rock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian HistoryRock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian History
Virag Sontakke
 
Form View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo SlidesForm View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo Slides
Celine George
 
Grade 3 - English - Printable Worksheet (PDF Format)
Grade 3 - English - Printable Worksheet  (PDF Format)Grade 3 - English - Printable Worksheet  (PDF Format)
Grade 3 - English - Printable Worksheet (PDF Format)
Sritoma Majumder
 
Drugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdfDrugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdf
crewot855
 
How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18
Celine George
 
Lecture 4 INSECT CUTICLE and moulting.pptx
Lecture 4 INSECT CUTICLE and moulting.pptxLecture 4 INSECT CUTICLE and moulting.pptx
Lecture 4 INSECT CUTICLE and moulting.pptx
Arshad Shaikh
 
spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)
Mohamed Rizk Khodair
 
Link your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRMLink your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRM
Celine George
 
Lecture 2 CLASSIFICATION OF PHYLUM ARTHROPODA UPTO CLASSES & POSITION OF_1.pptx
Lecture 2 CLASSIFICATION OF PHYLUM ARTHROPODA UPTO CLASSES & POSITION OF_1.pptxLecture 2 CLASSIFICATION OF PHYLUM ARTHROPODA UPTO CLASSES & POSITION OF_1.pptx
Lecture 2 CLASSIFICATION OF PHYLUM ARTHROPODA UPTO CLASSES & POSITION OF_1.pptx
Arshad Shaikh
 
Ancient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian HistoryAncient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian History
Virag Sontakke
 
How to Add Customer Note in Odoo 18 POS - Odoo Slides
How to Add Customer Note in Odoo 18 POS - Odoo SlidesHow to Add Customer Note in Odoo 18 POS - Odoo Slides
How to Add Customer Note in Odoo 18 POS - Odoo Slides
Celine George
 
Exercise Physiology MCQS By DR. NASIR MUSTAFA
Exercise Physiology MCQS By DR. NASIR MUSTAFAExercise Physiology MCQS By DR. NASIR MUSTAFA
Exercise Physiology MCQS By DR. NASIR MUSTAFA
Dr. Nasir Mustafa
 
Lecture 1 Introduction history and institutes of entomology_1.pptx
Lecture 1 Introduction history and institutes of entomology_1.pptxLecture 1 Introduction history and institutes of entomology_1.pptx
Lecture 1 Introduction history and institutes of entomology_1.pptx
Arshad Shaikh
 
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
Celine George
 
APGAR SCORE BY sweety Tamanna Mahapatra MSc Pediatric
APGAR SCORE  BY sweety Tamanna Mahapatra MSc PediatricAPGAR SCORE  BY sweety Tamanna Mahapatra MSc Pediatric
APGAR SCORE BY sweety Tamanna Mahapatra MSc Pediatric
SweetytamannaMohapat
 
LDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDMMIA Reiki News Ed3 Vol1 For Team and GuestsLDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDM Mia eStudios
 
03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.
MCH
 
Junction Field Effect Transistors (JFET)
Junction Field Effect Transistors (JFET)Junction Field Effect Transistors (JFET)
Junction Field Effect Transistors (JFET)
GS Virdi
 
How to Manage Purchase Alternatives in Odoo 18
How to Manage Purchase Alternatives in Odoo 18How to Manage Purchase Alternatives in Odoo 18
How to Manage Purchase Alternatives in Odoo 18
Celine George
 
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living WorkshopLDMMIA Reiki Yoga S5 Daily Living Workshop
LDMMIA Reiki Yoga S5 Daily Living Workshop
LDM Mia eStudios
 
Rock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian HistoryRock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian History
Virag Sontakke
 
Form View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo SlidesForm View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo Slides
Celine George
 
Grade 3 - English - Printable Worksheet (PDF Format)
Grade 3 - English - Printable Worksheet  (PDF Format)Grade 3 - English - Printable Worksheet  (PDF Format)
Grade 3 - English - Printable Worksheet (PDF Format)
Sritoma Majumder
 
Drugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdfDrugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdf
crewot855
 
How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18
Celine George
 
Lecture 4 INSECT CUTICLE and moulting.pptx
Lecture 4 INSECT CUTICLE and moulting.pptxLecture 4 INSECT CUTICLE and moulting.pptx
Lecture 4 INSECT CUTICLE and moulting.pptx
Arshad Shaikh
 

Machine Learning Algorithms (Part 1)

  • 2. DIFFERENTIATE ARTIFICIAL INTELLIGENCE, MACHINE LEARNING AND DEEP LEARNING 01 UNDERSTAND THE NEED FOR MACHINE LEARNING 02 ILLUSTRATE MACHINE LEARNING PROCESS 03
  • 3. UNDERSTAND THE TYPES OF MACHINE LEARNING 04 DETERMINE THE TYPE OF PROBLEMS SOLVED USING MACHINE LEARNING 05 PRACTICAL IMPLEMENTATION OF MACHINING LEARNING 06
  • 4. • It covers anything which enables the computers to behave like humans. • It deals with the extraction of patterns from a large data sets. • It deals to train Deep Neural Networks so as to achieve better accuracy in those cases where former was not performing up to the mark.
  • 5. •2.5 quintillion bytes of data every single day •Estimated by 2020, 1.7MB of data will be created every second for every person on earth. •predictive models that can study and analyze complex data Source: Google Images •Netflix and Amazon
  • 7. Netflix’s Recommendation Engine Facebook’s Auto-tagging feature Amazon’s Alexa Google’s Spam Filter
  • 8. Task: How will you choose the best mangoes?
  • 9. Experience 1: You were informed that bright and yellow mangoes are sweeter than pale and yellow ones. So you make a simple rule: pick only from the bright yellow mangoes. You check the colour of the mangoes, pick the bright yellow ones, pay up, and return home. Right? Learning 1: Bright yellow mangoes are sweeter than pale yellow ones
  • 10. Experience 2: Now when you went home and tasted the mangoes, some of them were not sweet as you thought. You are worried as your wisdom was insufficient. You concluded that when it comes shopping mangoes, you have to look for more than just the colors. After a lot of pondering and tasting different types of mangoes,
  • 11. Experience 2: you concluded that the bigger and bright yellow mangoes are guaranteed to be sweet, while the smaller, bright yellow mangoes are sweet only half the time (i.e. if you bought 100 bright yellow mangoes (50 will be big in size and rest 50 will be small), then the 50 big mangoes will all be sweet, while out of the 50 small ones, only 25 mangoes will turn out to be sweet). You will then update your rule about the mango shopping and from next time you will keep this in mind.
  • 12. Experience 2: you concluded that the bigger and bright yellow mangoes are guaranteed to be sweet, while the smaller, bright yellow mangoes are sweet only half the time (i.e. if you bought 100 bright yellow mangoes (50 will be big in size and rest 50 will be small), then the 50 big mangoes will all be sweet, while out of the 50 small ones, only 25 mangoes will turn out to be sweet). You will then update your rule about the mango shopping and from next time you will keep this in mind.
  • 13. Learning 2: The smaller and bright yellow mangoes are sweet only half the time.
  • 14. Experience 3: Tragedy: Next time at the market, you see that your favorite vendor has gone out of town. You decide to buy from a different vendor, who supplies mangoes grown from a different part of the country. Now, you realize that the rule which you had learnt (that big, bright yellow mangoes are the sweetest) is no longer applicable. You have to learn from scratch. You taste a mango of each kind from this vendor and realize that the small, pale yellow ones are in fact the sweetest of all. Learning 3: Small, pale yellow ones are the sweetest of all.
  • 15. Experience 4: One day your cousin visits you from another city. You decide to treat her with mangoes. But she is like “I don’t care about the sweetness of a mango, I only want the juiciest ones”. Now once again, you run your experiments, tasting all kinds of mangoes, and realizing that the softer ones are juicier. Learning 4: Soft mangoes are juicier
  • 16. Experience 5: Later on, you move to a different part of the world and you found that the mangoes here taste surprisingly different from your home country. You realized that for this country the green mangoes are tastier than the yellow ones. Learning 5: Green mangoes are tastier than yellow one
  • 17. Experience 6: You marry someone who hates mangoes but loves oranges instead. Now you go for shopping oranges instead of mangoes. Now, all your accumulated knowledge about mangoes is worthless. Now you have to learn everything about the correlation between the physical characteristics and the taste of apples, by the same method of experimentation. Learning 6: You don’t need mangoes anymore
  • 18. What if you have to write a code for it?
  • 19. if is bright yellow and size is big and sold by: mango is sweet. if (soft): mango is juicy
  • 21. But every time you make a new observation from your experiments, you have to modify the list of rules manually.
  • 22. Task: How will you choose the best apple?
  • 23. This is where Machine Learning comes into the picture
  • 24. “Machine Learning is a concept which allows the machine to learn from examples and experience, and that too without being explicitly programmed. So instead of you writing the code, what you do is you feed data to the generic algorithm, and the algorithm/machine builds the logic based on the given data.”
  • 25. • an American pioneer in the field of computer gaming and artificial intelligence Arthur Lee Samuel • popularized the term "machine learning" in 1959
  • 27. Model: A model is the main component of Machine Learning. A model is trained by using a Machine Learning Algorithm. An algorithm maps all the decisions that a model is supposed to take based on the given input, in order to get the correct output. Predictor Variable: It is a feature(s) of the data that can be used to predict the output. Response Variable: It is the feature or the output variable that needs to be predicted by using the predictor variable(s).
  • 28. Training Data: The Machine Learning model is built using the training data. The training data helps the model to identify key trends and patterns essential to predict the output. Testing Data: After the model is trained, it must be tested to evaluate how accurately it can predict an outcome. This is done by the testing data set.
  • 31. Step 1: Define the objective of the Problem Statement • At this step, we must understand what exactly needs to be predicted. • In our case, the objective is to predict the possibility of rain by studying weather conditions. • At this stage, it is also essential to take mental notes on what kind of data can be used to solve this problem or the type of approach you must follow to get to the solution.
  • 32. Step 2: Data Gathering • What kind of data is needed to solve this problem? • Is the data available? • How can I get the data?
  • 33. Step 4: Exploratory Data Analysis • Grab your detective glasses because this stage is all about diving deep into data and finding all the hidden data mysteries. EDA or Exploratory Data Analysis is the brainstorming stage of Machine Learning. • Data Exploration involves understanding the patterns and trends in the data. • At this stage, all the useful insights are drawn and correlations between the variables are understood.
  • 34. Step 5: Building a Machine Learning Model • All the insights and patterns derived during Data Exploration are used to build the Machine Learning Model. • This stage always begins by splitting the data set into two parts, training data, and testing data. • The training data will be used to build and analyze the model. • The logic of the model is based on the Machine Learning Algorithm that is being implemented.
  • 35. Step 6: Model Evaluation & Optimization • After building a model by using the training data set, it is finally time to put the model to a test. • The testing data set is used to check the efficiency of the model and how accurately it can predict the outcome. • Once the accuracy is calculated, any further improvements in the model can be implemented at this stage. • Methods like parameter tuning and cross-validation can be used to improve the performance of the model.
  • 36. Step 7: Predictions • Once the model is evaluated and improved, it is finally used to make predictions. • The final output can be a Categorical variable (eg. True or False) or it can be a Continuous Quantity (eg. the predicted value of a stock).
  • 37. 1. Supervised Learning 2. Unsupervised Learning 3. Reinforcement Learning
  • 38. • a technique in which we teach or train the machine using data which is well labeled.
  • 40. • Y = f(X) • every instance of the training dataset consists of input attributes and expected output
  • 41. • The training dataset can take any kind of data as an input like values of a database row, the pixels of an image, or even an audio frequency histogram.
  • 43. • involves training by using unlabeled data and allowing the model to act on that information without guidance
  • 45. • input data (X) and no corresponding output variables • to model the underlying structure or distribution in the data in order to learn more about the data.
  • 46. • dataset does not have an expected • can detect patterns based on the typical characteristics of the input data • Clustering
  • 48. • a part of Machine learning where an agent is put in an environment and he learns to behave in this environment by performing certain actions and observing the rewards which it gets from those actions
  • 49. • hit and trial method of learning • all about the interaction between the environment and the learning agent • exploration and exploitation