<?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 Bhagyaa Shree S on Medium]]></title>
        <description><![CDATA[Stories by Bhagyaa Shree S on Medium]]></description>
        <link>https://medium.com/@bmlqna?source=rss-352bb9c79a96------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*FBHwID4Tz9xTUaq5ljQnRw.png</url>
            <title>Stories by Bhagyaa Shree S on Medium</title>
            <link>https://medium.com/@bmlqna?source=rss-352bb9c79a96------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 16:30:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bmlqna/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[Read With Me]]></title>
            <link>https://medium.com/@bmlqna/read-with-me-6c09f2946b07?source=rss-352bb9c79a96------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c09f2946b07</guid>
            <category><![CDATA[machine-learning-books]]></category>
            <category><![CDATA[tensorflow]]></category>
            <category><![CDATA[scikit-learn]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[readwithme]]></category>
            <dc:creator><![CDATA[Bhagyaa Shree S]]></dc:creator>
            <pubDate>Thu, 06 Jun 2019 12:55:08 GMT</pubDate>
            <atom:updated>2019-06-06T12:55:08.681Z</atom:updated>
            <content:encoded><![CDATA[<p>Book Name:<strong> Hands-On Machine Learning With Scikit-Learn &amp; TensorFlow</strong></p><p>Author: <strong>Aurélien Géron</strong></p><p>#2</p><blockquote>Contents Covered: Introduction to Machine Learning &amp; Creating a Basic End-to-End Machine Learning Project (Chapter 1 &amp; 2 of the book)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*Fuy7_WQaJKBsGb-MSRu17Q.png" /></figure><h3>Article Content</h3><p>In this article, we will be learning about certain basic machine learning terminologies and how to approach solving a machine learning project. Some of the topics that we will be going through are:</p><ol><li>Machine Learning and the need for ML</li><li>Types of ML Systems</li><li>Challenges Faced in ML</li><li>Testing and Validating</li><li>Understanding and Framing the Problem Statement</li><li>Getting started with Data &amp; Visualisation</li><li>Preparing the data for ML &amp; training the model</li></ol><h3>Machine Learning and the need for ML</h3><p>The book clearly begins with debunking the most common assumption about machine learning, the cliched Terminator-type robot which is more like a butler to mankind. ML has been around for quite sometime in the form of OCR (Optical Character Recognition) and many other simple formats. We began recognising ML as a booming field only with the Spam Detection Filter, that came along with the mails, that automatically classified mails as <strong>spam</strong> (unwanted/irrelevant emails) and <strong>ham </strong>(relevant emails) without human intervention. So, we can define ML as,</p><blockquote>Training a computer to do something on its own, without human intervention</blockquote><p>The technical definition of ML is as follows,</p><blockquote>A computer program is said to learn from experience E with respect to some task T and some performance measure P, if its performance on T, as measured by P, improves with experience E</blockquote><p>The above definition can be applied to our Spam Detection Filter as,</p><p>The examples that the system uses to learn whether an email is a ham or spam is called the <strong><em>training set</em></strong><em>. </em>In this example, the task <strong>T</strong> is, to segregate mails as ham and spam, based on the experience <strong>E</strong> gained by the training set, whose performance needs to be defined by <strong>P</strong>. This performance is called <em>accuracy</em> and usually mentioned in classification tasks.</p><p>But why use ML for this use case in the first place? We know how the spams are targeted and what kind of keywords are redundant in such mail bodies, subjects, etc., We can also write a traditional program which would look for certain keywords and mark a mail as spam. The downside to this traditional programming is that, the senders of spam mails can change the subject words and mail content, once they realise that their mails are being marked as spam. Hence, the keywords that we use to mark a mail as spam needs to be modified every time manually. That sounds like some painful work.</p><p>In short we use Machine Learning because,</p><ol><li>Solutions for problems require explicit hand-tuning or a long list of rules. ML deploys lesser code.</li><li>Complex problems that do not have a solution with traditional programming methods: the best ML techniques can find a solution.</li><li>Getting insights about complex problems.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*CBWCvHpt4zt1vmeQhr72tQ.jpeg" /></figure><h3>Types of Machine Learning Systems</h3><p>The book elicits on 3 types of ML systems, that are not exclusive and can be combined based on the requirement.</p><ol><li>Whether or not they are trained with human supervision (supervised, unsupervised, semi-supervised and reinforcement learning)</li><li>Whether or not they can learn incrementally on the fly (online versus batch learning)</li><li>Whether they work by comparing new data points with old data points or build a predictive model by identifying some pattern in the training data (instance-based versus model-based learning)</li></ol><p><strong>System based on Human Intervention</strong></p><p><strong>Supervised Learning</strong></p><p>The training data we feed to the algorithm, includes the desired solutions, in the case of supervised learning. There are two broad divisions of supervised learning — classification and regression. When the value to be predicted is a class, then it comes under <strong>classification</strong>. For example, the spam detection filter, classifies each mail as spam or ham. When the value to be predicted is a continuous numeric value, then it is called <strong>regression</strong>. Some of the common supervised learning algorithms are:</p><ol><li>k-Nearest Neighbours</li><li>Linear Regression</li><li>Logistic Regression</li><li>Support Vector Machines</li><li>Decision trees</li></ol><p>and so on..</p><p><strong>Unsupervised Learning</strong></p><p>The training data is unlabeled and the system or model tries to find a common behaviour or group in the data given. Clustering and dimensionality reduction are some of the important types of unsupervised learning. Some of the unsupervised learning algorithms are:</p><ol><li>k-Means Clustering</li><li>Hierarchical Cluster Analysis (HCA)</li><li>Expectation Maximization</li><li>Principal Component Analysis</li><li>Kernel PCA</li><li>Apriori Association Rule Learning</li></ol><p><strong>Semisupervised Learning</strong></p><p>Partially labeled training data, with a combination of labeled and unlabeled instances.</p><p><strong>Reinforcement Learning</strong></p><p>Learning based on activities and response from doing certain activities. The learning system is called an agent. An <strong><em>agent</em></strong> observes the environment, selects and performs actions accordingly. This action that an agent chooses is called as <strong><em>policy</em></strong>. Based on the aftermath of a policy , the agent gets a <strong><em>reward </em></strong>for a positive outcome and a <strong><em>penalty</em></strong> for negative outcome.</p><p><strong>Batch and Online Learning</strong></p><p><strong>Batch Learning</strong></p><p>Also known as offline learning. The system is incapable of learning incrementally. Generally takes a lot of time and computing resources, hence it is done offline. The system is trained and deployed to production and runs without learning anymore.</p><p><strong>Online Learning</strong></p><p>In online learning, the system is trained incrementally by feeding the data instances sequentially, either individually or by small groups called <strong><em>mini-batches</em></strong>. Each learning step is faster and cheaper, so the system can learn on the fly. It is mostly preferred in systems that receive a continuous flow of data and needs to adapt to change rapidly.</p><p>An important feature with online learning is, how fast the system should adapt to the changing data. This is called the <strong><em>learning rate</em></strong>. If the learning rate is high, the system will adapt to new data but will quickly forget the old data. When the learning rate is set to low, the system will learn more slowly but will also be insensitive to noise or non-representative data points.</p><p><strong>Instance-Based and Model-Based Learning</strong></p><p><strong>Instance-Based Learning</strong></p><p>The system learns the examples by heart and generalises to new cases using a similarity measure.</p><p><strong>Model-Based Learning</strong></p><p>As opposed to instance-based learning, the system tries to build a model based on the training instances and used the model to predict for new instances.</p><h3>Main Challenges of Machine Learning</h3><ol><li>Insufficient quantity of data</li><li>Nonrepresentative Training data — training data should be representative of the new instances.</li><li>Poor-Quality data — presence of noise, outliers, missing values can affect the prediction</li><li>Irrelevant Features — always remember, garbage in-garbage out</li><li>Overfitting the training data- the model cannot generalise over new instances as well as it fits the training data</li><li>Underfitting the training data- opposite of overfitting, simple model cannot learn the underlying relationships of features.</li></ol><h3>Testing and Validating</h3><p>Always split the training data into train, test and validate so as to avoid overfitting and underfitting</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wc2ykwS_smwlH456" /><figcaption>Photo by <a href="https://unsplash.com/@lucabravo?utm_source=medium&amp;utm_medium=referral">Luca Bravo</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Understanding and Framing the Problem Statement</h3><p>It is always vital to understand the objective for which the model needs to be created and accordingly a problem statement needs to be framed. The problem statement should be able to answer all the questions related to the objective. Once the problem statement is framed, we must identify the type of learning and algorithm to be applied. We further, define a performance measuring technique which will evaluate the model as to how well it performs. Some of the performance measures are:</p><ol><li>Root Mean Square Error</li><li>Mean Absolute Error</li></ol><p>Lastly, it is best to list and verify the assumptions made, if any as it can catch serious issues later on.</p><h3>Getting Started With Data &amp; Visualisation</h3><p>Before getting started with the machine learning problem, let us first set up the environment. Its best to install <a href="https://www.python.org/downloads/">Python</a> in your system for the same. Once the environment and workspace is set up, we can download the data and load it in the workspace. It is important to be familiar with the data in hand and hence some basic exploration is required. This can include knowing the nature of the features present and their distributions.</p><p>The data then needs to be split to train, test and validation. We can explore the data better upon visualisation, for a picture can tell a thousand stories than words can ever manage.</p><h3>Preparing the Data for Machine Learning</h3><p>Always create functions to do the transformations.</p><ol><li>Increases reusability</li><li>Build a library of functions that can be used in other projects</li><li>Can be used in live systems right before passing data to the models</li></ol><p>It is necessary to clean the data. By cleaning, we do the following:</p><ol><li>Check for missing values</li><li>Check for outliers and treat them</li><li>Make necessary transformations</li></ol><p>Pass the data to the model, based on a suitable algorithm. Analyse the model results and tune the model.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c09f2946b07" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Read With Me]]></title>
            <link>https://medium.com/@bmlqna/read-with-me-72c4c2d0078b?source=rss-352bb9c79a96------2</link>
            <guid isPermaLink="false">https://medium.com/p/72c4c2d0078b</guid>
            <category><![CDATA[machine-learning-books]]></category>
            <category><![CDATA[tensorflow]]></category>
            <category><![CDATA[scikit-learn]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Bhagyaa Shree S]]></dc:creator>
            <pubDate>Tue, 04 Jun 2019 05:23:51 GMT</pubDate>
            <atom:updated>2019-06-04T05:36:28.407Z</atom:updated>
            <content:encoded><![CDATA[<p>Book Name:<strong> Hands-On Machine Learning With Scikit-Learn &amp; TensorFlow </strong>Author: <strong>Aurélien Géron</strong></p><p>#1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6VJN-jI6XZwpuq3l6FU0aw.jpeg" /></figure><h3><strong>About the Book</strong></h3><p>The <strong>Hands-On Machine Learning With Scikit-Learn &amp; TensorFlow </strong>by Aurélien Géron, is one of the most coveted books in the Machine Learning and Artificial Intelligence field and is always suggested to be read alongside an online course. While the first half of the book focuses upon introduction to machine learning, the second half dives deep into deep learning.</p><h3>Audience for the Book</h3><p>The book targets aspiring Data Scientists and people who need a taste of Machine Learning. It lets you explore several training models, including Support Vector Machines (SVM), Decision Trees, Ensemble methods etc., Apart from these models, the book also takes a dive into TensorFlow and helps in applying practical code examples.</p><h3>Prerequisites</h3><p>It is expected to have some basic understanding of Statistics, Linear Algebra and Calculus. Also, experience with programming (especially in Python) or ability to understand code chunks and functionality is an added advantage with this book.</p><h3>Road Map for the Book</h3><p>The book spans across 16 important topics, represented as chapters. We will be seeing the book through 8 articles, each focusing on 2 topics at a time. Let the journey begin because, anything well begun is already half well done!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72c4c2d0078b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>