<?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 Siddharth Gaur on Medium]]></title>
        <description><![CDATA[Stories by Siddharth Gaur on Medium]]></description>
        <link>https://medium.com/@siddharthgaur?source=rss-ff4c391491b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*jTKfX9k0AjoHWMFx.</url>
            <title>Stories by Siddharth Gaur on Medium</title>
            <link>https://medium.com/@siddharthgaur?source=rss-ff4c391491b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 11:29:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@siddharthgaur/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[How I developed a simple regression model for House Price prediction]]></title>
            <link>https://medium.com/@siddharthgaur/how-i-developed-a-simple-regression-model-for-house-price-prediction-17f629c71507?source=rss-ff4c391491b------2</link>
            <guid isPermaLink="false">https://medium.com/p/17f629c71507</guid>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Siddharth Gaur]]></dc:creator>
            <pubDate>Wed, 18 Apr 2018 05:03:54 GMT</pubDate>
            <atom:updated>2018-04-18T05:03:54.011Z</atom:updated>
            <content:encoded><![CDATA[<p>It has been almost 6 months since I started learning ML, and I thought it was time to start applying my skills and I decided to do it by taking up a small project every weekend.</p><p>For an ML project you need a repository of datasets and everyone who is new to ML should go and visit <a href="https://www.kaggle.com/"><strong>Kaggle</strong></a>, which is a great website to find a plethora of datasets. I have worked on one of these datasets i.e. <a href="https://www.kaggle.com/c/house-prices-advanced-regression-techniques"><strong>House Prices: Advanced Regression Techniques</strong></a><strong> </strong>and if you go to the page you will find the whole description of the dataset there with what each column signifies and everything. Now let’s dive into how I cleaned the dataset and built the model to predict the prices.</p><p>One of the major problems I faced while working with this dataset is it has a lot of features out of which many of them are non-numeric values. Since all of the ML models requires the dataset to be in numeric form, it was necessary to convert this data into numeric first. Also one thing to note here is all non-numeric data is in categorical form. Luckily, <a href="http://scikit-learn.org/stable/index.html"><strong>scikit-learn</strong></a><strong> </strong>has a module init which helps to sort this problem named <a href="http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.LabelEncoder.html"><strong>LabelEncoder</strong></a><strong>. </strong>I used it to convert categorical-features into numeric form.</p><p>Now next problem was the NaN problem, this problem comes when the dataset has some missing values. This was resolved by using another scikit-learn module <a href="http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.Imputer.html"><strong>Imputer</strong></a>.</p><p>After resolving all the problems the final step was to choose a good model to start with. I chose <a href="http://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestRegressor.html"><strong>RandomForest</strong></a><strong> </strong>another scikit-learn module. (Trust me scikit-learn has made the life so easy). After this it was just training the model, testing the model, and submitting your solution on the kaggle site, and checking one’s standing.</p><p>Feel free to suggest any ideas for improvement, you can find my code <a href="https://github.com/siddharthh98/House_Price_Kaggle"><strong>here</strong></a><strong>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17f629c71507" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>