Skip to content

Enhanced Feature Engineering for Crisis Prediction #296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

FreeSpirit11
Copy link
Contributor

Enhancing Feature Engineering for Banking Crisis Prediction Model

Description:
The code introduces several feature engineering techniques to improve the predictive performance of the banking crisis prediction model.

Interaction Terms: Multiplication of 'systemic_crisis' and 'domestic_debt_in_default' to capture their interaction effect.
Ratio Features: Calculation of the ratio between 'exch_usd' and 'inflation_annual_cpi' to provide a normalized exchange rate.
Moving Averages: Computation of the 3-month moving average of 'gdp_weighted_default' to smooth out short-term fluctuations.
Difference Features: Calculation of the difference in 'inflation_annual_cpi' between consecutive years to capture changes over time.
Categorical Aggregations: Aggregation of mean inflation rates for each level of the 'banking_crisis' variable to provide additional insights.
These feature engineering techniques aim to extract more meaningful information from the existing data, potentially enhancing the model's ability to predict banking crises in African economies.

@FreeSpirit11
Copy link
Contributor Author

Hi @Akshat111111 , Please assign labels GSSOC and level 2 to this PR.

Resolves #266 .

Copy link
Owner

@Akshat111111 Akshat111111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly change the file name, untitled is there

@FreeSpirit11
Copy link
Contributor Author

FreeSpirit11 commented Jun 5, 2024

Hi @Akshat111111 , I have changed the file name to "African_Crisis_Prediction.ipynb". Please check now.

Copy link
Owner

@Akshat111111 Akshat111111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, now its fine

@Akshat111111 Akshat111111 merged commit 668f344 into Akshat111111:main Jun 6, 2024
1 check passed
Copy link

github-actions bot commented Jun 6, 2024

🎉 Your pull request has been successfully merged! 🎉 Thank you for your contribution to our project. Your efforts are greatly appreciated. Keep up the fantastic work! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants