<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Normalization | Portfolio</title><link>https://ansangah.github.io/en/tags/normalization/</link><atom:link href="https://ansangah.github.io/en/tags/normalization/index.xml" rel="self" type="application/rss+xml"/><description>Normalization</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en</language><lastBuildDate>Wed, 22 Oct 2025 00:00:00 +0000</lastBuildDate><image><url>https://ansangah.github.io/media/sharing.png</url><title>Normalization</title><link>https://ansangah.github.io/en/tags/normalization/</link></image><item><title>Terminology Cheat Sheet for Normalization &amp; Regularization</title><link>https://ansangah.github.io/en/blog/ai-blog/term/</link><pubDate>Wed, 22 Oct 2025 00:00:00 +0000</pubDate><guid>https://ansangah.github.io/en/blog/ai-blog/term/</guid><description>&lt;h2 id="1-normalization-min-max-scaling"&gt;1. Normalization (Min-Max Scaling)&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Linearly rescales each feature into the &lt;strong&gt;0–1 range&lt;/strong&gt; using its minimum and maximum values.&lt;/li&gt;
&lt;li&gt;When to use:
&lt;ul&gt;
&lt;li&gt;Effective when the distribution is fairly even and extreme outliers are rare.&lt;/li&gt;
&lt;li&gt;Stabilises training for models that are sensitive to feature scale (neural networks, distance-based models).&lt;/li&gt;
&lt;li&gt;Needs to be recomputed whenever new min/max values appear.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Formula&lt;br&gt;
$$x&amp;rsquo; = \frac{x - x_{\min}}{x_{\max} - x_{\min}}$$&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="2-standardization-z-score-scaling"&gt;2. Standardization (Z-score Scaling)&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Shifts data to have mean 0 and standard deviation 1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When to use:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Works well when data is approximately Gaussian.&lt;/li&gt;
&lt;li&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Formula&lt;br&gt;
$$z = \frac{x - \mu}{\sigma}$$&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class="border-l-4 border-neutral-300 dark:border-neutral-600 pl-4 italic text-neutral-600 dark:text-neutral-400 my-6"&gt;
&lt;p&gt;Both normalization and standardization are part of &lt;strong&gt;data preprocessing&lt;/strong&gt;. They help models converge faster and more stably by presenting inputs on comparable scales.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="3-regularization"&gt;3. Regularization&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Goal: &lt;strong&gt;prevent overfitting&lt;/strong&gt;—when a model memorises the training data and fails on unseen samples.&lt;/li&gt;
&lt;li&gt;How it works:
&lt;ul&gt;
&lt;li&gt;Adds a penalty to the model’s parameters during training (L1, L2, Elastic Net, Dropout, etc.).&lt;/li&gt;
&lt;li&gt;Controls model complexity and directly improves &lt;strong&gt;generalization&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="4-generalization"&gt;4. Generalization&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;The ultimate goal of machine learning: achieving &lt;strong&gt;high accuracy on unseen data&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Evaluated via validation/test performance rather than training metrics.&lt;/li&gt;
&lt;li&gt;Relationship summary:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Regularization&lt;/strong&gt; is a primary strategy for better generalization (model-level control).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Normalization/Standardization&lt;/strong&gt; indirectly support generalization by making optimisation easier (data-level support).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;div class="text-center"&gt;
&lt;a
id="button-86a8d6880451b42d35696a141ce2aa28"
href="https://ansangah.github.io/uploads/deeplearning/%ec%a0%95%ea%b7%9c%ed%99%94%ec%9a%a9%ec%96%b4%ec%a0%95%eb%a6%ac.pdf"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 active:from-primary-700 active:to-primary-800 text-white shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30 hover:-translate-y-0.5 hover:scale-[1.02] active:scale-[0.98] focus:ring-primary-500/50 px-6 py-3 text-lg rounded-lg"
role="button"
aria-label="Download PDF"
&gt;
&lt;span class="flex-shrink-0"&gt;
&lt;svg class="w-4 h-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m.75 12l3 3m0 0l3-3m-3 3v-6m-1.5-9H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9"/&gt;&lt;/svg&gt;
&lt;/span&gt;
&lt;span&gt;Download PDF&lt;/span&gt;
&lt;/a&gt;
&lt;/div&gt;</description></item></channel></rss>