Skip to content

Adinath-Jagtap/HOUSE-PRICE-PREDICTION

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿก Boston House Price Predictor

Machine Learning Flask Python

An elegant machine learning application for real-time Boston housing price predictions

โœจ Live Demo : https://boston-houseprice-prediction-g32w.onrender.com/

Precision forecasting meets beautiful design


๐Ÿ“Š Overview

graph LR
    A[User Input] --> B[Flask API]
    B --> C[Trained Model]
    C --> D[Price Prediction]
    D --> E[Visual Result]
    style A fill:#ff6b6b
    style E fill:#51cf66
Loading

This application transforms 13 housing features into accurate price estimates using a sophisticated Linear Regression model. Built with precision and designed with elegance, it bridges data science with practical application.

โœจ Features

๐ŸŽฏ Real-time Prediction

Instant results with sub-second response time

๐Ÿ“ˆ Accurate Model

Trained on comprehensive Boston housing data

๐Ÿš€ Production Ready

Deployed and optimized for real-world use

๐Ÿ—๏ธ Architecture

# Core Prediction Flow
Input Features โ†’ Data Validation โ†’ Model Inference โ†’ Result Formatting โ†’ Beautiful Output

๐Ÿ› ๏ธ Technology Stack

Layer Technology Purpose
Frontend HTML5, CSS3, JavaScript User Interface & Experience
Backend Python Flask, REST API Server Logic & Routing
ML Engine Scikit-learn, Linear Regression Price Prediction
Data Pandas, NumPy Data Processing
Deployment Render Production Hosting
Version Control Git, GitHub Code Management

๐Ÿ“ Project Structure

Boston_HousePrice_Prediction-/
โ”œโ”€โ”€ ๐Ÿ“Š house_price_analysis.ipynb     # Complete EDA & Model Training
โ”œโ”€โ”€ ๐Ÿค– house_price_analysis.pkl       # Serialized Trained Model
โ”œโ”€โ”€ ๐Ÿš€ app.py                         # Flask Application Entry Point
โ”œโ”€โ”€ ๐Ÿ“‹ requirements.txt               # Dependency Management
โ”œโ”€โ”€ ๐ŸŽจ templates/
โ”‚   โ””โ”€โ”€ index.html                    # Interactive Web Interface
โ””โ”€โ”€ ๐Ÿ“ˆ BostonHousing.csv              # Training Dataset (506 samples)

๐Ÿš€ Quick Installation

1. Clone & Setup

# Clone repository
git clone https://github.com/24f2004698/Boston_HousePrice_Prediction-.git

# Navigate to project
cd Boston_HousePrice_Prediction-

# Create virtual environment
python -m venv venv

# Activate environment
source venv/bin/activate  # Windows: venv\Scripts\activate

2. Install Dependencies

pip install -r requirements.txt

3. Launch Application

python app.py

๐Ÿ”— Access at: http://localhost:5000


๐ŸŽฎ Usage Guide

  1. Access the application via Live Demo or localhost
  2. Input the 13 Boston housing features:
    • Location Factors: CRIM, ZN, INDUS
    • Property Details: CHAS, NOX, RM
    • Community Metrics: AGE, DIS, RAD, TAX
    • Education & Demographics: PTRATIO, B, LSTAT
  3. Click the Predict button
  4. View your instant price estimate with visual feedback

๐Ÿ“Š Model Performance

The Linear Regression model was trained on the BostonHousing.csv dataset, achieving optimal performance through:

  • Feature Selection: 13 most impactful housing metrics
  • Data Preprocessing: Normalized and cleaned inputs
  • Validation: Rigorous testing for reliability
  • Persistence: Model saved for immediate inference

๐ŸŒ Live Deployment

Render Deployment

Status: โœ… Active


๐Ÿ“ฌ Connect

Found this project useful? Give it a โญ on GitHub!

GitHub Stars


Built with โค๏ธ using Python & Flask
Data Science โ€ข Web Development โ€ข Real Estate Analytics

About

๐Ÿก A Flask-based machine learning application that predicts Boston housing prices with elegant precision. Features real-time predictions, a interface, comprehensive documentation, and production-ready deployment.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors