<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Loss Functions on Nalar</title>
    <link>https://nalar.dev/tags/loss-functions/</link>
    <description>Recent content in Loss Functions on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 06 Sep 2026 00:00:00 +0700</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/loss-functions/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Understand Cross-Entropy Loss for Classification</title>
      <link>https://nalar.dev/understand-cross-entropy-loss-for-classification/</link>
      <pubDate>Sun, 06 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/understand-cross-entropy-loss-for-classification/</guid>
      <description>&lt;p&gt;A classifier needs more than a way to count correct answers. During training, it needs a signal that says not only whether a prediction was wrong, but also how the model&amp;rsquo;s scores should change.&lt;/p&gt;&#xA;&lt;p&gt;Suppose the correct class is &lt;code&gt;cat&lt;/code&gt;. A model that assigns &lt;code&gt;cat&lt;/code&gt; probability 0.49 and another class 0.51 is wrong, but it is close to the decision boundary. A model that assigns &lt;code&gt;cat&lt;/code&gt; probability 0.001 is also wrong, and much more confident in that mistake. Treating those predictions as equally bad throws away useful information.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
