Predicting mortgage credit defaults in morocco using machine learning approaches

Abstract This paper focuses on predicting mortgage payment defaults for clients of a leading financial institution in Morocco. Its novelty lies in the integration of machine learning techniques with data reflecting the economic and social context of the Moroccan population. This approach aims to improve the credit risk assessment by effectively distinguishing between creditworthy customers from borrowers at risk of default. Data preprocessing, such as normalization and class balancing using SMOTE, assured the quality of the data. Feature selection was performed according to advanced statistical techniques: Kruskal-Wallis test, Cramér’s V, and Information Value. From a simple model using logistic regression to modern and advanced models based on ensemble methods, ten different models were explored. Their performances were evaluated using metrics such as precision, recall, F1-score, and AUC. A bootstrap test, using the F1-score as the primary criterion, was conducted to determine whether the performance differences among the three top-performing models were statistically significant. Results reveal that among BaggingClassifier, XGBoost, and GradientBoosting, BaggingClassifier is the model best suited to our objective of minimizing false positives (FP) and false negatives (FN), while aligning perfectly with the characteristics of our dataset. With a high recall, BaggingClassifier ensures reliable detection of creditworthy clients, a critical aspect for credit risk management in a financial context. Although its precision is slightly lower than that of the other two models, BaggingClassifier compensates for this with a superior F1-score, reflecting an optimal balance between precision and recall. Furthermore, its strong AUC-ROC performance confirms its exceptional ability to effectively discriminate between positive and negative classes, reinforcing its relevance for our study.

Authors

Institutions

Publication Details

Journal
Discover Artificial Intelligence
Published
2025-06-18
DOI
https://doi.org/10.1007/s44163-025-00303-y
Citations
1
Primary Topic
Financial Distress and Bankruptcy Prediction
Type
article
Field-Weighted Citation Impact
3.91
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Predicting mortgage credit defaults in morocco using machine learning approaches

Amine Hade, Mohamed Elhia
1 citations
Discover Artificial Intelligence
Financial Distress and Bankruptcy Prediction
3.91
article

Predicting mortgage credit defaults in morocco using machine learning approaches

Amine Hade, Mohamed Elhia
article en
1 citations

Abstract

Abstract This paper focuses on predicting mortgage payment defaults for clients of a leading financial institution in Morocco. Its novelty lies in the integration of machine learning techniques with data reflecting the economic and social context of the Moroccan population. This approach aims to improve the credit risk assessment by effectively distinguishing between creditworthy customers from borrowers at risk of default. Data preprocessing, such as normalization and class balancing using SMOTE, assured the quality of the data. Feature selection was performed according to advanced statistical techniques: Kruskal-Wallis test, Cramér’s V, and Information Value. From a simple model using logistic regression to modern and advanced models based on ensemble methods, ten different models were explored. Their performances were evaluated using metrics such as precision, recall, F1-score, and AUC. A bootstrap test, using the F1-score as the primary criterion, was conducted to determine whether the performance differences among the three top-performing models were statistically significant. Results reveal that among BaggingClassifier, XGBoost, and GradientBoosting, BaggingClassifier is the model best suited to our objective of minimizing false positives (FP) and false negatives (FN), while aligning perfectly with the characteristics of our dataset. With a high recall, BaggingClassifier ensures reliable detection of creditworthy clients, a critical aspect for credit risk management in a financial context. Although its precision is slightly lower than that of the other two models, BaggingClassifier compensates for this with a superior F1-score, reflecting an optimal balance between precision and recall. Furthermore, its strong AUC-ROC performance confirms its exceptional ability to effectively discriminate between positive and negative classes, reinforcing its relevance for our study.

Discover Artificial IntelligenceVol. 5(1)
University of Hassan II Casablanca (MA)
Reduced inequalities, Peace, Justice and strong institutions
Openalex Percentile: Top 7%
Financial Distress and Bankruptcy Prediction
3.91
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Predicting mortgage credit defaults in morocco using machine learning approaches — Amine Hade, Mohamed Elhia · Discover Artificial Intelligence (2025) | TGRS Research Map | TGRS