Skip to content

Latest commit

Β 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 

Repository files navigation

🏠 House Price Prediction β€” Random Forest ML App An end-to-end machine learning web app that predicts house prices using a Random Forest Regressor, built with Python and deployed via an interactive Streamlit UI.

🎯 Objective Predict house prices based on 12 property features including bedrooms, bathrooms, sqft, location, and renovation year β€” with real-time prediction on user-defined input data.

πŸš€ Key Features

πŸ€– Random Forest Regressor with 500 estimators for high accuracy 🏷️ Label Encoding for categorical city data πŸ“Š Model evaluation using RΒ² Score and MAE πŸŽ›οΈ Interactive Streamlit UI for real-time custom predictions πŸ“ˆ Dual-mode Chart Dashboard:

Predefined Charts β€” Bedroom count, Price vs Sqft, Monthly trend, Top 10 cities by avg price Custom Chart Builder β€” Bar, Horizontal Bar, Line, Scatter, Histogram with dynamic aggregation controls

πŸ› οΈ Tech Stack ToolPurposePythonCore programming languageScikit-learnRandom Forest model & preprocessingPandas & NumPyData manipulationMatplotlibData visualizationStreamlitInteractive web app UIKaggleDataset source

🧠 ML Model Details ParameterValueAlgorithmRandom Forest RegressorEstimators500Test Size30%Train Size70%Evaluation MetricsR² Score, MAEEncodingLabel Encoding (city column)

πŸ“ Features Used for Prediction bedrooms, bathrooms, sqft_living, sqft_lot, floors, view, condition, sqft_above, sqft_basement, yr_built, yr_renovated, city

πŸ“ Project Structure house-price-prediction-rf/ β”‚ β”œβ”€β”€ rf_mini_project.py # Main Streamlit app β”œβ”€β”€ requirements.txt # Dependencies └── README.md # Project documentation

▢️ How to Run

Clone the repository

bashgit clone https://github.com/Shiva-keerth/house-price-prediction-rf.git cd house-price-prediction-rf

Install dependencies

bashpip install -r requirements.txt

Download the dataset from Kaggle and place it in the project folder Run the Streamlit app

bashstreamlit run rf_mini_project.py

πŸ“Š Outcome

Built a fully interactive ML web app with real-time price prediction Custom Chart Builder allows dynamic exploration of the dataset Demonstrates end-to-end ML pipeline: Data β†’ Preprocessing β†’ Model β†’ Deployment

⚠️ Dataset not included β€” download from Kaggle

πŸ‘€ Author

Shiva Keerth G
πŸ“§ gantishivakeerth@gmail.com
πŸ”— GitHub | LinkedIn

About

End-to-end house price prediction app using Random Forest with 500 estimators real-time Streamlit UI and custom chart builder

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages