Update rule
An update rule specifies how an algorithm revises its current state, estimate, or representation using new information or an iteration step.
Grokking Bayes
- How it is used
- Corrects a predicted latent-state belief when a new observation becomes available in recursive time-series filtering.
- How deep it goes
- Derives Gaussian mean, variance, and Kalman-gain updates, while staying within linear Gaussian filtering.
- Examples
- Uses noisy CO₂ measurements, Gaussian state beliefs, NumPy arrays, and a Kalman-gain update loop.
- What you can do after
- Apply via NumPy by implementing a recursive Gaussian update for a time series.
Graph Neural Networks in Action
The update step is the message-passing stage in which each node’s features are replaced or revised with its newly computed representation.
- How it is used
- Uses the update stage to replace node or edge features after aggregation and transformation.
- How deep it goes
- Traces the update as the final operation in a message-passing pipeline and relates repeated layers to graph hops.
- Examples
- Uses node and edge features alongside the Aggregate → Transform → Update diagram as concrete representations of the rule.
- What you can do after
- Apply the update stage to complete one message-passing round and produce revised node or edge representations.
Read how Graph Neural Networks in Action explains update rule →
Also covered in
Related concepts
- simulated annealingused by · Simulated annealing is a stochastic optimization method that gradually reduces the probability of accepting worse solutions to escape local optima.
- message passingpart of · Message passing is a communication technique in which independent entities exchange explicit messages to transmit information, coordinate computation, or update state.
Questions about update rule
What is update rule?
An update rule specifies how an algorithm revises its current state, estimate, or representation using new information or an iteration step.
Which Manning books explain update rule?
Grokking Bayes and Graph Neural Networks in Action.
What is update rule part of?
Update rule is part of message passing. Message passing is a communication technique in which independent entities exchange explicit messages to transmit information, coordinate computation, or update state.
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.

