A Beginner’s Guide to Neural Networks (Deep Learning)

Charlie Bickerton Charlie Bickerton
September 11, 2018 AI & Machine Learning

Ready to learn Artificial Intelligence? Browse courses like  Uncertain Knowledge and Reasoning in Artificial Intelligence developed by industry thought leaders and Experfy in Harvard Innovation Lab.

Neural networks are a ground breaking technology that never cease to amaze me. Like machine learning in general, they are becoming more and more integrated into our lives without many of us realising. They can be wildly complex and it is very difficult to understand how they come to decisions. As the name suggests the inspiration behind their design comes from something we all own and use everyday; the brain.

Neurons are the building blocks of the brain and when studied individually they are not very complex. Two neurons are connected by a synapse and electrical impulses travel from one neuron through the synapse to the other neuron. If the electrical impulse is of a certain strength then the synapse fires, sending the electrical impulse onto the next neuron.

Perceptron

Artificial neural networks work in a very similar manner. The image on the left shows the most simple NN, a single layer NN, named the perceptron. It shows a node (y) with inputs (x1, x2, x3) going into it. Each input has a weight (w1, w2, w3). The node y takes each input and multiplies its value by it’s weight. This weighting generates one of the most powerful features of a NN, valuing inputs at different levels by using different strength weights. Let’s use an example to understand this with more clarity. Let’s say that the NN is going to predict if me and a friend will play tennis this evening. The inputs to the node could be:

  1. Is my friend available? Yes or no
  2. Is the weather forecast to be sunny this evening? Yes or no
  3. Is the court available? Yes or no

If the answer to all three of these questions is yes then the outcome will be “Yes, let’s play tennis!” Each input is given a weight based off it’s importance. In this example clearly the friend and court being available are very important inputs, with either of these answers being no, my friend and I will not play tennis so these weights will be very high. Is the weather forecast to be sunny is less important, as we still might play tennis if it is overcast or even drizzling.

The NN needs yes and no’s in mathematical form, so the NN inputs are given as yes being 1, and 0 being no. Each input is passed to the node, y, by multiplying its value by its weight. The node then adds all the values together. If the total is above a certain threshold then a yes will be returned. If the total is below then it will return a no. This is it’s decision!

A NN is trained over lots of different examples where the inputs and result are provided. This allows the network to learn its weights to provide an overall model with the best possible accuracy. For example if I trained a NN on the answers to those three questions and if my friend and I played tennis everyday of the past year, it will learn to predict if we will play to a high accuracy. This is a very basic example and there are lots of features to NN’s that I haven’t discussed such as hidden layers and backpropagation. Stay tuned for more articles diving further into the workings of neural networks.

  • Experfy Insights

    Top articles, research, podcasts, webinars and more delivered to you monthly.

  • Charlie Bickerton

    Tags
    Artificial Intelligence
    Leave a Comment
    Next Post
    Logistical challenges and blockchain solutions

    Logistical challenges and blockchain solutions

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    More in AI & Machine Learning
    AI & Machine Learning,Future of Work
    AI’s Role in the Future of Work

    Artificial intelligence is shaping the future of work around the world in virtually every field. The role AI will play in employment in the years ahead is dynamic and collaborative. Rather than eliminating jobs altogether, AI will augment the capabilities and resources of employees and businesses, allowing them to do more with less. In more

    5 MINUTES READ Continue Reading »
    AI & Machine Learning
    How Can AI Help Improve Legal Services Delivery?

    Everybody is discussing Artificial Intelligence (AI) and machine learning, and some legal professionals are already leveraging these technological capabilities.  AI is not the future expectation; it is the present reality.  Aside from law, AI is widely used in various fields such as transportation and manufacturing, education, employment, defense, health care, business intelligence, robotics, and so

    5 MINUTES READ Continue Reading »
    AI & Machine Learning
    5 AI Applications Changing the Energy Industry

    The energy industry faces some significant challenges, but AI applications could help. Increasing demand, population expansion, and climate change necessitate creative solutions that could fundamentally alter how businesses generate and utilize electricity. Industry researchers looking for ways to solve these problems have turned to data and new data-processing technology. Artificial intelligence, in particular — and

    3 MINUTES READ Continue Reading »

    About Us

    Incubated in Harvard Innovation Lab, Experfy specializes in pipelining and deploying the world's best AI and engineering talent at breakneck speed, with exceptional focus on quality and compliance. Enterprises and governments also leverage our award-winning SaaS platform to build their own customized future of work solutions such as talent clouds.

    Join Us At

    Contact Us

    1700 West Park Drive, Suite 190
    Westborough, MA 01581

    Email: support@experfy.com

    Toll Free: (844) EXPERFY or
    (844) 397-3739

    © 2023, Experfy Inc. All rights reserved.