SlideShare a Scribd company logo
1 of 14
Download to read offline
Machine Learning
Neural Networks
Understanding neural networks
An Artificial Neural Network (ANN) models the relationship between a set
of input signals and an output signal using a model derived from our
understanding of how a biological brain responds to stimuli from sensory
inputs. Just as a brain uses a network of interconnected cells called
neurons to create a massive parallel processor, ANN uses a network of
artificial neurons or nodes to solve learning problems
The human brain is made up of about 85 billion neurons, resulting in a
network capable of representing a tremendous amount of
knowledge
For instance, a cat has roughly a billion neurons, a mouse has about 75
million neurons, and a cockroach has only about a million neurons. In
contrast, many ANNs contain far fewer neurons, typically only several
hundred, so we're in no danger of creating an artificial brain anytime in
the near future
Biological to artificial neurons
Incoming signals are received by the cell's dendrites through a biochemical process.
The process allows the impulse to be weighted according to its relative importance or
frequency. As the cell body begins accumulating the incoming signals, a threshold is
reached at which the cell fires and the output signal is transmitted via an
electrochemical process down the axon. At the axon's terminals, the electric signal is
again processed as a chemical signal to be passed to the neighbouring neurons.
This directed network diagram defines a
relationship between the input signals
received by the dendrites (x variables),
and the output signal (y variable). Just as
with the biological neuron, each
dendrite's signal is weighted (w values)
according to its importance. The input
signals are summed by the cell body and
the signal is passed on according to an
activation function denoted by f
A typical artificial neuron with n input dendrites
can be represented by the formula that follows.
The w weights allow each of the n inputs (denoted
by xi) to contribute a greater or lesser amount to
the sum of input signals. The net total is used by the
activation function f(x), and the resulting signal,
y(x), is the output axon
In biological sense, the activation function could be imagined as a process
that involves summing the total input signal and determining whether it meets
the firing threshold. If so, the neuron passes on the signal; otherwise, it does
nothing. In ANN terms, this is known as a threshold activation function, as it
results in an output signal only once a specified input threshold has been
attained
The following figure depicts a typical threshold function; in this
case, the neuron fires when the sum of input signals is at least
zero. Because its shape resembles a stair, it is sometimes called a
unit step activation function
Network topology
The ability of a neural network to learn is rooted in its topology, or
the patterns and structures of interconnected neurons
key characteristics
• The number of layers
• Whether information in the network is allowed to travel backward
• The number of nodes within each layer of the network
Number of layers
The input and output nodes are arranged in groups known as layers
Input nodes process the incoming data exactly as it is received,
the network has only one set of connection weights (labeled here
as w1, w2, and w3). It is therefore termed a single-layer network
Support Vector Machines
A Support Vector Machine (SVM) can be imagined as a surface that
creates a boundary between points of data plotted in multidimensional
that represent examples and their feature values
The goal of a SVM is to create a flat boundary called a hyperplane, which
divides the space to create fairly homogeneous partitions on either side
SVMs can be adapted for use with nearly any type of learning task,
including both classification and numeric prediction
Classification with hyper planes
For example, the following figure depicts hyperplanes that separate
groups of circles and squares in two and three dimensions. Because
the circles and squares can be separated perfectly by the straight line
or flat surface, they are said to be linearly separable
Which is the “best” Fit!
In two dimensions, the task of the SVM algorithm is to identify a line that
separates the two classes. As shown in the following figure, there is more
than one choice of dividing line between the groups of circles and
squares. How does the algorithm choose
Using kernels for non-linear spaces
A key feature of SVMs is their ability to map the problem into a higher
dimension space using a process known as the kernel trick. In doing so,
a nonlinear relationship may suddenly appear to be quite linear.
After the kernel trick has been applied, we look at the data
through the lens of a new dimension: altitude. With the
addition of this feature, the classes are now perfectly
linearly separable
Thank you

More Related Content

Similar to Machine learning

Similar to Machine learning (17)

data science course
data science coursedata science course
data science course
 
machine learning training in bangalore
machine learning training in bangalore machine learning training in bangalore
machine learning training in bangalore
 
data science course in pune
data science course in punedata science course in pune
data science course in pune
 
Data science certification in mumbai
Data science certification in mumbaiData science certification in mumbai
Data science certification in mumbai
 
Data science training in mumbai
Data science training in mumbaiData science training in mumbai
Data science training in mumbai
 
Data science courses in bangalore
Data science courses in bangaloreData science courses in bangalore
Data science courses in bangalore
 
Data science course
Data science courseData science course
Data science course
 
Data science certification in pune
Data science certification in puneData science certification in pune
Data science certification in pune
 
Data science certification course
Data science certification courseData science certification course
Data science certification course
 
Data science certification in bangalore
Data science certification in bangaloreData science certification in bangalore
Data science certification in bangalore
 
Data science certification
Data science certificationData science certification
Data science certification
 
Machine learning
Machine learning Machine learning
Machine learning
 
