liveBook · Manning

Model weight

Also called weighting factor

A model weight is a learned numerical parameter that influences a machine-learning model’s computations and behavior.

How 8 Manning books explain it

Data Without Labels

A weight is a learned numerical parameter that scales the contribution of an input or intermediate activation in a neural network.

How it is used
Uses weights to control each connection’s contribution to a neuron and to parameterize the transformations learned by network layers.
How deep it goes
Defines weighted inputs and a threshold perceptron, then explains iterative weight updates through loss gradients and backpropagation.
Examples
Illustrates weights with a two-input threshold perceptron and a face-identification network trained on images and names.
What you can do after
Evaluate/understand how changing network weights changes predictions and how training updates them to reduce loss.

Read how Data Without Labels explains model weight →

Fabulous Adventures in Data Structures and Algorithms

An integer weight is a whole-number quantity representing the relative contribution of an outcome to a weighted distribution.

How it is used
Represents relative sampling probabilities in finite discrete distributions and carries those ratios through projections, joint distributions, and posterior inference.
How deep it goes
Defines normalization by total weight, implements uniform and projected weights, and works through LCM scaling for integer joint weights.
Examples
Uses a uniform integer distribution, a color-projected die, and cold-and-sneezing prior, joint, and posterior weights.
What you can do after
Build it from scratch: implement weighted discrete distributions and preserve integer weights when projecting outcomes or constructing joint distributions.

Read how Fabulous Adventures in Data Structures and Algorithms explains model weight →

Introduction to Generative AI, Second Edition

A model weight is a learned numerical parameter that determines the strength of a computational connection in a machine-learning model.

How it is used
Defines the connection strengths that neural networks adjust during training.
How deep it goes
Explains weights as connection strengths, their iterative adjustment, and their role in parameter counts, but defers the underlying mathematics.
Examples
Uses the leak of Meta’s Llama 1 weights and rapid reproduction of a model based on it as a security example.
What you can do after
Understand how training sets connection strengths and why access to model weights can enable model reproduction.

Read how Introduction to Generative AI, Second Edition explains model weight →

Machines that Think

A weight is an adjustable numerical parameter that scales the contribution of an input to a computational unit.

How it is used
Explains how adjustable weights shape neural-network responses and carry learned patterns into language-model inference.
How deep it goes
Explains weighted neuron computations and distributed learning, then summarizes how backpropagation and optimizers adjust weights.
Examples
Illustrates weighted influence with spam-likelihood signals, including keyword frequency and whether the sender is known.
What you can do after
Evaluate how learned weights influence outputs and why their distributed organization can make model behavior difficult to trace.

Read how Machines that Think explains model weight →

Grokking Bayes

A weight is a learnable coefficient that scales a connection or input in a neural-network transformation.

How it is used
Defines weights as coefficients that shape layer-to-layer transformations and neural-network predictions.
How deep it goes
Defines each weight as an edge coefficient in a linear transformation and distinguishes it from the bias term.
Examples
Uses a network with two hidden layers of six and four nodes to illustrate weighted edges.
What you can do after
Understand how edge coefficients help determine a neural network’s input-to-output mapping.

Read how Grokking Bayes explains model weight →

Inside AI

A weight is a numeric parameter associated with a neural-network connection that represents the influence of one unit’s output on another unit.

How it is used
Uses weights as adjustable parameters during neural-network training to recognize numbers in pictures.
How deep it goes
Explains weights as measures of feature influence and describes their adjustment through backpropagation, without giving formulas.
Examples
Illustrates weight adjustment with a digit classifier that mistakes a 7 for a 1.
What you can do after
Understand how prediction errors drive weight adjustments during neural-network training.

Read how Inside AI explains model weight →

Timeless Algorithms, The Foundational Ideas

A learned numerical coefficient that controls an input’s contribution in a neural network.

How it is used
Controls how strongly input features influence neural-network node calculations and linear decision functions.
How deep it goes
Explains weight signs, magnitudes, geometric effects in a classifier, and gradient-based updates, without deriving the optimization procedure.
Examples
Uses transformed temperature features in a classifier and visual patterns in an image network.
What you can do after
Understand how weight values shape input influence and how training adjusts them using loss gradients.

Read how Timeless Algorithms, The Foundational Ideas explains model weight →

Kubernetes in Action, Second Edition

A weight is a routing value that determines a backend's proportional share of requests relative to the weights of other backends.

How it is used
Routes a proportional share of HTTP requests to each backend, including a small share to a canary Service.
How deep it goes
Explains proportional shares with a 9:1 worked example and a request-count check, without detailing routing internals.
Examples
Uses stable and new Services with weights of 9 and 1, and suggests checking request counts with curl.
What you can do after
Configure an HTTPRoute to send a chosen proportional share of requests to multiple backend Services.

Read how Kubernetes in Action, Second Edition explains model weight →

Also covered in

What to know first

Related concepts

Questions about model weight

What is model weight?

A model weight is a learned numerical parameter that influences a machine-learning model’s computations and behavior.

Which Manning books explain model weight?

Data Without Labels, Fabulous Adventures in Data Structures and Algorithms, Introduction to Generative AI, Second Edition, Machines that Think, Grokking Bayes, Inside AI, Timeless Algorithms, The Foundational Ideas and Kubernetes in Action, Second Edition.

What should I know before learning model weight?

Manning books that teach model weight usually introduce language model, neural network, deep learning and linear regression first.

What is model weight a kind of?

Model weight is a kind of parameter. A parameter is a value or named input that specifies or influences the behavior, computation, or output of a function, model, or system.

What is model weight part of?

Model weight is part of neural network. A neural network is a computational model composed of interconnected, parameterized units or transformations that learn to map inputs to outputs.

What is model weight also called?

Model weight is also called weighting factor.

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.