Index Ai Academy
Glossary · Phase 2 · Math for ML engineers

Normal equations

The equations XᵀX w = Xᵀy whose solution is the least-squares fit. In practice a solver is used instead of an inverse.

Try it now

Then change the last y from 4 to 8: one far point tilts the whole line, because its miss is squared.

Learn it properly

Solving and least squares · The matrix operations you'll see in every formula. About 36 minutes.

Other terms from the same lesson

  • transpose: Flipping a matrix so its rows become columns.
Keep learning

More in plain English.

1286 terms in the glossary, each with the lesson that teaches it.

1286 terms

The glossary

Every word you'll meet in AI and machine learning, explained in everyday language.

Never trained an AI? Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account. Teach it to write