π 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
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
Shiva Keerth G
π§ gantishivakeerth@gmail.com
π GitHub | LinkedIn