Git Product home page Git Product logo

aryanrahulverma / house-price-prediction Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 423 KB

Provide required inputs on the webpage and the model predicts the house price on the basis of those inputs. This is a project that uses linear regression with multiple features for house price prediction that helps conservative people with their budgets and business strategies, who are looking to purchase a new home.

Jupyter Notebook 61.84% Python 7.94% HTML 30.21%
house-price-prediction linear-regression regression-model

house-price-prediction's Introduction

House Price Prediction

Consider moving to a new city and not knowing anything about that area or the city. And the broker you hired is not that selfless, so he may tell you the price that is nowhere close to its actual value. Or even if you are constructing the house, the builder with no proper knowledge may go over your budget. But with proper house price prediction model he can make construction estimation plan with not much difficulty.

Workflow

image

Deployment

Input Form

image

Prediction

image

I deployed my model on a webpage using Flask. The form takes input for the model and acts as test set. The data is provided to the model and the house price is predicted.

Summary

For simplicity, many people solve problem with linear regression with one feature and one target. But most problems solved with help of linear regression model require more than one feature. To get the best result there are many parameters to take into consideration. For example, if we want to calculate eligibility of a person to apply for loan, apart from his income we also need to consider his credit score that is his CIBIL score as well. So, we have implemented linear regression with multiple features for house price prediction that helps conservative people with their budgets and business strategies, who are looking to purchase a new home. The current method includes the estimation of house prices without predicting future market conditions and price changes as appropriate.

We used various libraries to ease the work and get better understanding of what has been done. Some libraries used are –

  1. Pandas – to read and manipulate data as per requirement
  2. Numpy – to vectorize our data and prepare for use in efficient calculations
  3. Sklearn – it provides many built-in functions that are required for linear regression . It simplifies code and reduces extra work
  4. Flask - to deploy my machine learning model on the webpage.

First the data is loaded into data frame using panda’s library and separated the features and target. Then regression model is defined, and object created for the same. After that, we fit the model with help of sklearn library and train the model with the training set that was split from the main dataset. After constructing the model, we are ready to use that model to predict house prices.

house-price-prediction's People

Contributors

aryanrahulverma avatar

Stargazers

Thanushree D avatar

Watchers

 avatar

Forkers

samkit09

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.