1.
Introduction
Credit scoring has grown in importance and has been thoroughly researched by banks and financial institutions.
However, a significant number of pointless and redundant features are present in credit scoring datasets. Banks and financial institutions place a lot of emphasis on credit rating in order to distinguish between poor and excellent customers [1]. Recently, several systems of credit scoring have been successfully implemented to support credit agreement decisions [2]. Generally, credit scoring problems are related to classification by statistical methods. Credit scoring models have been extensively used for credit agreement evaluation and have become one of the major ways for financial institutions to assess credit risk, get better cash flow, minimize possible risks, and produce managerial decisions [3] [4]. The results required for specific credit score applications are provided by researching the best features and using the more developed classifiers to match samples.
The most significant variable that can affect the categorization accuracy is FS. The size of the search space will be huge if the dataset has a lot of features, which will lower the classification accuracy rate. Eliminating noise, irrelevant features, and redundant features can be a robust and active feature selection strategy [5]. According to the mechanism of selection, FS approaches, in general, can be classified into three groups: filter approaches, wrapper approaches, and approaches [6] [8]. One of the most used FS ways is the use of filters, which base their decisions on learning more about each feature's characteristics and a predetermined criterion. These techniques or strategies function independently and are not based on a classification or dependent upon it. On the other hand, the FS technique largely depends on the effectiveness of the classification algorithms for the wrapper approaches to increase classification accuracy. FS process is incorporated into classification algorithms in embedded systems, allowing for simultaneous FS and classification performance [9] [10]. These approaches provide higher computational efficiency compared with the wrapper approaches [7].
To increase the performance of the classification, the hybrid approaches can be utilized. In hybridization, good properties of at least two approaches are combined to enhance the performance of each approach [11] [12].
The pigeon optimization algorithm (POA) is one of the most important parallel heuristic searches, which is inspired by the natural selection process and the main concepts in genetics [13] [14] [15]. The POA has been used as a tool to perform feature selection of credit scoring.
Using the support vector machine (SVM) as a classifier, a novel hybrid feature selection strategy that combines the characteristics of the POA and the backpropagation neural network (BPNN) is presented in this paper in order to reduce the dimension of data features, eliminate redundant features, and ultimately improve the performance of classification tasks for credit scoring. The results, which are based on three benchmark datasets from the UCI machine learning repository, show that the suggested hybrid technique produces superior classification performance than other rival approaches.
1. Methodology 1.1. The problem of feature selection (FS)
FS method is a procedure that decreases or minimizes the number of characteristics and picks selected features as subsets of total features. Prior to classifying data, key characteristics are identified, and unnecessary features are removed using the FS approach. FS is used for a variety of purposes, however obtaining classification accuracy is the most crucial one. It consists of four basic procedures [16]: (1) subset generation operation, (2) subset estimation operation, (3) stopping condition operation, and (4) result confirmation operation.
A subset of features can be evaluated using the subset generation method depending on a predetermined criterion.
According to a specific assessment criterion, each candidate subset is assessed and contrasted with the prior best one. The prior subset is eliminated if the new subset is superior [17] [18].
The procedure of evaluation is periodic until a specific stopping factor is checked, and then the most excellent subset needs to be validated by prior information or various tests by means of real datasets [19]. The procedure of subset generation and evaluation is periodic until a given stopping factor is checked, and then we should check the accuracy of most feature subsets by prior information or various tests by means of real datasets [20].
1.2. Pigeon optimization algorithm (POA)
POA is a class of evolutionary algorithms that uses principles of natural evolution and identity of the genetic evolution of organisms, which it introduced by John Holland in 1970 [21]. POA is a heuristic search that modifies the individual functions of coded individuals as real or binary strings by using operators of POA. It finds the optimal solutions from a randomly created population, repeatedly modifies the individual at each stage to be parents and uses the parents to find the offspring for the next generation. The individuals are evaluated using a fitness function that is determined to problem [22].
The POA uses primary operations on the population: selection, crossover (recombination), and mutation to find the optimal solution, and the algorithm is stopped when either a maximum number of generations has been generated or the optimal solutions have been reached by fitness function [23]. Several procedures are important for pigeon optimization algorithms. They are initialization, fitness evaluation, selection, crossover, mutation, and termination.
1.3. Backpropagation Neural Network A multilayer feedforward neural network (NN) is used in the backpropagation neural network (BPNN) technique to transmit the categorization pattern. The following figures illustrate the general layout of the BPNN, which includes some hidden levels, one input layer, and one output layer [24].
The BPNN structure consists of the input layer, one or more hidden layers, and an output layer. The main steps of the BPNN algorithm are [25] [26]:
1. Create the weights ( ) w and bias ( ) b values randomly.
2. Choose the training pair {( , ) : , } x t x X t T from the training group[ , ] X T , wh X ich represents the input vector, x X and T the target (desired) vector. 3. Apply the network forward propagation process to the output account by using the following two equations.
( ) ( ), j j ij i k o f net f w x = = (1)
( ) ( ), k k jk i k o f net f w x = = (2)
Where Eq. (1) represents the output between the input and hidden layer, while Eq. (2) represents the final output between the hidden layer and the output layer. 4. Compare the final output k o with the desired output kt and calculate the error value k of the output as the following.
( ) ( ) ( )(1 ), k k k k k k k t o f net t o o = − = − −
, new old jk jk k k w w o = +
Where jk w represents the learning rate, which is supposed to be a small positive real number.
5. Correct the weights of the BP over the network (from the output layer to the hidden layer and to the input layer) by minimizing the error, as follows:
j j j jk k j o o w
1 (1 ) ,
Where j represents the errors in hidden layers and jk w represents the weights between the hidden layer and the output layer. 6. Minimize the total error for all inputs used in the training set as follows: , new old ij ij j j w w o = +
Where ij w represents the weights on the connection from the input layers to the hidden layers.
1.4. Support Vector Machine
Support vector machine (SVM) is a group of supervised machine learning that divides the data into two categories based on statistical learning theory [16]. In the case of linearly separable data, SVM aims to maximize the distance between the training points set and the boundary; however, in the case of nonlinearly separable data, the kernel function maps patterns to a high dimensional space [27].
The hyperplane is defined by the 0 T w x b + = , where the weight N w R N b R is the constant. Giving some training dataset D, as the following:
1 { ( , ) : , { 1,1}} , n m i i i i i D x y x R y = = − (3)
Where 𝑥𝑖 is a n-dimensional vector, 𝑦𝑖 is the class (either +1 or -1). SVM has two hyperplanes that are defined
1 T w x b + = + 1 T w x b + = −, The two functions can be simplified and combined with one function as follows :
( ) 1. T iy w x b + (4)
SVM finds the optimal separating value ( ) T f x w x b = + . The classifier is:
T i i i i f x y x x b
1 ( ) sgn( ),
Where sgn(.) is the sign function, i is Lagrange multiplier, ix is a training sample, x is a test sample. Let the distance from the data point to the hyperplane be1/ || || w . The training of SVM for the non-separable case is solved using a quadratic optimization problem that is shown in the following equation [28] :
1 min ( , ) ; 0. 2 i i i w w C
Such that
( ( ) ) 1 1 . T i i i y w k x b for i N + −
Every constraint can be satisfied if iis sufficiently large and C is a regularization parameter. SVM will transform the data in the non-linear case from lower dimensional space into a higher-dimensional space through special functions called kernel, where the classifier is: [29] [30].
T i i i i f x y K x x b
1 ( ) sgn( ( , ) ),
Where (.) K is the kernel function? There exist several types of kernel function, such as radial basis function (RBF) which is defined as:
2 1 2 1 2 ( , ) exp( ). K x x x x = − − (8)
2. The proposed algorithm
Our suggested algorithm is introduced in this section. The backpropagation neural network (BPNN) and pigeon optimization algorithm (POA) are the two fundamental components of our hybrid method. The POA works to choose the feature subsets through the FS process, and the BPNN then assesses the feature subsets using the fitness function approach. The capacity of each group of characteristics in POA to discriminate is assessed using the fitness function.
In the global feature selection methods, the number of all possible subsets is calculated from the following equation [3] [31]:
2 , k k n = (9)
Specific requirements, such as calculating classification accuracy, error, or both, are required by the fitness function in POA. A subset of the chosen characteristics is used to represent each chromosome (person), and the fitness function of each individual is determined by evaluating the BPNN using a training set [32]. The individuals in the current population are evaluated by fitness function based on the error of BPNN.
Eq. 10 was used to calculate the error (Err) between the expected (from BPNN) and observed value. To optimize the weights, learning techniques such as the steepest descent were utilized [33].
2 1 Err ( ) , 2 j j t r j
E Fit e n
Where E represents BPNN-based classification error and fn represents the cardinality of the selected features.
BPNNs are employed because they provide strong generalization, even if it may be challenging to identify the ideal network parameters. The input layer with N (number of features) nodes, the hidden layer with 6 nodes, and the output layer with 1 node made up the BPNN architecture. In Table 1, the POA configuration is detailed.
Parameter Name Values
Population Size 25
Initial Population Range [-100 100]
The important steps in the hybrid BPPOA are shown in Figures 3 and 4.
Let { , 1,2,... } N k i k P x R i n = = represents the set of genomes in the th k generation, where k represents the number of generations and 1,2,... k n k = . A pseudo-code for the BPPOA can be written as follows:
START
Create an initial population 1 1 { , 1,2,3,.... } N i p x R i n = =
WHILE iteration number < Max number of iteration
FOR each individual (chromosome), Evaluate_Fitness ( ip ):
Create BP_Neural Network
BPNN_Train
BPNN_Validate
BPNN_Test
Classification Accuracy (Fitness Function)
END_FOR
Genetic Operations
Selection, Crossover, Mutation
END_ WHILE
Output _Fittest Chromosome ( k p )
END
3. Experimental results
The proposed algorithm, BPPOA, in this section, is evaluated by comparing it with POA-KNN and SVM methods.
3.1. Datasets Our proposed approach has been tested using three publicly available benchmark credit-scoring datasets that were picked from the UCI machine learning repository (https://archive.ics.uci.edu/ml/index.php). The goal variable in the used datasets is a binary variable that represents the customer's credit status with good=1 and bad=0. The credit score datasets for Australia, Germany, and Japan are described in Table 2. The training and testing data sets were separated for each dataset. The evaluation of the classification utilized a training dataset (80% of all samples), while the evaluation of the external classification of the methods used a test dataset (20%). Table 2: The description of the used datasets
Dataset # Samples # Features Target class
Australian 690 14 2
German 1000 24 2
Japanese 690 15 2
4.2. Evaluation criteria
For the performance evaluation of the used methods, several criteria were calculated. All of these criteria are based on the confusion matrix. They are defined as:
(1) Classification accuracy (CA)
, Classification accura TP+TN = TP c + y FP+FN+TN
(12)
(2) Type I error (T(I))
FP TypeIerror = , FP+TN
(13)
(3) Type II error (T(II))
FN TypeIIerror = , TP+FN
(14)
(4) G-mean
, FP FN G FP+ n TN T -mea = P+FN (15)
where FP is the number of false positives, FN is the number of false negatives, TP is the number of true positives, and TN is the number of true negatives. Type I error displays the rate of classifying the bad credit status of the customer incorrectly into good credit status. Type II error demonstrates the frequency with which customers' good credit status is mistakenly classified as negative credit status. When the datasets are imbalanced, the G-mean criteria are employed to demonstrate the joint performance of sensitivity and specificity. The best classifiers are those with higher classification accuracy, g-mean, and lower values for both Type I error and Type II error, in accordance with these criteria.
4.3. Classification results
The outcomes of the BPPOA, POA-KNN, and SVM evaluation criteria are averaged over 20 times. The calculated findings for the German dataset are shown in Table 4, those for the Japanese dataset are given in Table 5, and those for the Australian dataset are given in Table 3. Table 6 also includes the corresponding outcomes from the test dataset. The average CA for the BPPOA of the Australian, German, and Japanese credit datasets is 92.326%, 94.885%, and 95.959%, respectively. The average CA for the POA-KNN is 87.909%, 79.197%, and 89.076%, and the average CA for the SVM is 80.372%, 67.093%, and 88.291%. Due to this, when compared to POA-KNN and SVM, our suggested hybrid algorithm achieves the best classification accuracy.
The overall number of characteristics is greatly decreased by employing BPPOA, going from 14 for the
Australian credit dataset to 5, from 24 for the German credit dataset to 15, and from 15 for the Japanese credit dataset to 7. Additionally, compared to POA-KNN and SVM, the number of selected features needed to achieve BPPOA's classification accuracy is noticeably smaller. Using the three credit-scoring datasets, our suggested hybrid algorithm chose at least 30.834% fewer characteristics than the other two approaches.
Tables 3 through 5 show that, when compared to POA-KNN and SVM, the average Type I error and Type II error for the BPPOA are significantly reduced for all datasets studied. This suggests that BPPOA has the ability to discriminate favorably between undesirable and desirable applicants. The BPPOA, for example, obtains the best discriminating between the poor and good applicants of both Type I error and Type II error by 93.314% and 93.316% of POA-KNN and by 93.459% and 95.538% of SVM with regard to the German credit dataset. On the other hand, the suggested hybrid algorithm beats POA-KNN and SVM in terms of the average G-mean, which results in a good balance between sensitivity and specificity. This demonstrates that BPPOA is quite good at differentiating between good and poor clients.
Additionally, the BPPOA produces classification accuracy that is comparable to POA-KNN and SVM for the testing dataset. With a classification accuracy of 91.031% for the Australian credit dataset, BPPOA outperformed POA-KNN and SVM, which had classification accuracy of 87.917% and 79.254% respectively. In contrast, BPPOA identified the consumers for the German credit dataset with a CA of 92.581%, outperforming POA-KNN and SVM. Regarding the Japanese credit dataset, the BPPOA achieved a higher CA of 93.108% as opposed to POA-KNN's and SVM's, which were 87.105% and 86.806%, respectively.
Overall, it appears that the BPPOA hybrid technique we've suggested is suitable for categorizing credit datasets with good classification performance and few features.
BPPOA POA-KNN SVM
CA 97.697 (0.132) 84.767 (0.142) 70.993 (0.334)
T(I) 5.475 (0.137) 40.098 (0.136) 43.945 (0.207)
T(II) 4.348 (0.131) 30.987 (0.135) 45.432 (0.211)
G-mean 95.043 (0.133) 86.999 (0.142) 86.987 (0.341)
No. selected features 19 (0.006) 21 (0.008) All
4.4. Statistical Test
A non-parametric Friedman test was used to confirm our hybrid algorithm's capacity to choose the key features with high classification success. The training datasets' area under the curve (AUC) criterion was used to perform this test. Table (7) provides a summary of the statistical test findings for the post hoc Bonferroni test under three distinct critical values (0.01, 0.05, and 0.1) when the null hypothesis is rejected. Using the Friedman test statistic and the acquired results, the null hypothesis is rejected at a significance level of 0.05. According to the AUC criterion, this shows that there is statistical significance among the three employed techniques over the three utilized credit scoring datasets. Additionally, when compared to POA-KNN and SVM, the suggested algorithm, BPPOA, has the lowest average rank at 2.371. According to the findings of the Bonferroni test, it is obvious that POA-KNN and SVM have average ranks that are greater than 0.05 0.01 , and 0.10 , and. According to these findings, POA-KNN and SVM perform noticeably worse than our suggested method on credit scoring datasets from Australia, Germany, and Japan.
average rank
0.05 6.185 = ,
2 15.386 = , p-value (0.05)=0.0021
POA-KNN 7.069
SVM 10.152
0.10 5.907 =
4.5. Comparisons with other proposed methods To further highlight the performance of our proposed method, comparisons with other proposed methods for credit scoring in the literature are also presented in this paper. Our proposed method, BPPOA, outperformed these existing methods (see Table 8). It is clearly seen that our proposed method, BPPOA, yielded the highest classification accuracy in all datasets except that the proposed method by [38] yielded higher classification accuracy in the Australian dataset. Generally speaking, our proposed method is superior to other methods.
5. Conclusion
To accomplish feature selection and enhance the credit scoring classification, a hybrid method is presented in this research. The backpropagation neural network (BPNN) classifier and the pigeon optimization algorithm are combined to achieve this. Through three collections of well-known credit scoring datasets, the suggested hybrid algorithm was examined and contrasted with existing accepted techniques. Four features of the hybrid algorithm's classification criterion are presented: classification accuracy, Type I error, Type II error, and G-mean. The proposed algorithm is nominated as an effective feature selection approach that is helpful for credit scoring classification since it simultaneously meets these four requirements. Additionally, picking a few features could greatly enhance your categorization outcome. Overall, the applicability and utility of the proposed hybrid method in other kinds of classification datasets connected to a different field serve to highlight its superiority.