Best data science courses
Best data science coursesBest data science courses
Best data science courses
 
Data science institute in kolkata
Data science institute in kolkataData science institute in kolkata
Data science institute in kolkata
 
Python data science course
Python data science coursePython data science course
Python data science course
 
Best data science course in pune. converted
Best data science course in pune. convertedBest data science course in pune. converted
Best data science course in pune. converted
 
19_Learning.ppt
19_Learning.ppt19_Learning.ppt
19_Learning.ppt
 

More from krishna1132

More from krishna1132 (7)

Pmp hyd
Pmp hydPmp hyd
Pmp hyd
 
data science training in hyderabad
data science training in hyderabad data science training in hyderabad
data science training in hyderabad
 
artificial intelligence training
artificial intelligence training artificial intelligence training
artificial intelligence training
 
pmi agile certified practitioner course
pmi agile certified practitioner coursepmi agile certified practitioner course
pmi agile certified practitioner course
 
pmi agile certified practitioner course
pmi agile certified practitioner coursepmi agile certified practitioner course
pmi agile certified practitioner course
 
pmp certification in gurgaon
pmp certification in gurgaonpmp certification in gurgaon
pmp certification in gurgaon
 
data science course in pune
data science course in punedata science course in pune
data science course in pune
 

Recently uploaded

Recently uploaded (20)

Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 

Machine learning

  • 3. Understanding neural networks An Artificial Neural Network (ANN) models the relationship between a set of input signals and an output signal using a model derived from our understanding of how a biological brain responds to stimuli from sensory inputs. Just as a brain uses a network of interconnected cells called neurons to create a massive parallel processor, ANN uses a network of artificial neurons or nodes to solve learning problems The human brain is made up of about 85 billion neurons, resulting in a network capable of representing a tremendous amount of knowledge For instance, a cat has roughly a billion neurons, a mouse has about 75 million neurons, and a cockroach has only about a million neurons. In contrast, many ANNs contain far fewer neurons, typically only several hundred, so we're in no danger of creating an artificial brain anytime in the near future
  • 4. Biological to artificial neurons Incoming signals are received by the cell's dendrites through a biochemical process. The process allows the impulse to be weighted according to its relative importance or frequency. As the cell body begins accumulating the incoming signals, a threshold is reached at which the cell fires and the output signal is transmitted via an electrochemical process down the axon. At the axon's terminals, the electric signal is again processed as a chemical signal to be passed to the neighbouring neurons.
  • 5. This directed network diagram defines a relationship between the input signals received by the dendrites (x variables), and the output signal (y variable). Just as with the biological neuron, each dendrite's signal is weighted (w values) according to its importance. The input signals are summed by the cell body and the signal is passed on according to an activation function denoted by f A typical artificial neuron with n input dendrites can be represented by the formula that follows. The w weights allow each of the n inputs (denoted by xi) to contribute a greater or lesser amount to the sum of input signals. The net total is used by the activation function f(x), and the resulting signal, y(x), is the output axon
  • 6. In biological sense, the activation function could be imagined as a process that involves summing the total input signal and determining whether it meets the firing threshold. If so, the neuron passes on the signal; otherwise, it does nothing. In ANN terms, this is known as a threshold activation function, as it results in an output signal only once a specified input threshold has been attained The following figure depicts a typical threshold function; in this case, the neuron fires when the sum of input signals is at least zero. Because its shape resembles a stair, it is sometimes called a unit step activation function
  • 7. Network topology The ability of a neural network to learn is rooted in its topology, or the patterns and structures of interconnected neurons key characteristics • The number of layers • Whether information in the network is allowed to travel backward • The number of nodes within each layer of the network
  • 8. Number of layers The input and output nodes are arranged in groups known as layers Input nodes process the incoming data exactly as it is received, the network has only one set of connection weights (labeled here as w1, w2, and w3). It is therefore termed a single-layer network
  • 10. A Support Vector Machine (SVM) can be imagined as a surface that creates a boundary between points of data plotted in multidimensional that represent examples and their feature values The goal of a SVM is to create a flat boundary called a hyperplane, which divides the space to create fairly homogeneous partitions on either side SVMs can be adapted for use with nearly any type of learning task, including both classification and numeric prediction
  • 11. Classification with hyper planes For example, the following figure depicts hyperplanes that separate groups of circles and squares in two and three dimensions. Because the circles and squares can be separated perfectly by the straight line or flat surface, they are said to be linearly separable
  • 12. Which is the “best” Fit! In two dimensions, the task of the SVM algorithm is to identify a line that separates the two classes. As shown in the following figure, there is more than one choice of dividing line between the groups of circles and squares. How does the algorithm choose
  • 13. Using kernels for non-linear spaces A key feature of SVMs is their ability to map the problem into a higher dimension space using a process known as the kernel trick. In doing so, a nonlinear relationship may suddenly appear to be quite linear. After the kernel trick has been applied, we look at the data through the lens of a new dimension: altitude. With the addition of this feature, the classes are now perfectly linearly separable