Turn Several Measurements Into Several Predictions

A prediction can combine temperature and humidity with separate coefficients. Matrix operations let us apply that same rule to every greenhouse, then check how a fitted rule relates to its observations.

10 sections · 4 questions · 2 coding challenges

1 / 10

Reusing Numerical Linear Algebra for Many Observations

BOTIE

Solving systems of equations and fitting more equations than there are unknowns are longstanding numerical problems. Reliable implementations need algorithms that account for rounding and the structure of the system.

NumPy's linear algebra interface draws on established BLAS and LAPACK routines. We use that interface after making the small matrix calculation visible, and distinguish solving an exact square system from fitting an overdetermined one.

Sources for this history