Nonlinear mapping
A function or transformation that does not preserve linear combinations of its inputs.
Build AI Drug Discovery Pipelines
Nonlinearity is the property of a function or model in which outputs cannot be expressed as a linear transformation of inputs.
- How it is used
- Uses nonlinear mappings to improve machine-learning models for virtual screening and to represent complex graph-structured relationships.
- How deep it goes
- Explains sigmoid behavior, decision-boundary limits, gradient compatibility, and ReLU-based graph-network construction, but stops short of formal theory.
- Examples
- Demonstrates sigmoid logistic regression in PyTorch and ReLU activation across molecular graph-convolution layers.
- What you can do after
- Build it from scratch by applying sigmoid or ReLU activations and interpreting their effects on model expressiveness and learning.
Read how Build AI Drug Discovery Pipelines explains nonlinear mapping →
Math and Architectures of Deep Learning
A property of a function or layer whose output is not a linear transformation of its inputs.
- How it is used
- Uses nonlinear mappings to model curved decision boundaries and complex classification or estimation functions.
- How deep it goes
- Defines linearity mathematically, contrasts vector-length mapping, and connects sigmoid and layered architectures to expressive power.
- Examples
- Uses curved separators, sigmoid graphs, dog recognition, vector length, and quadratic regression implemented with PyTorch.
- What you can do after
- Apply it via PyTorch by adding nonlinear terms or nonlinear layers when linear models cannot fit the observed distribution.
Read how Math and Architectures of Deep Learning explains nonlinear mapping →
Fight Fraud with Machine Learning
Nonlinearity is the property of a function or transformation whose output is not a linear transformation of its input.
- How it is used
- Enables deep neural networks to represent complex patterns and relationships in fraud-detection models.
- How deep it goes
- Explains why linear layers collapse, then compares activation functions and their gradient and computation trade-offs.
- Examples
- Uses Sigmoid, TanH, and ReLU as concrete activation-function examples.
- What you can do after
- Understand why activation functions are necessary for expressive deep neural networks and how common choices differ.
Read how Fight Fraud with Machine Learning explains nonlinear mapping →
Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI
A nonlinear transformation maps inputs to outputs in a way that cannot be represented as a linear function.
- How it is used
- Improves tabular prediction when feature effects or feature interactions do not follow straight-line relationships.
- How deep it goes
- Contrasts linear contributions with practical outlier evidence, then recommends nonlinear models or engineered features without deriving their internals.
- Examples
- Uses Tokyo Airbnb prices, bedroom counts, minimum-night values, prediction outliers, and per-feature contribution diagnostics.
- What you can do after
- Diagnose/debug with it by identifying linear-model failures and selecting feature transformations or nonlinear models.
Graph Neural Networks in Action
A parameterized operation that maps inputs to outputs without preserving linearity, allowing a neural network to model nonlinear relationships.
- How it is used
- Builds expressive node, edge, or graph embeddings within message-passing neural networks.
- How deep it goes
- Explains aggregation, learnable transformation, activation, and update steps, including ReLU and a general embedding formula.
- Examples
- Uses ReLU, multilayer perceptrons, neighbor aggregation, and employee recommendation or company-joining prediction.
- What you can do after
- Apply it through activation functions in message-passing layers to construct nonlinear graph embeddings and predictions.
Read how Graph Neural Networks in Action explains nonlinear mapping →
Deep Learning with PyTorch, Second Edition
A process whose behavior cannot be represented as a simple linear relation between inputs and outputs.
- How it is used
- Uses nonlinear mappings to let neural networks model complicated input/output relationships without specifying the exact function beforehand.
- How deep it goes
- Defines nonlinearity through activation functions, gradient-friendly behavior, saturation, and composed tanh examples, stopping short of dense theory.
- Examples
- Uses tanh neurons, summed bumps, two-layer compositions, Hardtanh approximations, and image-based dog detection.
- What you can do after
- Build it from scratch by composing linear units and differentiable activations to approximate complex input/output relationships.
Read how Deep Learning with PyTorch, Second Edition explains nonlinear mapping →
Applied Reinforcement Learning
Nonlinearity is a mathematical property that allows a model's output to vary in ways that cannot be represented by a single linear transformation.
- How it is used
- Enables deep networks to model complex, nonlinear relationships from high-dimensional state inputs.
- How deep it goes
- Explains layerwise linear transformations and activations, including why activations prevent stacked layers collapsing into one linear transformation.
- Examples
- Uses ReLU hidden-layer activations and linear outputs for Q-values as a practical deep reinforcement learning configuration.
- What you can do after
- Understand how activation functions let deep networks represent relationships beyond a single linear transformation.
Read how Applied Reinforcement Learning explains nonlinear mapping →
Statistics Slam Dunk
Nonlinearity is the property that a relationship cannot be represented adequately by a straight-line pattern or linear function.
- How it is used
- Uses Pareto charts to reveal uneven cause-and-effect patterns and support best-bang-for-the-buck corrective actions.
- How deep it goes
- Defines departure from linearity, relates it to diminishing returns, and demonstrates it visually without developing formal mathematical models.
- Examples
- Illustrates nonlinear distribution through NBA franchise games played and Pareto-chart output.
- What you can do after
- Evaluate nonlinear distributions by building and interpreting Pareto charts in R.
Statistics Every Programmer Needs
A nonlinear relationship is a relationship in which changes in one quantity are not represented by a linear function of another.
- How it is used
- Supports choosing transformations or nonlinear models when linear relationships inadequately represent forecasting or prediction problems.
- How deep it goes
- Explains transformations, outlier effects, and decision-tree behavior, but stops short of deriving nonlinear functions or algorithms.
- Examples
- Uses stock-price forecasting, logarithmic and square-root transformations, and a decision-tree comparison as concrete examples.
- What you can do after
- Evaluate whether transformations or decision trees better capture nonlinear patterns while checking assumptions, outliers, and overfitting.
Read how Statistics Every Programmer Needs explains nonlinear mapping →
Inside Deep Learning: Math, Algorithms, Models
A transformation inserted between linear steps to let a neural network represent functions that are not purely linear.
- How it is used
- Adds nonlinear transformations between linear operations so a network can build more complex functions.
- How deep it goes
- Defines tanh and sigmoid ranges and demonstrates inserting tanh in a PyTorch network, while deferring further function properties.
- Examples
- Uses activation plots and a trained model with two linear layers and an intervening tanh.
- What you can do after
- Apply nonlinear mappings in PyTorch by placing nn.Tanh between nn.Linear layers and training the resulting model.
Read how Inside Deep Learning: Math, Algorithms, Models explains nonlinear mapping →
Timeless Algorithms, The Foundational Ideas
Nonlinearity is the property of a transformation that does not preserve linear combinations, allowing neural networks to represent relationships beyond repeated linear combinations.
- How it is used
- Uses activation functions to let neural networks represent relationships that successive linear transformations cannot capture.
- How deep it goes
- Explains nonlinearity through activation functions and a classification geometry example, without deriving activation functions mathematically.
- Examples
- Illustrates circles and squares reorganized from a curved separation into a straight boundary in learned coordinates.
- What you can do after
- Understand how nonlinear transformations can simplify class separation by changing the representation of observations.
Read how Timeless Algorithms, The Foundational Ideas explains nonlinear mapping →
Also covered in
- Machines that ThinkIn early access (MEAP)
- The Coder CafeIn early access (MEAP)
- Geometry for Programmers
- Machine Learning Algorithms in Depth
What to know first
- linear regressionLinear regression is a statistical method that models a numeric response as a linear function of one or more predictor variables with fitted parameters.
- language modelA language model is a computational model that represents patterns in linguistic sequences to assign probabilities, predict, generate, or evaluate language.
- classifierA classifier is a predictive model that assigns an input to one or more discrete classes or categories.
- neural networkA neural network is a computational model composed of interconnected, parameterized units or transformations that learn to map inputs to outputs.
Related concepts
- activation functionproduced by · An activation function transforms a neural-network unit’s input into its output, often introducing nonlinearity.
- 80-20 ruleequivalent to · The 80-20 rule is an informal heuristic that roughly 80 percent of an outcome may be associated with 20 percent of its contributing causes or effort.
- linear regressioncontrasts with · Linear regression is a statistical method that models a numeric response as a linear function of one or more predictor variables with fitted parameters.
- expressive powerproduces · Expressive power is the capacity of a model, language, or system to represent or convey a range and complexity of functions, patterns, distinctions, or ideas.
- mathematical functionkind of · A mathematical function is a mapping that assigns exactly one output to each permitted input in its domain.
Questions about nonlinear mapping
What is nonlinear mapping?
A function or transformation that does not preserve linear combinations of its inputs.
Which Manning books explain nonlinear mapping?
Build AI Drug Discovery Pipelines, Math and Architectures of Deep Learning, Fight Fraud with Machine Learning, Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI, Graph Neural Networks in Action, Deep Learning with PyTorch, Second Edition, Applied Reinforcement Learning, Statistics Slam Dunk and 3 more.
What should I know before learning nonlinear mapping?
Manning books that teach nonlinear mapping usually introduce linear regression, language model, classifier and neural network first.
What is the difference between nonlinear mapping and linear regression?
A function or transformation that does not preserve linear combinations of its inputs. Linear regression is a statistical method that models a numeric response as a linear function of one or more predictor variables with fitted parameters.
What is nonlinear mapping a kind of?
Nonlinear mapping is a kind of mapping. A mapping is a correspondence that assigns each permitted input in one set exactly one output in another set.
What is nonlinear mapping also called?
Nonlinear mapping is also called nonlinearity, nonlinear transformation, nonlinear functions or non-linearity.
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.










