Neural Network

What Is a Neural Network?

A neural network (also called an artificial neural network or ANN) is an adaptive system that learns by using interconnected nodes or neurons in a layered structure that resembles a human brain. A neural network can learn from data, so it can be trained to recognize patterns, classify data, and forecast future events. A neural network breaks down the input into layers of abstraction. It can be trained using many examples to recognize patterns in speech or images just as the human brain does. The neural network behavior is defined by the way its individual elements are connected and by the strength, or weights, of those connections. These weights are automatically adjusted during training according to a specified learning rule until the artificial neural network performs the desired task correctly.

Neural Network FAQs

A neural network is an adaptive system that learns by using interconnected nodes or neurons in a layered structure that resembles a human brain. It can be trained to recognize patterns, classify data, and forecast future events by breaking down input into layers of abstraction.

Neural networks are used for pattern recognition and classification tasks in speech, vision, and control systems, including applications like face recognition, text translation, voice recognition, lane classification, and traffic sign recognition.

Neural networks learn by automatically adjusting the weights of connections between neurons during training according to a specified learning rule, typically by optimizing weights to minimize prediction error until the network performs the desired task correctly.

Shallow neural networks have only two or three layers of connected neurons, while deep neural networks contain many layers (sometimes hundreds) and are used in deep learning applications that eliminate the need for manual feature extraction.

The three common types are feedforward neural networks (with input, hidden, and output layers), convolutional neural networks (CNNs for image processing), and recurrent neural networks (RNNs for sequential data like time series and text).

A CNN is a deep neural network architecture widely applied to image processing, characterized by convolutional layers that shift windows across the input with nodes that share weights, abstracting image input to feature maps.

An RNN is a neural network architecture with feedback loops that model sequential dependencies in time series, sensor, and text data, with long short-term memory networks (LSTMs) being the most popular type.

You can create neural networks in MATLAB using Deep Learning Toolbox and Statistics and Machine Learning Toolbox with just a few lines of code, train models interactively using apps like Classification Learner or Time Series Modeler, and deploy them to various hardware platforms.