Predicting house rent is a challenging yet rewarding task, and this project employs Long Short-Term Memory (LSTM) model to forecast rental prices. The dataset includes features such as location, square footage, number of bedrooms, etc., and the target variable is the rental price.
This project aims to predict house rent prices using a specialized LSTM model. LSTM is a type of recurrent neural network (RNN) capable of handling sequential and time-series data effectively. The dataset is preprocessed to accommodate LSTM's input requirements, and the model is trained and evaluated to forecast house rent values.
To run this project, ensure you have Python and the following libraries installed:
- pandas
- numpy
- scikit-learn
- TensorFlow
- matplotlib
- plotly
- jupyter
You can install them using the following command:
pip install pandas numpy scikit-learn tensorflow matplotlib seaborn jupyter
- Clone the repository:
git clone https://github.com/Mohshaikh23/House-Rent-Prediction.git
cd house-rent-prediction
- Launch Jupyter Notebook:
jupyter notebook
The Jupyter Notebook in this repository contains the code for data preprocessing, LSTM model building, and evaluation. Open the notebook and follow the step-by-step instructions to run the code and observe the results.
The project utilizes TensorFlow to build an LSTM model suitable for sequential data like house features over time. The dataset is split into training and testing sets. The LSTM model is trained using the training data, and its performance is evaluated on the testing data.
The trained LSTM model's performance is evaluated using metrics like Mean Squared Error (MSE) and Root Mean Squared Error (RMSE). The predictions are visualized using line plots to compare the model's predictions with the actual house rent prices.
Contributions are welcome! Feel free to open an issue or submit a pull request if you find any issues or have suggestions for improvements.
This project is licensed under the MIT License - see the LICENSE file for details.