<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Least Squares on Chen Kai Blog</title><link>https://www.chenk.top/en/tags/least-squares/</link><description>Recent content in Least Squares on Chen Kai Blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 24 Jan 2026 09:00:00 +0000</lastBuildDate><atom:link href="https://www.chenk.top/en/tags/least-squares/index.xml" rel="self" type="application/rss+xml"/><item><title>ML Math Derivations (5): Linear Regression</title><link>https://www.chenk.top/en/ml-math-derivations/05-linear-regression/</link><pubDate>Sat, 24 Jan 2026 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ml-math-derivations/05-linear-regression/</guid><description>&lt;blockquote>
&lt;p>&lt;strong>Hook.&lt;/strong> In 1886 Francis Galton noticed something strange about heredity: children of unusually tall (or short) parents tended to be closer to the average than their parents were. He called this drift toward the mean &lt;em>regression&lt;/em>, and the name stuck. The statistical curiosity grew up into the most consequential model in machine learning — not because linear regression is powerful on its own, but because almost every other algorithm (logistic regression, neural networks, kernel methods) is some twist on the same idea: &lt;strong>fit a line, but in the right space.&lt;/strong>&lt;/p></description></item><item><title>Essence of Linear Algebra (7): Orthogonality and Projections — When Vectors Mind Their Own Business</title><link>https://www.chenk.top/en/linear-algebra/07-orthogonality-and-projections/</link><pubDate>Wed, 12 Feb 2025 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/linear-algebra/07-orthogonality-and-projections/</guid><description>&lt;p>&lt;figure class="article-figure">
 &lt;img src="https://blog-pic-ck.oss-cn-beijing.aliyuncs.com/posts/en/linear-algebra/07-orthogonality-and-projections/illustration_1.png" alt="Essence of Linear Algebra (7): Orthogonality and Projections — When Vectors Mind Their Own Business — Chapter overview" loading="lazy" decoding="async" class="content-image">
 
&lt;/figure>
&lt;/p>
&lt;hr>
&lt;h2 id="why-orthogonality-matters" class="heading-anchor">Why Orthogonality Matters&lt;a href="#why-orthogonality-matters" class="heading-link" aria-label="Permalink to this section" title="Copy link to this section">#&lt;/a>
&lt;/h2>&lt;p>Two vectors are &lt;strong>orthogonal&lt;/strong> when they &amp;ldquo;do not interfere&amp;rdquo; with one another. That single idea — one direction tells you nothing about the other — powers GPS positioning, noise-canceling headphones, JPEG compression, recommendation systems, and most of numerical linear algebra.&lt;/p>
&lt;p>Orthogonality is the single biggest computational shortcut in linear algebra. With a generic basis, finding coordinates is solving a linear system. With an &lt;strong>orthogonal&lt;/strong> basis, finding coordinates is one dot product per axis. Hard problem, easy problem, same problem — just a better basis.&lt;/p></description></item></channel></rss>