This project aims to develop a Financial Crisis Early Warning System using deep learning techniques. We focus on predicting financial crises based on historical financial indicators. The dataset includes GDP growth, unemployment rate, inflation rate, interest rate, stock market return, credit growth, housing market index, and a binary indicator for financial crises.
The dataset is synthetic and contains the following columns:
- Date
- GDP_Growth
- Unemployment_Rate
- Inflation_Rate
- Interest_Rate
- Stock_Market_Return
- Credit_Growth
- Housing_Market_Index
- Financial_Crisis
The EDA process includes:
- Loading and displaying the dataset.
- Checking for missing values.
- Statistical description of the dataset.
- Visualizing the time series of each feature.
- Plotting the correlation matrix.
- Plotting histograms and pairplots to understand the distribution and relationships between variables.
We implemented three deep learning algorithms:
- LSTM (Long Short-Term Memory)
- GRU (Gated Recurrent Unit)
- Dense Neural Network (DNN)
An LSTM model is built to capture long-term dependencies in the time series data.
A GRU model is implemented as an alternative to the LSTM, focusing on reducing the computational cost.
A simple DNN model is used as a baseline for comparison with the sequential models.
- pandas
- numpy
- matplotlib
- seaborn
- scikit-learn
- tensorflow