Text-overlap comparison
This pair was found by matching on title alone (find_title_bucket_dupes.py) — the usual paragraph-embedding similarity search never generated a candidate for it at any threshold. Below, both papers are rendered end to end as a single word-level diff: text the two share verbatim is highlighted, and everything that differs is marked where it falls. This is the view for a pair that is substantially one document rather than a handful of reused passages — what it shows is how little differs, and where.
PAPER A
PAPER B
Red and green mark two different things, both real: text present in only one paper, and single words substituted or inserted/deleted inside an otherwise-shared run. The run counts above separate them. Note also what the percentage counts: every word falling inside a matched run, including those edited words. Of the 4,641 words it counts as shared on the earlier side, 22 (0%) are substituted or inserted/deleted rather than identical — so read the figure as "this much of the document is the same passage", not "this much is word-for-word".
A Novel Ensemble-Deep Learning Approach for Accurate Credit Risk Prediction in Imbalanced Financial Datasets Rathan Kumar Chenoori1, Sunil Kumar Thota2, Pillareddy Vamsheedhar Reddy3, Padma BalaKrishna4 1,2 Assistant 1P.G Scholar, Department of MCA, Sri Venkatesa Perumal College of Engineering & Technology, Puttur, E-mail: cherukurivenkataraghava@gmail.com, ORC-ID: https://orcid.org/0009-0001-9809-9621 2 Academic Consultant, Sri Padmavati Mahila Visvavidyalayam, Tirupati, E-mail: gp.spmvv@gmail.com, ORC-ID: https://orcid.org/0009-0002-6142-5902 3Assistant CSE, Keshav Memorial Institute CSE(AI & ML), Sri Venkatesa Perumal College Engineering & Hyderabad, Telangana, India 3 Assistant Professor, Department of CSE-AIML, Keshav Memorial Engineering College, Hyderabad, Telangana, India 4 Assistant Professor, Department of CSE, Keshav Memorial Engineering College, Hyderabad, Telangana, India Puttur, E-mail: agraharamdheeraj3@gmail.com , ORC-ID: https://orcid.org/0009-0008-3870-4931 Abstract: The accurate prediction of credit risk is a crucial endeavor in the banking and finance sector which is impeded by the complexity and inaccessibility of financial data. This paper will use the Australian and German Credit data, and the preprocessing methods that will be applied are the management of class imbalance through SMOTEENN and feature extraction to identify relevant features. Various machine learning and deep learning models such as Convolutional Neural Networks (CNN), Multi-Layer Perceptron (MLP), Random Forest, and Logistic Regression are analyzed and evaluated using different performance indicators such as accuracy, precision, recall, F1-score, sensitivity, specificity, and confusion matrices. The approach suggested is a Stacking Classifier, which has strong generalization and predictive power in both data sets. A Voting Classifier (which combines Bagging with RF and AdaBoost with DT) is used to increase the accuracy, therefore, increasing the resilience and the generalization as a whole. The Voting Classifier achieves 100 percent accuracy on the German dataset (original and resampled), 98.3 percent on the resampled Australian dataset and 89.1 percent on original Australian dataset. To understand the model predictions and determine the significance of features, explainable AI approaches like LIME and SHAP are applied, therefore, improving the transparency and reliability. The models and preprocessing artifacts are finally made available through a Flask web application, where users can make real-time credit risk predictions with help of interpretability. “Index Terms: Credit risk, CNN, ensemble learning, machine learning, MLP, random forest”.
1. INTRODUCTION Financial risk management is based on credit risk prediction, which has a significant influence on the profitability and stability of lending institutions all over the world. Poor credit scoring does not only expose banks to losses but also poor credit scoring weakens market trust and resilience. Determining the trusted borrowers and potential defaulters is the key to successful financial operations. Traditional statistical procedures, though basic, often fail to reflect the complexity of modern financial systems. The credit risk is influenced by numerous factors such as the macroeconomic changes, the behavior of borrowers and market volatility and hence the rule-based models are not sufficient to address such complexities [4]. This has led to a growing need by financial institutions to have data-driven and dynamic structures that can support such complex interconnections [5]. ML has emerged as a powerful tool to overcome these limitations, offering the ability to process large, heterogeneous data sets and detect subtle trends linked to creditworthiness [6]. Unlike the traditional approach, ML models can be used to examine past patterns and apply the knowledge to new applicants more quickly and accurately [7]. The approaches based on logistic regression to advanced neural networks have demonstrated considerable credit scoring system improvements, placing ML at the centre of the impactful change to financial analytics [8]. Despite these developments, there remains a significant challenge: the unfair nature of credit data. In many loan cases, the ratio of defaulters to the applicants is only a small percentage, which leads to biased predictions that are favorable to the majority group [9]. This gap prevents the detection of highrisk borrowers, which is critical in reducing the financial losses. Scholars have explored data resampling techniques that create equal training samples, which increases sensitivity of the model to the minority group [10]. The given paper presents a more advanced ensemble architecture, which includes the implementation of multiple ML models and more sophisticated resampling methods. The goal of this method is to combine different classifiers in order to find linear and non-linear relationships in financial data as well Original Research Paper as address the issue of imbalance in datasets. The study discusses three main questions; how stacked ensembles improve predictive reliability compared to single models, the effectiveness of hybrid resampling methods in detecting minority classes, and the relative classification performance of the method used to the existing models.
2. LITERATURE REVIEW The challenge of estimating credit risk when the data may be unevenly distributed has acquired much interest during the past few years, and several scholars have suggested new approaches to increase the quality of classification and generalization. Jiang, Lu, Wang, and Ding [11] conducted an important benchmarking research in order to evaluate the state-of-the-art unbalanced learning techniques in the context of credit scoring. They systematically tested oversampling, undersampling, and hybrid algorithms, as well as algorithmic approaches such as cost-sensitive learning, on different financial data. The authors concluded that some resampling methods, including SMOTE and its variations, can improve the sensitivity of minority classes, but no single strategy was found to outperform all other evaluation measures. This benchmarking highlighted the importance of dataset properties and model choice in credit scoring, and also stimulated the study of hybrid ensemble models with the ability to integrate multiple strategies in a dynamic way to provide better stability in performance. A special study by Zhao, Cui, Ding, Li, and Bellotti [12] on resampling methodologies was aimed at solving the problem of class imbalance in credit risk prediction. They compared the effects of common resampling techniques, such as random oversampling, random undersampling, and hybrid approaches, such as SMOTE-ENN. The findings showed that hybrid approaches, which create instances of minority classes and at the same time clean up noisy majority samples, significantly enhance recall of default cases. However, they have admitted that the potential risk of overfitting could exist in the case of non-meticulous calibration of oversampling. Zhao et al. emphasized the importance of verifying the production of synthetic data and integrating resampling using the powerful classifiers to increase the generalization in practical use.
Alam, Shaukat, Hameed, Luo, Sarwar, Shabbir, Li, and Khushi [13] studied credit card default prediction using considerably unbalanced datasets, and offered empirical information on the effectiveness of ML classifiers at different degrees of imbalance. They examined decision trees, random forests, boosting algorithms, and neural networks using resampling methods and non-resampling. Ensemble based classifiers, including RF and AdaBoost, had shown competitive performance; however, they required resampling strategies in order to be able to accurately determine the patterns of minority classes. The authors highlighted that the degree of imbalance significantly affects the performance of the model, which is why the combination of preprocessing procedures with advanced classification models is necessary to guarantee the successful outcome of the model. Wang [14] suggested an unbalanced credit risk forecasting model which is based on SMOTE multikernel fuzzy c-means (FCM) clustering algorithm optimized by particle swarm optimization (PSO). This mixed approach not only corrected the imbalance in the classes but also improved the quality of clustering, which enabled better data representation prior to classification. The methodology provided by Wang disclosed that the combination of optimization procedures with resampling schemes could enlarge the feature groupings as well as the classifier effectiveness, thus, leading to the recognition of defaulters in unbalanced data. The work contributed to the existing literature by showing how optimizationbased clustering can be used to supplement traditional resampling to provide better predictability of risks. Despite the differences in their areas of focus, studies on DL structures have produced crosscutting solutions to feature extraction and hybrid models. Amin, Alsulaiman, Muhammed, Mekhtiche, and Hossain [15] proposed a multi-layer CNN feature fusion approach to EEG motor imagery classification that demonstrates the effectiveness of hierarchical convolutional feature extraction to obtain complex, high-dimensional features. Their approach proved the importance of convolutional layers in feature fusion, which is applicable to credit risk tasks, where financial data contains complicated interactions. Kour and Gupta [16] created a hybrid DL model to predict depression using Twitter data Original Research Paper by combining CNNs to extract features with bidirectional LSTMs to learn a sequence. This hybrid architecture proved that a combination of complementary neural architectures can be effective in capturing local and sequential dependencies, which can also be applied to temporal financial data in credit risk analysis. All these studies highlight the effectiveness of CNNs and hybrid neural networks as base learners in stacked ensembles in financial forecasting tasks. Alam et al. [17] carried out an in-depth investigation of imbalance problem by providing an empirical examination of credit card default forecasting with the use of a variety of machine learning algorithms on unbalanced data. Their study indicated that resampling and feature selection are important in improving prediction accuracy when the imbalance ratios vary. Alam and the others found that without preprocessing, the models failed to generalize to the minority classes, but when hybrid preprocessing procedures were used, recall increased significantly. Their results supported past claims made by Zhao et al. [12] about the importance of resampling design, but also added to the discussion on how feature engineering, resampling and classifier selection interact to affect final results. Besides the predicted accuracy, interpretability has emerged as an important feature of credit risk assessment. Suhadolnik, Ueyama and Da Silva [18] explored machine learning architecture in order to enhance credit risk assessment with a focus on interpretability and practicality. Their practical study emphasized the importance of transparent models that can provide information about decisionmaking and thereby satisfy the regulatory requirements in the financial sector. They explored interpretable model families with post-hoc explanations, demonstrating how the use of techniques such as feature importance analysis may improve trust and acceptance of AI systems in finance. This work corresponds with the growing use of explainable AI techniques such as LIME and SHAP into credit scoring systems. Classical algorithm study is also an important research in this field. Shilpa, Shaha, Hajek, and Abedin [19] constructed default risk prediction models based on the SVM and the logit-support version of the SVM. Their results suggested that margin-based classifiers are as competitive as ensemble models particularly when carefully tuned using kernel functions and class-weighting processes to eliminate imbalance. The authors demonstrated that SVM-based methods can serve as useful baselines and modules within ensemble stacks, which can be strong in terms of performance and interpretability through combination with other algorithms. Mienye and Jere [20] carried out an extensive review of decision trees, their principles, methods, and their applications. Their evaluation emphasized how decision trees could be flexibly used to handle various feature space, how they integrated well with ensemble methods, such as bagging and boosting, and how they continued to be important in fields such as credit scoring. Mienye and Jere have noted the strengths and weaknesses of decision tree methods, especially regarding their role in financial analytics as standalone classifiers and as the starting point in ensemble systems.
3. MATERIALS AND METHODS The suggested solution focuses on accurate forecasting of credit risk using the Australian and German Credit data based on the implementation of advanced ML and DL techniques. The preprocessing of the data includes handling the missing data, coding the categorical variables through the use of LabelEncoder [21], and normalization of the numerical features using StandardScaler [22]. To correct the imbalance between the classes, SMOTE-ENN is used to ensure that the classes are fairly represented [26]. The feature extraction reduces the dimensions and enhances the model efficiency [27]. CNN [29], MLP [24], RF [23], and LR [28] are representative predictive models that are capable of capturing diverse patterns of data. Ensemble techniques are performed through a Stacking Classifier, which combines CNN, Random Forest, and Logistic Regression and through a Voting Classifier, which combines Bagging with RF and AdaBoost with Decision Tree. Explainable AI procedures LIME and SHAP enhance interpretability, and the computation is simplified with the help of a Flaskbased web application to make real-time predictions [30]. Original Research Paper Fig.1 Proposed Architecture The suggested system design (fig.1) outlines a complete credit risk forecasting pipeline based on German and Australian credit data. The initial stage of data preprocessing involves the null values removal, deletion of duplicates, and the implementation of the exploratory data analysis. SMOTEENN deals with class imbalance, which is followed by data partitioning into training and testing set. Different ML and DL systems, like CNN, MLP, RF, LR and ensemble classifiers, are trained and evaluated with the help of large performance measures. The best model is deployed through Flask interface, which enables real-time risk prediction with explanation through LIME and SHAP [25]. a) Dataset Collection: German Dataset: The dataset (German credit) comprises 1,000 items with 10 attributes, such as Age, Sex, Job, Housing, Savings accounts, Checking account, Credit amount, Duration and Purpose. Categorical variables include Sex, Housing, Savings accounts, Checking accounts, and Purpose which have been coded to prepare the model. The value of the credit is used to create a binary tag based on the median. The data has been cleared of any null or duplicate records, and indexes are set to zero. This is a fined and balanced dataset which enables accurate prediction of credit risk after resampling with SMOTEENN.
Fig.2 German Dataset Australian Dataset: The Australian credit data set consists of 690 items and 14 features (named A1 to A14) and the target variable. Features include quantitative and qualitative financial aspects including account balances, work status, age, and credit term. There are no cases of missing or duplication of data and categorical columns have been handled to conform to the model. The target variable is the credit risk. After preprocessing and SMOTEENN resampling, the data is balanced, which will form a reliable foundation to train and test models and distinguish between high-risk and low-risk applicants.
Fig.3 Australian Dataset b) Exploratory Data Analysis (EDA): The purpose of the EDA is to understand the organization, distribution, and patterns of data sets. This involves the analysis of data types, identification of categorical and numerical attributes, checking the existence of the null value and checking the distributions of the classes. The imbalances in target classes are explained by visualisation tools, such as count charts. Exploratory Data Analysis can be used to detect anomalies, patterns and interdependence between characteristics and therefore informs feature selection and preprocessing. It supports informed decision-making at later stages, which improves the model performance and explainability to assess credit risk. c) Pre-processing: Pre-processing involves cleaning the raw data and transforming it into a model acceptable by ML. Some of the steps include dealing with missing values, removing duplicates, encoding the category variables using techniques like Label Encoding and normalizing or scaling the numerical variables. Additional tasks include the creation of new labels, feature extraction and ensuring consistency between datasets. These transformations reduce noise, solve discrepancies, and make the data machine-readable, making them more predictive and stable and allowing them to interact with resampling and model training strategies. d) Data Imbalancing and Balancing: Financial records often indicate imbalance in classes, which is in that there is a low number of high-risk applicants in comparison with the low-risk applicants. To overcome this, the technique of resampling, like SMOTEENN, is used, which combines the oversampling of minority classes with the removal of the noisy examples. This balances the Original Research Paper data set, which enhances the learning performance of machine learning models. Balanced datasets eliminate the bias of majority classes, increase the generalization of models and ensure that there is fair evaluation of accuracy and precision, recall, and other measures, resulting in reliable and robust credit risk predictions in diverse applicant groups. e) Training and Testing: After preprocessing and balancing, the two datasets are split into training and testing data to ensure that an unbiased evaluation is achieved. The models identify trends based on the sets of features in order to differentiate high-risk and low-risk applicants. Fair datasets facilitate learning in that they reduce biasness on dominant classes. Testing models with new data will ensure that they can be generalized, and therefore give reliable predictions. Resampled datasets help the models to detect subtle differences between the applicants as well as provide consistency, stability and strength to the credit risk prediction process. f) Algorithms: Convolutional Neural Network (CNN): Learns hierarchical feature representations of the input data, which capture complex patterns and associations. The convolution and pooling layers unearth some meaningful relationships among credit data, which improves the classification rates and detects subtle differences between risky and non-risky scenarios.
S(i, j) = ∑∑I(i+ m, j+ n) ∙K(m, n) n m (1) Multi-Layer Perceptron (MLP): A feedforward neural network, which denotes non-linear correlations between features and results. Latent features detect meaningful patterns and activation functions introduce non-linearity, which enables them to accurately differentiate between risky and non-risky credit cases and generalize to multiple financial data sets.
ŷ = f(WLf(WL−1 ∙ ∙ ∙f(W1X+ b1) + b(L−1)) + bL) (2) Random Forest (RF): A set of decision trees which combines numerous models to enhance precision in categorization. It reduces the overfitting, handles high-dimensional data, and evaluates subsets of features to accurately distinguish between high-risk and low-risk credit applicants and provides an insight into significant aspects.
Gini= 1 − ∑(Pi)2 C i=1 (3) Logistic Regression (LR): Predicts probabilities of binary variables with the use of financial and demographic variables. Offers decipherable coefficients to explain the features impact, provides a reliable benchmark with which to compare, and enables a clear and convincing assessment of high and low-risk credit applicants.
P(y= 1 |X) = 1 1 + e−(WTx+b) (4) Stacking Classifier: Combines predictions of the different underlying models, such as CNN, LR, and RF, to determine different patterns. Enhances the overall predictive effectiveness, fills deficiencies of the individual models, balances the trade-offs between bias and variance, and produces robust and accurate credit risk predictions.
= g y ^ (Ybase) = g(f1(x), f2(x), ... , fm(x)) (5) Voting Classifier: Majority vote or weighted averages Predictions, e.g. Bagging with RF and AdaBoost with Decision Tree, are combined by majority vote or average weights. Guarantees increase accuracy and robustness through datasets and minimize the effect of the single model errors.
ŷ = argmaxc(∑II (ŷi= c) n i=1 ) (6) g) Integration of XAI and Flask Framework The proposed solution will be based on the integration of XAI tools and the Flask web app to provide interpretable and real-time credit risk judgments. LIME comes up with localized explanations to the particular predictions and it focuses on the influence of each attribute to the projected outcome. SHAP improves this by showing global and local interpretability through summary plots, dependence plots, decision plots, and waterfall visualizations to demonstrate the effect of parameters like Age, Credit amount, and account balances on risk scores. Such explanations increase the level of transparency and allow the users to understand the logic of the model and develop trust in the automated credit decisions. Flask is a bare-bones web application on which users can input demographic and financial information. Immediate predictions are provided with LIME and SHAP visuals, which are useful to conduct interactive and interpretable credit risk analysis. This integration ensures that it is practically usable and provides easy understanding of the importance of the features and decision making hence making Original Research Paper the system suitable to both the technical and nontechnical users.
4. EXPERIMENTAL RESULTS International Journal of DATA SCIENCE AND IOT MANAGEMENT SYSTEM Accuracy: The test accuracy is related to the ability of a test to differentiate patient and health cases correctly. To determine the validity of a test, there is a need to calculate a ratio of true positives and true negatives on all the cases evaluated. This may be written in mathematical notation as:
Accuracy= TP + TN TP + FP + TN + FN (7) Precision: Precision measures the rate of correctly classified cases of those detected as positive. Therefore, the precision equation will be:
Precision= True Positive True Positive + False Positive (8) Recall: Recall is a ML metric that determines the ability of a model to identify all relevant examples of a certain type. The proportion of the correct positive observations of the overall actual positives, which provide information about the effectiveness of a model in detecting the incidences of a given class.
Recall= TP TP + FN (9) F1-Score: F1 score is a statistic that is employed to measure the precision of a ML model. It combines the recall and accuracy of a model. The accuracy measure is a measure of the correct prediction rate given by a model on the full set of data.
F1 Score= 2 ∗Recall X Precision Recall+ Precision∗100(10) Sensitivity: The sensitivity determines how effective a test or equipment is in revealing a condition in an individual. It is established through comparison of the number of people who test positive of an ailment and the real prevalence of the illness.
Sensitivity= TP (TP+ FN) (11) Specificity: It is calculated by calculating the number of people who tested negative of something and then dividing it by the total of people who did not have the ailment, including people who tested negative and people who tested positive, but were not actually having the ailment.
Specificity= TN (TN+ FP) (12) Table.1 Performance Evaluation Table - Australian Dataset – Data Resampling ML Mod el Acc urac y F1 Sc or e Re cal l Prec isio n Sens itivit y Spec ificit y CNN 0.91 7 0. 91 7 0.9 17 0.91 7 0.91 7 0.91 8 MLP 0.98 3 0. 98 3 0.9 83 0.98 4 0.98 3 0.98 2 Rand om Fore st 0.96 7 0. 96 7 0.9 67 0.96 9 0.96 7 0.96 9 Logi stic Regr essio n 0.98 3 0. 98 3 0.9 83 0.98 4 0.98 3 0.98 4 Stac king Class ifier 0.96 7 0. 96 7 0.9 67 0.96 7 0.96 7 0.96 7 Voti ng Clas sifier 0.98 3 0. 98 3 0.9 83 0.98 4 0.98 3 0.98 4 Table 1 shows that the Voting Classifier outperforms other models showing the greatest general predictive effectiveness and robust credit risk classification. Table.2 Performance Evaluation Table – Australian Dataset – Original Data ML Mod el Acc urac y F1 Sc or e Re cal l Prec isio n Sens itivit y Spec ificit y CNN 0.85 5 0. 85 3 0.8 55 0.85 4 0.85 5 0.81 0 MLP 0.71 0 0. 70 5 0.7 10 0.71 6 0.71 0 0.72 5 Rand om Fore st 0.87 7 0. 87 8 0.8 77 0.88 2 0.87 7 0.83 9 Original Research Paper Logi stic Regr essio n 0.86 2 0. 86 2 0.8 62 0.86 2 0.86 2 0.84 6 Stac king Class ifier 0.85 5 0. 85 5 0.8 55 0.85 4 0.85 5 0.84 2 Voti ng Clas sifier 0.89 1 0. 89 2 0.8 91 0.89 4 0.89 1 0.86 3 The Voting Classifier has better performance in Table 2 whereby it outperforms other models in accurately predicting credit risk.
Table.3 Performance Evaluation Table – German Dataset – Data Resampling ML Mod el Acc urac y F1 Sc or e Re cal l Prec isio n Sens itivit y Spec ificit y CNN 0.90 5 0. 90 4 0.9 05 0.91 4 0.90 5 0.90 4 MLP 0.94 5 0. 94 5 0.9 45 0.94 5 0.94 5 0.94 5 Rand om Fore st 1.00 0 1. 00 0 1.0 00 1.00 0 1.00 0 1.00 0 Logi stic Regr essio n 0.94 0 0. 94 0 0.9 40 0.94 1 0.94 0 0.93 9 Stac king Class ifier 1.00 0 1. 00 0 1.0 00 1.00 0 1.00 0 1.00 0 Voti ng Clas sifier 1.00 0 1. 00 0 1.0 00 1.00 0 1.00 0 1.00 0 Table 3 shows that over the rest of the models, the Random Forest, Stacking Classifier, and Voting Classifier are much better in their performance of flawless credit risk prediction.
Table.4 Performance Evaluation Table – German Dataset – Original Data ML Mod el Acc urac y F1 Sc or e Re cal l Prec isio n Sens itivit y Spec ificit y CNN 0.96 0 0. 96 0 0.9 60 0.96 0 0.96 0 0.96 1 MLP 0.92 5 0. 92 5 0.9 25 0.92 6 0.92 5 0.92 1 Rand om Fore st 1.00 0 1. 00 0 1.0 00 1.00 0 1.00 0 1.00 0 Logi stic Regr essio n 0.95 5 0. 95 5 0.9 55 0.95 5 0.95 5 0.95 4 Stac king Class ifier 1.00 0 1. 00 0 1.0 00 1.00 0 1.00 0 1.00 0 Voti ng Clas sifier 1.00 0 1. 00 0 1.0 00 1.00 0 1.00 0 1.00 0 Table 4 shows that the RF, Stacking Classifier, and Voting Classifier models outperform the rest and achieve a perfect prediction in credit risk assessment.
Fig. 4 Comparison Graph - Australian Dataset – Data Resampling Paper A comparative graph in figure 4 shows the effectiveness of some of the models, with the Voting Classifier as the better model in general.
Fig. 5 Comparison Graph – Australian Dataset – Original Data 0.88 0.9 0.92 0.94 0.96 0.98 1 Accuracy F1 Score Recall Precision Sensitivity Specificity Fig. 5 shows that the Voting Classifier has the best performance, as it outperforms other models in terms of graphically depicting the effectiveness of credit risk prediction. Fig. 6 Comparison Graph – German Dataset – Data Resampling The Random Forest, Stacking Classifier, and Voting Classifier also outperform the rest of the models in Fig. 6, which is an absolute sign of the best effectiveness in credit risk predicting.
Fig. 7 Comparison Graph – German Dataset – Original Data Fig. 7 shows that the RF, Stacking Classifier, and Voting Classifier outperform other models, and they have perfect predictive performance in credit risk analysis.
Fig. 8 Upload Input Data Fig. 8 shows the input interface where the user is allowed to enter credit data such as account status, amount, duration and loan purpose before prediction.
Fig. 9 Predicted Results 0.88 0.9 0.92 0.94 0.96 0.98 1 Accuracy F1 Score Recall Precision Sensitivity Specificity 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Accuracy F1 Score Recall Precision Sensitivity Specificity 0.84 0.86 0.88 0.9 0.92 0.94 0.96 0.98 1 1.02 Accuracy F1 Score Recall Precision Sensitivity Specificity 0.88 0.9 0.92 0.94 0.96 0.98 1 1.02 Accuracy F1 Score Recall Precision Sensitivity Specificity Paper Fig. 8 Upload Input Data Fig. 8 shows the input interface where the user is allowed to enter credit data such as account status, amount, duration and loan purpose before prediction. Fig. 9 Predicted Results Figure 9 represents the type of input form that requests users to enter their account details, such as type of account, credit amount, term, and purpose of the loan to be used in predictive analysis.
Fig. 10 Upload Input Data In Figure 10, the screenshot of a user interface is provided to input the financial and demographic variables that are relevant to the prediction of credit risks.
Fig. 11 Predicted Results The output screenshot, which shows the expected credit risk, the respective probabilities, and also the major feature contributions to the applicant, appears in figure 11.
5. CONCLUSION The developed credit risk prediction framework demonstrates the effectiveness of applying a complex ML and DL framework with data balancing and ensemble strategies to deal with problems in financial data. The Australian and German Credit dataset were preprocessed, this involved dealing with the issue of class imbalance with SMOTEENN, feature extraction, category encoding, and normalization of the data to facilitate modeling. CNN, MLP, RF and LR were trained and evaluated on the basis of accuracy, precision, recall, F1-score, sensitivity, specificity and confusion matrices. The proposed Stacking Classifier which combines CNN, LR and RF showed good generalization and good predictive ability on both datasets. A Bagging ensemble Voting Classifier with RF and AdaBoost with DT reached 100 percent on the German dataset (both original and resampled), 98.3 percent on the resampled Australian dataset, and 89.1 percent on the original Australian dataset. LIME and SHAP are explainable AI methodologies that clarified the importance of the features, thereby improving transparency and interpretability. The introduction of Flask web application allows real-time prediction of credit risks given the input of a user, demonstrating the reliability, stability, and usefulness of the system. Credit risk prediction system can be improved by incorporating additional financial data to increase the model generalization and flexibility in a variety of banking situations. Predictability, forecast Original Research Paper accuracy, can be enhanced by the use of real-time data streams and automatic data upgrades. Future research can be related to the implementation of more advanced DL models, such as attention-based ones, to explain complex associations between features. The deployment using cloud platforms improves scalability and accessibility to many users. By incorporating explainable AI to perform automated feature analysis and establish risk mitigation strategies, one can get actionable information, which increases the strength, transparency, and usefulness of the system in financial decision-making.