Network Architecture
Neural networks are organized into layers of neurons. The architecture — how these layers are arranged — determines what the network can learn.
Layer Types
- Input Layer: Receives the raw data (one neuron per feature)
- Hidden Layers: Process information between input and output — this is where the "thinking" happens
- Output Layer: Produces the final prediction
Common Architectures
- Feedforward Networks: Data flows in one direction, input to output
- Convolutional Neural Networks (CNNs): Specialized for image and spatial data
- Recurrent Neural Networks (RNNs): Handle sequential data like text and time series
- Transformers: Modern architecture powering large language models
The depth (number of layers) and width (neurons per layer) affect the network's capacity to learn complex patterns.