liveBook · Manning

Interpolation

Also called interpolate, interpolating, interpolated

Interpolation is the estimation or construction of values or representations between known points according to an assumed relationship or specified rule.

How 10 Manning books explain it

Geometry for Programmers

Interpolation is the construction of a function that passes exactly through specified data points.

How it is used
Constructs curves, surfaces, deformation fields, and continuous image-derived functions that must match specified samples exactly.
How deep it goes
Explains exact fitting, polynomial and inverse-distance methods, implementation patterns, and linear edge estimates, while deferring spline treatment.
Examples
Uses point-fitting graphs, scattered 2D and 3D values, mushroom deformation vectors, implicit-surface crossings, and image contour fitting.
What you can do after
Apply it via polynomial, inverse-distance, or linear methods to fit samples exactly and build smooth geometric results.

Read how Geometry for Programmers explains interpolation →

Experimentation for Engineers

A technique for estimating values between observed values using the relationship among nearby known points.

How it is used
Estimates business metrics at unmeasured continuous parameter settings so response surface methodology can optimize them.
How deep it goes
Works from midpoint line segments through one- and two-parameter quadratic surrogate models, deferring linear-regression background to an appendix.
Examples
Uses simulated trading profit over threshold and order size, including three-point and nine-setting experiments.
What you can do after
Apply it via NumPy linear regression to fit surrogate functions, search estimated optima, and validate them with new measurements.

Read how Experimentation for Engineers explains interpolation →

Build a Text-to-Image Generator (from Scratch)

Interpolation is the construction of intermediate values or representations between specified endpoints by varying their contributions.

How it is used
Uses interpolation to probe how initial noise or text conditioning controls transitions between generated images.
How deep it goes
Defines weighted noise blends and implements a ten-image DDIM sequence, then applies weighted text embeddings without deriving their internal representation.
Examples
Shows a seeded ten-flower transition and five lion-to-tiger images generated from differently weighted text embeddings.
What you can do after
Apply it via DDIMScheduler.interpolate() or weighted Stable Diffusion text embeddings to generate image-transition sequences.

Read how Build a Text-to-Image Generator (from Scratch) explains interpolation →

Deep Learning with R, Third Edition

Interpolation is the estimation of values between observed data points under an assumed continuity or smoothness relationship.

How it is used
Connects interpolation on learned data manifolds to local generalization in deep learning.
How deep it goes
Explains manifold interpolation through visual contrasts and limitations, without providing an interpolation implementation.
Examples
Illustrates interpolation with handwritten digits, transitions between generated images, and predictions for addition problems.
What you can do after
Evaluate whether interpolation can support local generalization and recognize its limits on unfamiliar inputs and exact algorithms.

Read how Deep Learning with R, Third Edition explains interpolation →

Deep Learning with Python, Third Edition

A program-like behavior produced by a model that interpolates within trained examples rather than synthesizing novel algorithms.

How it is used
Explains local generalization and frames deep learning’s limitations on substantially novel problems.
How deep it goes
Explains manifold interpolation and contrasts it with pixel averaging, then argues that interpolative programs cannot independently synthesize novel inference-time programs.
Examples
Illustrates interpolation with morphing MNIST digits and smooth image transitions produced by varying diffusion-model text embeddings.
What you can do after
Evaluate/understand when interpolation supports local generalization and why substantially novel situations may exceed its reach.

Read how Deep Learning with Python, Third Edition explains interpolation →

D3.js in Action, Third Edition

An interpolation function computes intermediate values or visual representations between discrete data points or states.

How it is used
Shapes line and area charts by generating curves between discrete data points.
How deep it goes
Explains curve selection, visual distortion, and D3 implementation, but stops short of mathematical derivations.
Examples
Uses temperature line and area charts, Catmull-Rom curves, and comparisons with Basis, Bundle, and MonotoneX interpolation.
What you can do after
Apply it via D3 line and area generators, then evaluate whether the resulting curve represents the data accurately.

Read how D3.js in Action, Third Edition explains interpolation →

Learn Go with Pocket-Sized Projects

Pixel interpolation estimates output pixel colors when an image is resized to a different resolution.

How it is used
Resizes maze images into fixed-size GIF frames while preserving the input image ratio.
How deep it goes
Explains package selection, scaler implementations, and a concrete scaling call, but not interpolation algorithms internally.
Examples
Uses a 500-pixel-wide maze frame and a NearestNeighbor.Scale call to create animation frames.
What you can do after
Apply it via golang.org/x/image/draw to resize an image into a target rectangle without blurring pixel edges.

Read how Learn Go with Pocket-Sized Projects explains interpolation →

Learn Generative AI with PyTorch

The technique of generating intermediate representations between two latent points to explore a smooth latent space.

How it is used
Generates novel face images and visualizes whether a VAE organizes meaningful, continuous latent representations.
How deep it goes
Defines weighted latent combinations and demonstrates a PyTorch decoding loop, stopping short of mathematical analysis.
Examples
Uses face encodings grouped by gender and glasses, especially women with and without glasses.
What you can do after
Apply it via PyTorch to decode a sequence of intermediate images from two trained-VAE encodings.

Read how Learn Generative AI with PyTorch explains interpolation →

Math for Web Design

Interpolation is the calculation of intermediate values between specified endpoints.

How it is used
Calculates fluid CSS values and changing animation properties from known endpoints.
How deep it goes
Derives viewport formulas and JavaScript lerp implementations, then defers deeper velocity and acceleration formulas.
Examples
Uses fluid margins, padding, gaps, font sizes, title motion, and circular CSS or JavaScript animations.
What you can do after
Apply it via CSS clamp() formulas or JavaScript lerp functions to build fluid layouts and animated interfaces.

Read how Math for Web Design explains interpolation →

Build AI Drug Discovery Pipelines

Interpolation is the estimation of values between known data points within the range represented by those points.

How it is used
Guides applicability-domain decisions when predicting molecular solubility or binding activity.
How deep it goes
Defines interpolation, contrasts extrapolation, and develops geometric domain checks plus representative data splitting.
Examples
Uses molecular solubility, RNA-binding activity, descriptor ranges, geometric domains, and diverse train-test splits as examples.
What you can do after
Evaluate/understand whether predictions interpolate within covered chemical and response spaces or extrapolate beyond them.

Read how Build AI Drug Discovery Pipelines explains interpolation →

Also covered in

What to know first

Related concepts

Questions about interpolation

What is interpolation?

Interpolation is the estimation or construction of values or representations between known points according to an assumed relationship or specified rule.

Which Manning books explain interpolation?

Geometry for Programmers, Experimentation for Engineers, Build a Text-to-Image Generator (from Scratch), Deep Learning with R, Third Edition, Deep Learning with Python, Third Edition, D3.js in Action, Third Edition, Learn Go with Pocket-Sized Projects, Learn Generative AI with PyTorch and 2 more.

What should I know before learning interpolation?

Manning books that teach interpolation usually introduce parameter, language model, grid and circle first.

What is the difference between interpolation and extrapolation?

Interpolation is the estimation or construction of values or representations between known points according to an assumed relationship or specified rule. Extrapolation is the estimation of values, outcomes, or conditions beyond the range represented by observed data by extending an inferred pattern or relationship.

What is interpolation a kind of?

Interpolation is a kind of approximation. Approximation is representing or computing a result that is sufficiently close to an exact result for an intended purpose, without requiring exact equality.

What is interpolation also called?

Interpolation is also called interpolate, interpolating or interpolated.

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.