Multilayer perceptron
A multilayer perceptron is a feedforward neural network composed of successive fully connected layers, typically with nonlinear activation functions.
Evolutionary Deep Learning: Genetic algorithms and neural networks
A multilayer perceptron is a feedforward neural network composed of an input layer, one or more hidden layers, and an output layer of interconnected units.
- How it is used
- Uses a transparent classification network as the basis for comparing gradient training with evolutionary weight optimization.
- How deep it goes
- Explains NumPy construction, training, prediction, parameter replacement, and genetic evaluation without presenting extensive mathematical derivations.
- Examples
- Demonstrates binary classification on generated classification, moons, circles, blobs, and Gaussian-quantiles datasets, including an all-ones weight configuration.
- What you can do after
- Build a NumPy MLP, inspect its predictions, compare accuracy, and optimize its weights with DEAP genetic algorithms.
Graph Neural Networks in Action
A multilayer perceptron is a feed-forward neural network composed of one or more fully connected hidden layers between its input and output layers.
- How it is used
- Uses node features as tabular inputs to establish a non-GNN classification baseline before testing graph-structured models.
- How deep it goes
- Defines layers, activations, loss, optimizer settings, epochs, and evaluation, but does not derive the network mathematically.
- Examples
- Uses node-feature classification, flattened image inputs, dog-or-cat outputs, and node2vec traversal vectors as examples.
- What you can do after
- Build it from scratch in PyTorch and compare its predictions with logistic regression, XGBoost, and graph neural network baselines.
Read how Graph Neural Networks in Action explains multilayer perceptron →
Related concepts
- attentioncontrasts with · Attention is a neural-network mechanism that computes input-dependent weights to combine information according to its relevance to a computation.
- linear layeruses · A linear layer is a neural-network layer that maps input features to outputs by a learned affine transformation, typically connecting each output to every input feature.
- transformer blockpart of · A transformer block is a neural-network module that transforms sequence representations using attention and feed-forward computation.
- NumPyuses · NumPy is an open-source Python library for numerical computing that provides multidimensional arrays and operations on them.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

