A neural network is a mathematical model loosely inspired by how biological brains work. It consists of layers of "neurons" — simple units that multiply their inputs by adjustable numbers called weights, sum the results, and pass them through an activation function.
How it learns
- The network starts with random weights and makes random predictions.
- For each training example, it measures how wrong its prediction was (the loss).
- Using backpropagation and gradient descent, it nudges every weight slightly in the direction that reduces the error.
- Repeated over thousands of examples and many epochs, the network discovers patterns in the data.
Common uses
- Classification (spam detection, image recognition, fraud detection)
- Prediction and forecasting
- Language understanding (the foundation of modern LLMs like GPT and Claude)
Try it yourself Our Neural Network Playground lets you train a real neural network in your browser — no code required — and watch the weights change as it learns.
Related Tools
Related Articles
View all articlesHow to Fix _grokparsefailure: Debugging Grok Patterns Step by Step
_grokparsefailure tells you a grok pattern failed but not why. Here are the 7 most common causes and a step-by-step method to pinpoint and fix each one.
Read article →Grok Pattern Examples for Common Log Formats (Nginx, Apache, Syslog, and More)
Copy-paste grok patterns for Nginx, Apache, syslog, Java, AWS ELB, HAProxy, Postgres, IIS, Docker and more — every one tested against a real sample log.
Read article →Train a Neural Network in Your Browser (No Code Required)
Learn how neural networks actually work by training one yourself — right in your browser. No Python, no installs, no math degree. Watch backpropagation and gradient descent happen live, then quiz your trained model.
Read article →Best Project Management Tools: Jira Alternatives Compared (2026)
Compare project management tools — Jira, Linear, Asana, Monday.com, ClickUp, Notion, Planet Roadmap, and more — by workflow fit, reporting, integrations, and pricing.
Read article →Explore More Machine Learning
View all termsBackpropagation
The algorithm that calculates how much each weight in a neural network contributed to a prediction error, so every weight can be corrected.
Read more →Deep Learning
Machine learning using neural networks with multiple hidden layers, allowing models to learn increasingly abstract patterns from raw data.
Read more →Gradient Descent
The optimization algorithm that trains neural networks by repeatedly nudging weights in the direction that reduces prediction error.
Read more →