A newer version of the Gradio SDK is available: 6.17.3
metadata
title: California House Price Prediction
emoji: ๐
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
license: mit
California House Price Prediction ๐
Interactive demo for predicting California house prices using a Random Forest model.
How to Use
Adjust the sliders to set house features:
- Location: Longitude and Latitude
- Age: Housing median age
- Size: Total rooms, bedrooms, population, households
- Income: Median income in the area
- Proximity: Distance to ocean
Click Submit to get the predicted house price
Model
This app uses the house-price-prediction model trained on California Housing dataset.
Features:
- Random Forest Regressor (scikit-learn)
- RMSE: ~$47,000-49,000
- Trained on 20,640 California districts
Examples
Try these sample inputs:
- Bay Area House: High median income, near bay location
- Inland House: Lower median income, inland location