<?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: Onkar Shinde</title>
    <description>The latest articles on DEV Community by Onkar Shinde (@onkarshinde77).</description>
    <link>https://dev.to/onkarshinde77</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4149562%2Fcf32f63e-4f34-4e3a-9548-19d11d8ac113.jpg</url>
      <title>DEV Community: Onkar Shinde</title>
      <link>https://dev.to/onkarshinde77</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/onkarshinde77"/>
    <language>en</language>
    <item>
      <title>XGBoost: How It Works and Why It Is So Powerful for Machine Learning</title>
      <dc:creator>Onkar Shinde</dc:creator>
      <pubDate>Wed, 30 Sep 2026 14:52:51 +0000</pubDate>
      <link>https://dev.to/onkarshinde77/xgboost-how-it-works-and-why-it-is-so-powerful-for-machine-learning-39ll</link>
      <guid>https://dev.to/onkarshinde77/xgboost-how-it-works-and-why-it-is-so-powerful-for-machine-learning-39ll</guid>
      <description>&lt;h1&gt;
  
  
  XGBoost: How It Works and Why It Is So Powerful for Machine Learning
&lt;/h1&gt;

&lt;p&gt;When we start learning machine learning, we usually come across algorithms such as Linear Regression, Logistic Regression, Decision Trees, and Random Forest.&lt;/p&gt;

&lt;p&gt;Then comes &lt;strong&gt;XGBoost&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;XGBoost is one of the most popular machine learning algorithms for working with structured or tabular data. It is widely used for classification, regression, and ranking problems.&lt;/p&gt;

&lt;p&gt;But what makes XGBoost different from a normal Decision Tree or Random Forest?&lt;/p&gt;

&lt;p&gt;The answer lies in &lt;strong&gt;boosting&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;In this blog, let's understand XGBoost step by step without making it unnecessarily complicated.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Is XGBoost?
&lt;/h2&gt;

&lt;p&gt;XGBoost stands for &lt;strong&gt;Extreme Gradient Boosting&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It is an implementation of the &lt;strong&gt;gradient boosting&lt;/strong&gt; technique that builds multiple decision trees sequentially.&lt;/p&gt;

&lt;p&gt;The important idea is that every new tree tries to improve the mistakes made by the previous trees.&lt;/p&gt;

&lt;p&gt;Instead of creating one very powerful tree, XGBoost creates many smaller trees and combines their predictions.&lt;/p&gt;

&lt;p&gt;A simple way to think about it is:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
text
Tree 1 → makes some predictions
             ↓
        Find the mistakes
             ↓
Tree 2 → focuses on improving those mistakes
             ↓
        Find remaining mistakes
             ↓
Tree 3 → improves them again
             ↓
          Final Prediction
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

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