Probabilistic Models and Uncertainty

Predict a residual temperature

BOTIE

Solve the linear system whose right-hand side contains observed residuals.
Ready to test
0 passed · 0 failed · 2 not run

An empty floor. Start with the information your machine needs.

Received result

Your answer will arrive here.

Examples, experiments and workspace controls
Live values

Connect a tool's inputs to see what it produces. You can try a branch before connecting it to Result.

Try your own inputs

Use a copy of the example to try your own data. Keep the problem's assumptions in mind, and predict the effect of a change before checking the output. You can also add another branch to compare two ways of doing the calculation.

Start at an output arrow, then click or drag to an input. Drag empty space to pan. Delete removes a selection. Ctrl/Cmd+Z undoes a change.
Context for this challenge

Solve the linear system whose right-hand side contains observed residuals.

Botie is given a valid noisy training covariance, observed residuals, and query covariances.

Inspect the component calculation
Solve a linear system(
  Square coefficient matrix A: Noisy training covariance
  Right-hand vector b: Observed residuals
)
Examples and results
Noisy training covariance
1.25
Observed residuals
  1. 02
Required result
  1. 01.6
Noisy training covariance
20
02
Observed residuals
  1. 02
  2. 14
Required result
  1. 01
  2. 12
Try a fresh construction

This clears this draft, including its undo history. Earlier successful attempts stay recorded. Build again without opening hints to record an independent attempt.

Stuck? Inspect a worked construction

The tools below form one possible solution. You can assemble it, follow its signals, and undo that change to return to your own construction.

Assumptions and test precision

The supplied covariance must be valid and nonsingular. This construction returns a mean, not a full uncertainty interval. Numerical tests allow a difference of 0.001. Lists and structures must also have the right shape.

Your last tested pieces can start the full construction. An existing draft there keeps its own pieces.

Two correlated temperature observations

This check uses the pieces from “Use covariance to predict the query residual”.

BOTIE

These residual observations have nonzero covariance with each other. Use their full noisy covariance matrix and the query covariances to return the query's conditional mean residual.
Noisy training covariance
21
12
Observed residuals
  1. 03
  2. 10
Query-to-training covariance
  1. 01
  2. 10.5

Use a number, text, or an array matching the requested result. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.

Build a construction in the workspace above first. This case will test those pieces.

Why does a zero residual mean here say nothing by itself about certainty?

A conditional mean and a predictive variance are different outputs; this construction returns only the mean.

The supplied covariance must be valid and nonsingular. This construction returns a mean, not a full uncertainty interval.

Work through the Python challenges →
Continue the courseA Neuron →
← Tracking a State We Cannot Observe Directly