This project implements a predictive model to forecast whether it will rain tomorrow based on historical weather data. The dataset used is weather.csv, which includes various weather parameters.
- Logistic Regression model for predicting rainfall.
- Performance evaluation using a confusion matrix and accuracy metrics.
- Visualization of the confusion matrix as a heatmap for better interpretability.
To run this project, follow these steps:
- Install Python on your system if you haven't already.
- Download the dataset (weather.csv) and place it in the same directory as the Python code.
- Run the code in your command line by executing:
python path/to/your/script.py
A heatmap visualization of the confusion matrix will also be generated for a more intuitive understanding of the model's performance.
- Python
- Pandas
- Sci-kit Learn
- Matplotlib
- Seaborn