<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Santhosh Loganathan on Medium]]></title>
        <description><![CDATA[Stories by Santhosh Loganathan on Medium]]></description>
        <link>https://medium.com/@santhoshrmkit?source=rss-f2b074a5e87a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*b7QmKdnkOVd57KBRhd-zTw.jpeg</url>
            <title>Stories by Santhosh Loganathan on Medium</title>
            <link>https://medium.com/@santhoshrmkit?source=rss-f2b074a5e87a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 24 May 2026 02:25:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@santhoshrmkit/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[Ensemble methods in Machine Learning]]></title>
            <link>https://medium.com/@santhoshrmkit/ensemble-methods-in-machine-learning-30ec5e7e66ae?source=rss-f2b074a5e87a------2</link>
            <guid isPermaLink="false">https://medium.com/p/30ec5e7e66ae</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[random-forest]]></category>
            <category><![CDATA[boosting]]></category>
            <category><![CDATA[decision-tree]]></category>
            <category><![CDATA[ensemble-method]]></category>
            <dc:creator><![CDATA[Santhosh Loganathan]]></dc:creator>
            <pubDate>Sat, 02 Mar 2019 20:38:51 GMT</pubDate>
            <atom:updated>2019-03-02T20:38:51.620Z</atom:updated>
            <content:encoded><![CDATA[<h3>Ensemble methods?</h3><p>Ensemble methods is a machine learning technique that combines several base models in order to produce one optimal predictive model. To better understand how ensemble methods work, let’s consider moving with Decision Trees as an example.</p><h3>Decision trees:</h3><p>A Decision Tree determines the predictive value based on a series of questions and conditions. Let us consider the below Decision Tree for determining whether an individual should play outside or not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/0*bkBd7VRVXPYuBSAG" /></figure><p>The Tree on the left considers several weather factors into account, given each factor either makes a decision or asks another question. In this example we can clearly see that every time it is overcast, we will play outside. However, if it is raining, we must ask again if it is windy or not? If windy, we will not play. But given no wind, we are going to play outside for sure.</p><p>Whenever making decisions with Decision Trees we must take into consideration several factors before even making the decision. The most important among all of them is on what features we are going to split the tree on. In the above-mentioned Decision Tree instead of asking all those questions related to weather, if we had to ask whether we have friends to play with today in the first place. We would have gone to play if we have friends with us else we have asked questions related to weather and arrived with the entirely different Decision tree.</p><p>This is where Ensemble Methods come in handy! Rather than just relying on one Decision Tree and hoping we made the right decision at each split, Ensemble Methods allow us to take a sample of Decision Trees into account, calculate which features to use or questions to ask at each split, and make a final predictor based on the aggregated results of the sampled Decision Trees. The below image will give a clear picture of what the ensemble method does.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*TpJ_OUa-wuTxgNnD" /></figure><p>we know what an Ensemble method is. Now let us explore the different types of ensemble methods.</p><h3>Types of Ensemble methods:</h3><ul><li>Bagging</li><li>Boosting</li></ul><h3>Bagging:</h3><p>Bagging gets its name because it combines <em>B</em>ootstrapping and <em>Agg</em>regation to form one ensemble model. Given a sample of data, multiple bootstrapped subsamples are pulled. A Decision Tree is formed on each of the bootstrapped subsamples. After each subsample Decision Tree has been formed, an algorithm is used to aggregate over the Decision Trees to form the most efficient predictor.</p><blockquote>A Picture is worth thousand words</blockquote><p>Going by the above quote. Let us look into the below picture to understand bagging in a much better way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/0*ghkZNWyPPbEWyej6" /></figure><h3>Random forest:</h3><p>Random Forest is similar to <em>bagg</em>ing but with a minor tweak to it. In a Bagged Decision tree, even though we have different bootstrapped samples from the larger data set as shown in above picture, the decision tree that is built from those bootstrapped samples will split using the same features which in turn result in the similar prediction result from all the decision trees. This makes the Ensemble model not performing effectively as desired. On the other hand, Random Forest models decide where to split based on a random selection of features. Rather than splitting at similar features at each node throughout, Random Forest models implement a level of differentiation because each tree will split based on different features. Thus over aggregation, the class that has more occurrence will be considered as a final result, thus resulting in a more accurate predictor than a single decision tree. Let’s have a look at the below picture to understand better.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*E2Zfv0sgaYeujRQb" /></figure><h3>Boosting:</h3><p>Boosting refers to a family of algorithms that are able to convert weak learners to strong learners. The main principle of boosting is to fit a sequence of weak learners− models that are only slightly better than random guessings, such as small decision trees− to weighted versions of the data. More weight is given to examples that were misclassified by earlier rounds. The predictions are then combined through a weighted majority vote (classification) or a weighted sum (regression) to produce the final prediction. The principal difference between boosting and bagging, is that base learners are trained in sequence on a weighted version of the data.</p><h3>Types of boosting:</h3><p>The most common types of boosting are mentioned below,</p><ul><li>Adaptive Boosting</li><li>Gradient Tree Boosting</li></ul><h3>Summary</h3><p>The end result of any machine model is to arrive at a single model that provides the best solution to our problem statement. Rather than making one model and hoping this model is the most accurate predictor we can make, ensemble methods take an array of models into account and average the results of those models to produce one final model which will be the most accurate model.</p><p><strong>Note:</strong></p><ol><li>Decision trees are not the only way to implement Ensemble methods. Decision trees have been chosen for simplicity and better understanding.</li><li>Pictures that are used in the article have been taken from Google to explain the concepts in a better way.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30ec5e7e66ae" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>