# Neural Network

> The Neural Network is a machine learning model made of layers of connected nodes inspired by the brain.

## What is a neural network?

The model consisting of layers of connected nodes with weights that are adjusted during training. Networks with many layers are used in deep learning for working with text, images and sound.

- Topic: Basics
- Type: concept

## Interview questions

### How does a neural network learn?

It makes a prediction, measures the error with a loss function, and adjusts its weights with backpropagation and gradient descent to reduce that error.

### Is a neural network really like the brain?

Only loosely. Artificial neurons are simple math functions, and the way networks learn is very different from how biological brains work.

### What is a layer in a neural network?

A layer is a group of nodes that transform their input and pass the result to the next layer. Input, hidden and output layers form the network.

## Related cards

- [Deep Learning](https://wonderium.dev/ai/deep-learning.md)
- [Parameters](https://wonderium.dev/ai/parameters.md)
- [Training](https://wonderium.dev/ai/training.md)
- [Transformer](https://wonderium.dev/ai/transformer.md)

---

- Level: [Artificial Intelligence](https://wonderium.dev/ai.md)
- HTML version: https://wonderium.dev/ai/neural-network
- Last updated: 2026-11-25
