Skip to content

Thrishala2006/house-price-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

House Price Prediction Web App

This is a simple web application that predicts house prices based on the number of rooms using linear regression and gradient descent in JavaScript.

Features

  • Predicts house prices based on the number of rooms.
  • Input validation: Ensures the number of rooms matches the number of prices.
  • Data sanitization: Ignores non-numeric values and extra spaces.
  • Normalization and scaling for reliable gradient descent.
  • User-friendly interface with instructions.

How to Use

  1. Open index.html in a browser.
  2. Enter the number of rooms for existing houses (space-separated).
  3. Enter the corresponding house prices (space-separated).
  4. Enter the number of rooms for the new house to predict its price.
  5. Click Predict to see the estimated house price.

Example

  • Rooms: 1 2 3 4
  • Prices: 2000000 2500000 3000000 3600000
  • New House Rooms: 5
  • Output: Estimated house price: ₹ 4000000

Technologies Used

  • HTML, CSS, JavaScript
  • Linear Regression (Gradient Descent)

Author

  • Thrishala2006

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors