ArticleslgStudy

computer science

Neural network (machine learning)

Neural network (machine learning) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Neural network (machine learning) rather than just read about it. In short: In machine learning, a neural network (NN) or neural net, is a computational model inspired by the structure and functions of biological neural networks. A neural network consists of connected units or nodes called artificial neurons, which loosely model the neurons in the brain.

Neural network (machine learning) — main illustration
Neural network (machine learning) — illustration

Key takeaways

  • Neural network (machine learning) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Neural network (machine learning) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Neural network (machine learning) from memory before moving on to harder problems.

Reference excerpt

In machine learning, a neural network (NN) or neural net, is a computational model inspired by the structure and functions of biological neural networks. A neural network consists of connected units or nodes called artificial neurons, which loosely model the neurons in the brain. These are connected by edges, which model the synapses in the brain. Each artificial neuron receives signals from connected neurons, then processes them and sends a signal to other connected neurons. The "signal" is a real number, and the output of each neuron is computed by some non-linear function of the totality of its inputs, called the activation function. The strength of the signal at each connection is determined by a weight, which adjusts as part of the training process. Groups of neurons are aggregated into layers. Each layer performs a transformation on its inputs. Signals travel from the first layer (the input layer) to the last layer (the output layer), typically passing through multiple intermediate layers (hidden layers). A network is typically called a deep neural network if it has at least two hidden layers. Deep neural networks are capable of learning sophisticated hierarchical representations. Training neural networks is a compute-intensive process, accelerated by the use of graphics processing units (GPUs), and large datasets.

In reality, such textures and outlines would not be represented by single nodes, but rather by associated weight patterns of multiple nodes. Architectural innovations such as convolutional neural networks (CNNs) significantly improved performance in computer vision tasks, while recurrent neural networks (RNNs) enabled modeling of sequential data such as speech and time-series information. Transformer architectures introduced attention mechanisms that allow neural networks to model long-range dependencies in data and have been the basis of large language models. Artificial neural networks are used for a myriad of tasks including chatbots, large-scale text, image, and video generation, and robotics.

History

Mathematical foundations Deep neural networks are based on statistics developed over 200 years ago. The simplest kind of feedforward neural network (FNN) is a linear network, which consists of a single layer of output nodes with linear activation functions; the inputs are fed directly to the outputs via weights. The sum of the products of the weights and the inputs is calculated at each node. The mean squared errors between these calculated outputs and the given target values are minimized by adjusting to the weights. This technique is the method of least squares or linear regression. It was used to find a rough linear fit to a set of points by Legendre (1805) and Gauss (1795) for the prediction of planetary movement.

Perceptrons Computers are based on John von Neumann's model. They execute explicit lists of instructions with access to memory to record their changing state. Neural networks instead originated from efforts to model information processing in biological systems via connectionism. Unlike the von Neumann model, connectionist computing does not separate memory and processing. Warren McCulloch and Walter Pitts (1943) considered a non-learning computational model for neural networks. This model paved the way for research to split into one branch focused on biological processes and another focused on artificial intelligence. McCulloch and Pitts also developed mathematical models of artificial neurons capable of representing logical functions. In the late 1940s, D. O. Hebb proposed a learning hypothesis based on neural plasticity that became known as Hebbian learning. It was used in many early neural network experiments, such as Rosenblatt's perceptron and the Hopfield network. Farley and Clark (1954) used computational machines to simulate a Hebbian network. Other neural networks computational machines were created by Rochester, Holland, Habit and Duda (1956). In 1958, psychologist Frank Rosenblatt described the perceptron, one of the first implemented neural networks, funded by the United States Office of Naval Research. R. D. Joseph (1960) mentioned an earlier perceptron-like device by B. G. Farley and W. A. Clark of the MIT Lincoln Laboratory; however, according to Joseph, "they dropped the subject." The first perceptrons did not have adaptive hidden units. However, Joseph (1960) discussed multilayer that did. Rosenblatt (1962) cited and adopted these ideas, crediting work by H. D. Block and B. W. Knight. However, these early efforts did not lead to a working learning algorithm for hidden units, i.e., deep learning. The perceptron raised public excitement in neural networks, causing the US government to drastically increase funding. This contributed to "the Golden Age of AI", fueled by the optimistic claims made by computer scientists regarding the ability of perceptrons to emulate human intelligence.

Historical foundations and the Dartmouth proposal Artificial neural networks were identified as a promising direction for artificial intelligence research in the 1955 proposal for the Dartmouth Summer Research Project on Artificial Intelligence. Neural network models initially faced major limitations. Hardware constraints limited network size and training efficiency, while theoretical understanding of learning algorithms remained incomplete. Many models used single-layer perceptrons, which were restricted to solving linearly separable problems. These limitations were highlighted in the book Perceptrons by Marvin Minsky and Seymour Papert, which deflated interest during the late 1960s and 1970s.

… excerpt ends here. Continue reading the full article.

Illustrations

Neural network (machine learning): A neural network is an interconnected group of nodes, inspired by a simplification of neurons in a brain. Here, each blue/green circular node in the hidden and output layers represents an artificial neuron and each red circular node in the far left layer represents an input data value. An arrow represents a connection from the output of one neuron (or data node) to the input of another.
A neural network is an interconnected group of nodes, inspired by a simplification of neurons in a brain. Here, each blue/green circular node in the hidden and output layers represents an artificial neuron and each red circular node in the far left layer represents an input data value. An arrow represents a connection from the output of one neuron (or data node) to the input of another.
Neural network (machine learning) illustration
Neural network (machine learning) illustration
Neural network (machine learning) illustration
Neural network (machine learning): Neuron and myelinated axon, with signal flow from inputs at dendrites to outputs at axon terminals
Neuron and myelinated axon, with signal flow from inputs at dendrites to outputs at axon terminals

Worked examples

Example 1 — a first encounter with Neural network (machine learning)

Start with the simplest possible case. Write down what Neural network (machine learning) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Neural network (machine learning) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Neural network (machine learning) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Neural network (machine learning)

In research
Neural network (machine learning) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Neural network (machine learning) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Neural network (machine learning) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Artificial neural networks, Bioinspiration, Classification algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for Neural network (machine learning) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Neural network (machine learning) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Neural network (machine learning) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Neural network (machine learning) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Neural network (machine learning) in simple terms?

In machine learning, a neural network (NN) or neural net, is a computational model inspired by the structure and functions of biological neural networks. A neural network consists of connected units or nodes called artificial neurons, which loosely model the neurons in the brain.

Why does Neural network (machine learning) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Neural network (machine learning)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Neural network (machine learning).

Tags

  • Artificial neural networks
  • Bioinspiration
  • Classification algorithms
  • Computational neuroscience
  • Computational statistics
  • Market research
  • Mathematical and quantitative methods (economics)
  • Mathematical psychology

Keep exploring