SlideShare a Scribd company logo
1. To convert the input into something that the network can
process, we normalise the size of the input and convert it to an
array of pixels (here a 10 x 13 array).
HIDDEN
                           LAYER

           INPUT
                                           OUTPUT
           LAYER
                                            LAYER

  1



  -1
             …




                                              …
  -1
                              …




2. Inputs are sent into the network, possibly ‘1’ for a dark
pixel and ‘-1’ for a light pixel.
HIDDEN
                          LAYER

           INPUT
                                         OUTPUT
           LAYER
                                          LAYER

  1          1


 -1          -1
            …




                                           …
 -1          -1
                            …




3. Each node in the hidden layer evaluates a weighted sum
of its inputs, and determines its state. We will demonstrate
this for 1 node.
HIDDEN
                                LAYER

                INPUT
                                                OUTPUT
                LAYER
                                                 LAYER

       1          1


      -1          -1
                  …




                                                  …
       -1         -1
                                     …




4. Let this hidden node be j, and nodes connecting to it be i. We find

                                     w ij x j
                             all i
HIDDEN
                                      LAYER

                         INPUT
                                                OUTPUT
                         LAYER   .4              LAYER

                   1             .2
                           1

                                 .7
               -1          -1
                          …




                                                  …
               -1          -1
                                       …



 There are 26 input nodes; suppose we determine that

        w ij x j       (0.4 1) (0.2        1) ... (0.7   1)   0.3
all i
HIDDEN
                                    LAYER

                    INPUT
                                                    OUTPUT
                    LAYER     .4                     LAYER

            1                 .2
                       1

                              .7
           -1         -1
                      …




                                                      …
           -1         -1
                                       …



5. We then decide based on this sum how to determine the state of this node.
A possible rule would be that if the sum is nonnegative, the state should be
1 (the neuron fires), and if it is negative, the state should be -1 (it doesn’t).
HIDDEN
                                   LAYER

                   INPUT              -1
                                                     OUTPUT
                   LAYER     .4                       LAYER

          1                  .2
                      1

                             .7
          -1         -1
                     …




                                                       …
          -1         -1
                                      …



Thus, as –0.3 < 0, this node’s state is set to –1.
HIDDEN
                                  LAYER

                   INPUT            -1
                                                 OUTPUT
                   LAYER
                                                  LAYER

          1          1               1



         -1         -1               1
                    …




                                                   …
                                    -1
         -1         -1
                                    …
                                    -1

6. We repeat this process for every other node in the hidden layer.
HIDDEN
                                        LAYER

                           INPUT           -1
                                                         OUTPUT
                           LAYER                      .3 LAYER

                  1                        1     .4
                             1                             1      1
                                                 .4

                 -1         -1             1     .1
                            …




                                                          …
                                                 .2
                                           -1
                 -1         -1
                                          …
                                           -1

7. With all of the states in the hidden layer computed, we begin to compute
the states of the output layer in the same way. Here, suppose
           w ij x j   0.2 0, so we set the node's state to 1.
   all i
HIDDEN
                                 LAYER

                  INPUT             -1
                                                OUTPUT
                  LAYER
                                                 LAYER

          1         1               1              1         1


         -1         -1              1              -1        -1
                    …




                                                   …
                                    -1
         -1         -1                             -1        -1
                                    …
                                    -1

8. Repeat for every node in the output layer. We now have our set of outputs.
Each node in the output layer would correspond to 1 digit.
HIDDEN




                                                                     1
                                   LAYER

                   INPUT             -1
                                                  OUTPUT
                   LAYER
                                                   LAYER

          1          1                1               1         1


         -1          -1               1              -1         -1
                     …




                                                     …
                                     -1
         -1          -1                              -1         -1
                                     …
                                     -1

9. Hopefully, we have only one output node firing; this means that the
network has identified the input to be the digit corresponding to that output.
If none / more than one fire, the network has not successfully determined
what digit was input.

More Related Content

Featured

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Neural Network Classification-Explanation

  • 1. 1. To convert the input into something that the network can process, we normalise the size of the input and convert it to an array of pixels (here a 10 x 13 array).
  • 2. HIDDEN LAYER INPUT OUTPUT LAYER LAYER 1 -1 … … -1 … 2. Inputs are sent into the network, possibly ‘1’ for a dark pixel and ‘-1’ for a light pixel.
  • 3. HIDDEN LAYER INPUT OUTPUT LAYER LAYER 1 1 -1 -1 … … -1 -1 … 3. Each node in the hidden layer evaluates a weighted sum of its inputs, and determines its state. We will demonstrate this for 1 node.
  • 4. HIDDEN LAYER INPUT OUTPUT LAYER LAYER 1 1 -1 -1 … … -1 -1 … 4. Let this hidden node be j, and nodes connecting to it be i. We find w ij x j all i
  • 5. HIDDEN LAYER INPUT OUTPUT LAYER .4 LAYER 1 .2 1 .7 -1 -1 … … -1 -1 … There are 26 input nodes; suppose we determine that w ij x j (0.4 1) (0.2 1) ... (0.7 1) 0.3 all i
  • 6. HIDDEN LAYER INPUT OUTPUT LAYER .4 LAYER 1 .2 1 .7 -1 -1 … … -1 -1 … 5. We then decide based on this sum how to determine the state of this node. A possible rule would be that if the sum is nonnegative, the state should be 1 (the neuron fires), and if it is negative, the state should be -1 (it doesn’t).
  • 7. HIDDEN LAYER INPUT -1 OUTPUT LAYER .4 LAYER 1 .2 1 .7 -1 -1 … … -1 -1 … Thus, as –0.3 < 0, this node’s state is set to –1.
  • 8. HIDDEN LAYER INPUT -1 OUTPUT LAYER LAYER 1 1 1 -1 -1 1 … … -1 -1 -1 … -1 6. We repeat this process for every other node in the hidden layer.
  • 9. HIDDEN LAYER INPUT -1 OUTPUT LAYER .3 LAYER 1 1 .4 1 1 1 .4 -1 -1 1 .1 … … .2 -1 -1 -1 … -1 7. With all of the states in the hidden layer computed, we begin to compute the states of the output layer in the same way. Here, suppose w ij x j 0.2 0, so we set the node's state to 1. all i
  • 10. HIDDEN LAYER INPUT -1 OUTPUT LAYER LAYER 1 1 1 1 1 -1 -1 1 -1 -1 … … -1 -1 -1 -1 -1 … -1 8. Repeat for every node in the output layer. We now have our set of outputs. Each node in the output layer would correspond to 1 digit.
  • 11. HIDDEN 1 LAYER INPUT -1 OUTPUT LAYER LAYER 1 1 1 1 1 -1 -1 1 -1 -1 … … -1 -1 -1 -1 -1 … -1 9. Hopefully, we have only one output node firing; this means that the network has identified the input to be the digit corresponding to that output. If none / more than one fire, the network has not successfully determined what digit was input.