<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Niraj singh</title>
    <description>The latest articles on DEV Community by Niraj singh (@nirajsingh0878).</description>
    <link>https://dev.to/nirajsingh0878</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3342052%2F87b318c6-e276-4ef6-a83d-24a977113df4.jpg</url>
      <title>DEV Community: Niraj singh</title>
      <link>https://dev.to/nirajsingh0878</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nirajsingh0878"/>
    <language>en</language>
    <item>
      <title>Understand Decision Trees by Building One from Scratch</title>
      <dc:creator>Niraj singh</dc:creator>
      <pubDate>Thu, 10 Jul 2025 11:15:00 +0000</pubDate>
      <link>https://dev.to/nirajsingh0878/understand-decision-trees-by-building-one-from-scratch-445k</link>
      <guid>https://dev.to/nirajsingh0878/understand-decision-trees-by-building-one-from-scratch-445k</guid>
      <description>&lt;p&gt;Decision Trees are one of the simplest yet most powerful algorithms in machine learning. But how do they actually work under the hood?&lt;/p&gt;

&lt;p&gt;In this article, I break it down using a small toy dataset to walk through the entire process of building a decision tree by hand. No frameworks, no shortcuts — just pure logic.&lt;/p&gt;

&lt;p&gt;You'll learn:&lt;/p&gt;

&lt;p&gt;What entropy and information gain are&lt;/p&gt;

&lt;p&gt;How to choose the best features for splitting&lt;/p&gt;

&lt;p&gt;How to stop the tree from overgrowing&lt;/p&gt;

&lt;p&gt;Step-by-step math behind the splits&lt;/p&gt;

&lt;p&gt;Whether you're a beginner or brushing up on fundamentals, this hands-on approach will give you a deeper understanding of how classification trees work.&lt;/p&gt;

&lt;p&gt;📖 &lt;a href="https://medium.com/@nirajsingh0878/how-do-decision-trees-work-can-you-build-a-decision-tree-by-hand-ab529bdb58cc" rel="noopener noreferrer"&gt;Read the full article on Medium&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd love to hear your feedback or questions in the comments!&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>ai</category>
      <category>datascience</category>
    </item>
  </channel>
</rss>
