This project aims to predict housing prices in California using a Random Forest Regressor and visualize homes based on user inputs using DALL-E. The interactive application allows users to input various features of a house and get a predicted price along with a generated image of the house.
- Overview
- Installation
- Usage
- Features
- Data Preprocessing
- Model Training
- Interactive GUI
- Image Generation
- Personal Experience
- License
-
Clone the repository:
git clone https://github.com/suriyakumar99/california-housing-rf.git
-
Install Jupyter Notebook:
pip install notebook
-
Navigate to the project directory:
cd california-housing-rf
-
Launch Jupyter Notebook:
jupyter notebook
-
Open
housing_price_prediction.ipynb
and run the cells to start the interactive GUI.
- Predict housing prices in California using a Random Forest Regressor.
- Visualize homes based on input features using DALL-E.
- Interactive GUI for user inputs.
The California Housing dataset is preprocessed by handling missing values, scaling features, and creating additional features such as:
- Rooms per household
- Bedrooms per room
- Population per household
The preprocessed data is used to train a Random Forest Regressor to predict housing prices. The model is evaluated on a test set to ensure accuracy.
An interactive GUI is created using ipywidgets
to allow users to input house features and get real-time predictions and visualizations.
DALL-E is used to generate images based on the user inputs. The generated image provides a visual representation of the house with the specified features.
As an international student living in Riverside, California, I have experienced the challenges posed by the current housing bubble. The rising prices have made it increasingly difficult to find affordable housing. This project not only enhanced my understanding of machine learning and AI but also provided a practical tool to navigate the complex housing market.
This project is licensed under the MIT License. See the LICENSE file for details.