Interactive Demo

Least Squares & Orthogonality

Least Squares & Orthogonality is a free, interactive learning demo from the Applied Linear Algebra and Least Squares course on Lykke. It helps you build intuition for Residual norm, Normal equations, Feature engineering, Overfitting. Play with it directly in your browser — it features 2 buttons, direct drag interaction and a live visual canvas. This demo lives in the “The Least Squares Problem and Data Fitting” section of the course.

Preview of the Least Squares & Orthogonality interactive demo
Preview of Least Squares & Orthogonality — play the live version below.
Loading interactive demo…

How to use this demo

  1. Click and drag directly on the canvas to manipulate the scene.
  2. Use the “Reset Points”, “Add Random Point” buttons to trigger actions or reset the demo.
  3. Experiment freely — there's nothing to break, and every change is reversible.

What you'll explore

Frequently asked questions

What does the Least Squares & Orthogonality demo do?

This minimizes the total area of the squares. Least Squares & Orthogonality lets you explore this hands-on instead of only reading about it.

What Applied Linear Algebra and Least Squares concept does Least Squares & Orthogonality teach?

Focuses on minimizing the residual norm and applying least squares to regression and classification. It focuses on Residual norm, Normal equations, Feature engineering, Overfitting, Least squares classifier from the “The Least Squares Problem and Data Fitting” section.

What can I control in Least Squares & Orthogonality?

You can drag elements directly on the canvas; the “Reset Points”, “Add Random Point” buttons run actions or reset the demo. Every change updates the visualization in real time, so you can see exactly how each variable affects the outcome.

How does Least Squares & Orthogonality fit into the Applied Linear Algebra and Least Squares course?

This course provides a practical introduction to linear algebra, focusing on the core concepts of vectors, matrices, and least squares methods. It emphasizes real-world applications such as machine learning, control sys… This demo is the interactive piece for the “The Least Squares Problem and Data Fitting” section. Open the full Applied Linear Algebra and Least Squares course wiki at https://www.getlykke.com/explore/public/applied-linear-algebra-and-least-squares-f2e383ce-d1e8-4a0a-af8a-f21feb45dad0 for notes, flashcards, quizzes and the other demos.

What will I understand better after using Least Squares & Orthogonality?

You'll build intuition for Residual norm, Normal equations, Feature engineering, Overfitting, Least squares classifier — and, crucially, see how they behave when you change the inputs, which is hard to get from a textbook or lecture on Applied Linear Algebra and Least Squares alone.

From the Applied Linear Algebra and Least Squares course

This interactive demo is part of the The Least Squares Problem and Data Fitting section. Explore the full Applied Linear Algebra and Least Squares course wiki on Lykke — with notes, flashcards, quizzes and more interactive demos.

Open the Applied Linear Algebra and Least Squares course →