Loading [MathJax]/jax/output/SVG/jax.js
Research article Special Issues

An efficient method of detection of COVID-19 using Mask R-CNN on chest X-Ray images

  • Artificial intelligence techniques are used on chest X-ray images for accurate detection of diseases and this paper aims to develop a process which is capable of diagnosing COVID-19 using deep learning methods on X-ray images. For this purpose, we used Mask R-CNN method to train and test on the dataset to classify between patients infected and non-infected with COVID-19. The dataset used here contains a large number of frontal views of X-ray images which are an essential resource for the algorithms used in the development of tools for the detection of COVID-19. Using 668 chest X-ray images, the proposed model achieved an accuracy as high as 96.98%, specificity of 97.36% with the precision of 96.60%. The entire process is presented in detail. When a comparison table on the AI-based techniques is prepared, it is noticed that the Mask R-CNN technique on chest X-ray images provides better efficiency in the detection of COVID-19. The Mask R-CNN method is found to be accurate and robust in the detection of COVID-19 from chest X-ray images.

    Citation: Soumyajit Podder, Somnath Bhattacharjee, Arijit Roy. An efficient method of detection of COVID-19 using Mask R-CNN on chest X-Ray images[J]. AIMS Biophysics, 2021, 8(3): 281-290. doi: 10.3934/biophy.2021022

    Related Papers:

    [1] Swarnava Biswas, Debajit Sen, Dinesh Bhatia, Pranjal Phukan, Moumita Mukherjee . Chest X-Ray image and pathological data based artificial intelligence enabled dual diagnostic method for multi-stage classification of COVID-19 patients. AIMS Biophysics, 2021, 8(4): 346-371. doi: 10.3934/biophy.2021028
    [2] Soumyajit Podder, Abhishek Mallick, Sudipta Das, Kartik Sau, Arijit Roy . Accurate diagnosis of liver diseases through the application of deep convolutional neural network on biopsy images. AIMS Biophysics, 2023, 10(4): 453-481. doi: 10.3934/biophy.2023026
    [3] Dafina Xhako, Niko Hyka, Elda Spahiu, Suela Hoxhaj . Medical image analysis using deep learning algorithms (DLA). AIMS Biophysics, 2025, 12(2): 121-143. doi: 10.3934/biophy.2025008
    [4] Joshua Holcomb, Nicholas Spellmon, Yingxue Zhang, Maysaa Doughan, Chunying Li, Zhe Yang . Protein crystallization: Eluding the bottleneck of X-ray crystallography. AIMS Biophysics, 2017, 4(4): 557-575. doi: 10.3934/biophy.2017.4.557
    [5] Vittoria Raimondi, Alessandro Grinzato . A basic introduction to single particles cryo-electron microscopy. AIMS Biophysics, 2022, 9(1): 5-20. doi: 10.3934/biophy.2022002
    [6] Haliz Hussein, Hazhmat Ali, Zeki Mohamed, Majeed Mustafa, Khairi Abdullah, Asaad Alasady, Mayada Yalda . Thyroid function and hematological alterations in cardiac catheterization workers: a pre-post observational study on x-ray exposure. AIMS Biophysics, 2025, 12(1): 43-53. doi: 10.3934/biophy.2025004
    [7] Jaouhra Cherif, Anis Raddaoui, Ghofrane Ben Fraj, Asma Laabidi, Nada Souissi . Escherichia coli's response to low-dose ionizing radiation stress. AIMS Biophysics, 2024, 11(2): 130-141. doi: 10.3934/biophy.2024009
    [8] Mario Lefebvre . A Wiener process with jumps to model the logarithm of new epidemic cases. AIMS Biophysics, 2022, 9(3): 271-281. doi: 10.3934/biophy.2022023
    [9] David Kirchenbuechler, Yael Mutsafi, Ben Horowitz, Smadar Levin-Zaidman, Deborah Fass, Sharon G. Wolf, Michael Elbaum . Cryo-STEM Tomography of Intact Vitrified Fibroblasts. AIMS Biophysics, 2015, 2(3): 259-273. doi: 10.3934/biophy.2015.3.259
    [10] Adam Redzej, Gabriel Waksman, Elena V Orlova . Structural studies of T4S systems by electron microscopy. AIMS Biophysics, 2015, 2(2): 184-199. doi: 10.3934/biophy.2015.2.184
  • Artificial intelligence techniques are used on chest X-ray images for accurate detection of diseases and this paper aims to develop a process which is capable of diagnosing COVID-19 using deep learning methods on X-ray images. For this purpose, we used Mask R-CNN method to train and test on the dataset to classify between patients infected and non-infected with COVID-19. The dataset used here contains a large number of frontal views of X-ray images which are an essential resource for the algorithms used in the development of tools for the detection of COVID-19. Using 668 chest X-ray images, the proposed model achieved an accuracy as high as 96.98%, specificity of 97.36% with the precision of 96.60%. The entire process is presented in detail. When a comparison table on the AI-based techniques is prepared, it is noticed that the Mask R-CNN technique on chest X-ray images provides better efficiency in the detection of COVID-19. The Mask R-CNN method is found to be accurate and robust in the detection of COVID-19 from chest X-ray images.



    Bankruptcy prediction is the problem of detecting financial distress in businesses which will lead to eventual bankruptcy. Bankruptcy prediction has been studied since at least 1930s. The early models of bankruptcy prediction employed univariate statistical models over financial ratios. The univariate models were followed by multi-variate statistical models such as the famous Altman Z-score model. The recent advances in the field of Machine learning have led to the adoption of Machine learning algorithms for bankruptcy prediction. Machine Learning methods are increasingly being used for bankruptcy prediction using financial ratios. A study by Barboza, Kimura and Altman found that Machine Learning models can outperform classical statistical models like multiple discriminant analysis (MDA) by a significant margin in bankruptcy prediction (Barboza et al., 2017).

    Bankruptcy prediction is an important for modern economies because early warnings of bankrupt help not only the investor but also public policy makers to take proactive steps to minimize the impact of bankruptcies. The reasons that add to the significance of bankruptcy prediction are as follows:

    (1). Better allocation of resources

    Institutional investors, banks, lenders, retail investors are always looking at information that predicts financial distress in publicly traded firms. Early prediction of bankruptcy helps not only the investors and lenders but also the managers of a firm to take corrective action thereby conserving scare economic resources. Efficient allocation of capital is the cornerstone of growth in modern economies.

    (2). Input to policy makers

    Accurate prediction of bankruptcies of businesses and individuals before they happen gives law makers and policy makers some additional time to alleviate systemic issues that might be causing the bankruptcies. Indeed, with bankruptcies taking center stage in political discourse of many countries, the accurate prediction of bankruptcy is a key input for politicians, bureaucrats and in general for anyone who is making public policy.

    (3). Corrective action for business managers

    The early prediction of bankruptcy is likely to highlight business issues thereby giving the company's manager additional time to make decisions that will help avoid bankruptcy. This effect is likely to be more profound in public companies where the management has a fiduciary duty to the shareholders.

    (4). Identification of sector wide problems

    Bankruptcy prediction models that flag firms belonging to a certain sector are likely to be a leading indicator of an upcoming downturn in a certain sector of an economy. With robust models, the business managers and government policy makers would become aware and take corrective action to limit the magnitude and intensity of the downturn in the specific sector. Industry groups in turn has been shown to significantly effect forecasting models (Chava and Jarrow, 2004).

    (5). Signal to Investors

    Investors can make better and more informed decisions based on the prediction of bankruptcy models. This not only forces the management of firms to take corrective action but also helps to soften the overall economic fallout that results from the bankruptcies. Empirical studies have shown that investment opportunities are significantly related to likelihood of bankruptcy (Lyandres & Zhdanov, 2007).

    (6). Relation to adjacent problems

    Bankruptcy prediction is often the first step used by ratings agencies to detect financial distress in firms. Based on the predictions of bankruptcy models, ratings agencies investigate and assess credit risk. Getting flagged by bankruptcy prediction models is often the first step that triggers the process of revising credit ratings. A literature survey covering 2000–2013 demonstrates the close relation between bankruptcy prediction and credit risk (García et al., 2015).

    Most past studies in bankruptcy prediction including those using Machine Learning have used a relatively small sample of firms and a small number of financial ratios. This study distinguishes itself by using a much larger dataset having data for 21,114 U.S. firms (samples) and 57 financial ratios (features). Our dataset covers US firms from 1970 to 2020. Bankruptcy prediction models have been researched and built since the 1960s. The models built from 1960 to 1990 were primarily statistical models such as univariate, multiple discriminant analysis and logit and probit models. Starting from 1990s machine learning models started outperforming statistical models. Since this study applies the most popular contemporary machine learning algorithms using a big data set, we will compare our model with the machine learning models built since the 1990s. A full listing outlining the comparison with past machine learning studies and models for bankruptcy prediction is shown in the Table 1.

    Table 1.  Past ML studies.
    Author Machine learning models used Number of features (ratios) Size of training set
    Wilson and Sharda (1994) Shallow neural network, multi-discriminant analysis 5 ratios (same ratios used by Altman) 65—Bankrupt firms
    64—non-bankrupt firms
    Total—169 firms
    Min and Lee (2005) Support vector machine (SVM), Multi-discriminant analysis, Logistic Regression, Shallow Neural Network 38 ratios used to compute 2 principal components. 944—Bankrupt firms
    944—non-bankrupt firms
    Total—1888 firms
    Fedorova, Gilenko and Dovzhenko (2013) Adaptive Boost, Artificial Neural Network, Adaptive Boost combined with Neural Networks 75 ratios 444—Bankrupt firms
    444—non-bankrupt firms
    Total—888 firms
    Shi, Xi, Ma, Hu (2009) Bagging ensemble of Artificial Neural Networks (ANNs), Artificial Neural Network (ANN), Decision tree (C4.5), K-Nearest Neighbours and Support Vector Machine (SVM) 20 features (not ratios) Total—1000 samples
    Heo and Yang (2014) Adaboost with Decision Tree, SVM, Decision Tree, Artificial Neural Network 12 ratios 1381—Bankrupt firms
    1381—non-bankrupt firms
    Total—2762 firms
    Du Jardin (2016) Ensemble models, decision tree (DT), Multi-variable discriminant model (MDA), Logistic regression (LR) and Shallow Neural Network. 35 ratios 8010—Failed firms
    8010—non-failed firms
    Chen (2011) Decision Tree, LDA, LR, Self-Organizing Map (SOM), Genetic algorithm, Learning vector optimization, Particle swarm optimization. 8 features created using PCA over 42 ratios (33 financial and 8 non-financial). 50—Bankrupt firms
    150—non-bankrupt firms
    Total—200 firms
    Wang, Ma and Yang (2014) FS-Boosting, LR, NB, DT, ANN, SVM, Ensemble models. 30 financial ratios 112—Bankrupt firms
    128—non-bankrupt firms
    Total—240 firms
    Barboza, Kimura and Altman (2017) Neural Network, Support Vector Machine with Linear kernel, Support Vector Machine with Radial Kernel, Boosting, Bagging and Random Forest 11 financial ratios Total—898 firms

     | Show Table
    DownLoad: CSV

    In this study we have used three popular machine learning techniques—Random Forest, Support Vector Machines, and XGBoost to construct forecasting models. We find that Machine Learning models perform very well, with XGBoost being the most successful technique that achieves an accuracy score of more than 99% in out of sample testing.

    We also apply our XGBoost model to an important current issue, the task of predicting bankruptcies during the second half of 2020. The depth of the recession caused by the lockdowns that have been imposed to contain the COVID-19 pandemic has raised worries that corporate bankruptcies may rise substantially in the near future. According to a report in the New York Times (2020), Edward Altman, a pioneer of bankruptcy prediction research, and the creator of the famous Z score model, expects a "tsunami of bankruptcies" that will exceed the number of bankruptcies that followed the 2008 financial crisis. The result from our Machine Learning model confirms Prof Altman's fears that corporate bankruptcies will rise substantially in late 2020 and equal the highs seen during the 2008-09 recession. However, this study finds that the elevated level of bankruptcies will not be significantly different from 2010.

    The previous studies done for bankruptcy prediction have not taken a systematic view of the data used to build the models. The previous studies have been more focused on the models rather than on the data used to build the models. This study offers a much more balanced view where both the data and the models are given equal importance. To begin with, we have use Compustat are a source database to get an exhaustive list of financial ratios over US firms from 1970 to 2020. Compustat is a high-quality database used by several famous finance related papers such as Fama and French (1993). Most of the previous studies have used relatively small datasets as compared to ours. This study takes a systematic look at as many features as possible to train our machine learning models. Our balanced approach is also consistent with the shift from model centric to data centric approach proposed by Andrew Ng (Gil Press, 2021).

    The rest of the paper is structured as follows:

    Section 2—Describes the existing literature for bankruptcy prediction.

    Section 3—Describes the data and the method used to clean, process, and fit the data into our machine learning models. This section also covers the process used to predict the number of bankruptcies using Q2-2020 ratios.

    Section 4—Describes the results observed from the experiments

    Section 5—Presents our final comments and discusses the implications of the results.

    Bankruptcy prediction models prior to 1990s were primarily statistical models employing univariate, multivariate and logit & probit techniques. In 1966, Beaver applied univariate analysis in which the predictive ability of 30 financial ratios was tested one at a time to predict bankruptcy (Beaver, 1966). Altman in 1968 performed a multi-variate discriminant analysis (MDA) using 5 ratios to create a linear discriminant function of 5 variables (Altman, 1968). Several variants of MDA were developed in the following years. Edmister used 19 financial ratios to build a linear model for bankruptcy prediction (Edmister, 1972). Deakin found that a linear combination of the 14 ratios could be used to predict bankruptcy five years prior to failure (Deakin, 1972). Ohlson studied the shortcomings of MDA models and built a conditional logit model using maximum likelihood estimation (Ohlson, 1980). The datasets used in all these studies were quite small as compared to modern standards. Ohlson's study for example used a dataset of 2058 firms out of which 105 firms represented the bankrupt class.

    The next phase in the evolution of bankruptcy models started in the 1990s with several machine learning algorithms outperforming the older statistical models. Machine learning models such as Random Forests, Support Vector Machines (SVM) and Gradient Boosted Trees were found to be particularly effective for bankruptcy prediction. Barboza, Kimura and Altman compared statistical models with machine learning (ML) models. They found the Random Forests outperformed Alman's Z-score model by a significant margin (Barboza et al., 2017). These results were corroborated by studies (Joshi et al., 2018; Rustam and Saragih, 2018; Gnip and Drotár, 2019). Support Vector Machine (SVM) was also found to be a very effective machine learning algorithm in several studies. Hang et al. (2004) and Chen et al. (2008) achieved superior results for credit rating classification problem by using SVM. Song et al. (2008) used SVM to predict financial distress. Some studies also found boosted trees-based algorithms to outperform SVM. Wang, Ma and Yang proposed a new boosted tree-based algorithm for bankruptcy prediction which they found to be more effective than SVM (Wang et al., 2014). Heo and Yang (2014) used Adaboost algorithm to predict bankruptcy for Korean construction firm. They found Adaboost to have better accuracy than SVM (Heo and Yang, 2014). A more recent study in 2021 has used XGBoost and Random Forest algorithms to predict bankruptcies over 12 months. This study used a medium sized training dataset containing data for 8959 firms registered in Italy (Perboli and Arabnezad, 2021). Another recent study uses a database of Taiwanese firms to predict bankruptcy. This study used data set contain 96 attributes for 6819 firms to train machine learning models (Wang and Liu, 2021). One common attribute shared by all the forementioned studies is the relatively small size of their training data sets. The datasets used by these studies are small as compared to datasets used in the big data era. The largest training dataset in these studies had just 2600 samples which is quite small.

    Based on the literature review, the following trends become apparent:

    ●  Machine Learning Models are now consistently outperforming statistical models

    ●  The training data sets used to train the existing machine learning models are relatively small as compared to the data sets used for training models in other application areas.

    ●  Ensemble methods such as Random Forest and Boosted trees have performed better than other models in bankruptcy prediction.

    This study differentiates itself from previous studies by using a substantially larger dataset as compared to previous studies. We use a very standard and well documented dataset called Compustat to retrieve the financial ratios. Compustat is a standard financial dataset used in financial research. Compustat has been used by some very popular papers in finance such as Fama and French (1993). We have used 57 financial ratios that are listed in Table 2. Financial ratios are inputs used to train Bankruptcy prediction models. While most studies use fewer financial ratios, this study applies a large set of financial ratios of US Firms from 1970–2020 (50 years) to train Random Forest, SVM and XGBoost Models. This section discusses the overall methodology which includes data cleaning, balancing, model fitting, and analysis of results.

    Table 2.  Distribution of training data.
    Class Count
    Bankrupt 1,212
    Non-Bankrupt 19,902
    Total 21,114

     | Show Table
    DownLoad: CSV

    Previous studies have used small to medium sized data sets for training Machine learning models. This study sets itself apart by using a much larger training dataset. We used financial ratios data set from Compustat. The financial ratios data set was then joined with another dataset called Bankruptcy data set. The bankruptcy data set contains the data such as date of bankruptcy, bankruptcy reason and GVKEY (primary key) while the financial ratios dataset contains all the financial ratios mentioned in Table A.1. The two datasets were programmatically joined using a common field named GVKEY. GVKEY is a unique identifier assigned to each firm. The relation amongst the two datasets that were used to create our labelled training dataset is best represented by the ER schema diagram shown in Figure 1.

    Figure 1.  ER Diagram depicting relation between Financial Ratios Dataset and Bankruptcy Dataset.

    The financial ratios dataset we have used contains 57 financial ratios mentioned in Table A.1 in Appendix A. This is an exhaustive list of features used to train our models. We have included ratios which are often overlooked but are likely to help detect patterns related to edge cases.

    The first step of building a predictive model is data pre-processing and cleaning. The original data from Compustat had 75 financial ratios for 21,114 US firms. This data covered firms established in the US between 1970 and 2020. The dataset contained firms that belonged to 2 classes: bankrupt and non-bankrupt or continuing enterprises. The dataset contains 1212 bankrupt firms and 19,902 non-bankrupt firms. The distribution of data points (samples) belonging to these two classes is summarized in Table 2. The next step was to drop features which had null values for more than 6000 firms out of 21,114 firms. This step ensured that we don't have more than 30% of null values in any feature. The goal is to ensure that the true distribution generating this data is preserved and learned by our machine learning models. 18 features (financial ratios) were dropped from the data set because they had null values for more than 6000 (30% of total number of firms). The dataset now had 75 − 18 = 57 features. Next, we scaled our data to have mean = 0 and variance = 1 using Scikit-learns Standard Scaler class. Scaling is required to ensure that gradient descent converges on the minima of the loss function. The last step of data cleaning was to impute the missing values in the 57 financial ratios (features). For imputing the missing values, we used the KNN algorithm which used three nearest neighbours to estimate the missing value. Further, the weight assigned to each neighbour is a function of its Euclidean distance from the data point with missing value. KNN with 3-neighbours has been found to be effective in preserving the true distribution of the data (Beretta and Santaniello, 2016).

    The cleaned and scaled dataset without any missing values was an imbalanced dataset (see Table 2). The dominant class was the bankruptcy class. Approximately 90% of the samples belonged to the majority class which is non-bankrupt firms. Since the goal of this study is train a classifier to identify bankrupt firms, we decided to balance the classes in our training data. This would ensure that our model would learn about the minority class which is the bankrupt class. This is important in the context of bankruptcy prediction because detecting samples belonging to the bankrupt class. To balance the dataset, we use the Synthetic Minority Over-sampling technique (SMOTE) proposed by Chawla et al. (Chawla et al., 2002). SMOTE generates synthetic samples using the features of the data. The minority class is oversampled by taking a minority class sample and then a line is drawn from this minority class sample to k-nearest minority class samples. Synthetic minority class samples are generated along the line joining the minority class sample to its minority class neighbours. Additionally, to ensure that our balanced dataset facilitated learning of the bankrupt class, we also used Borderline-SVM SMOTE. Borderline-SVM SMOTE technique uses samples close the decision boundary (support vectors) to create synthetic samples (Nguyen et al., 2011). Finally, we used the Adaptive Synthetic Sampling (ADASYN) algorithm of He, Bai, Garcia and Li to generate samples in regions of feature space where the density of minority samples is low (He et al., 2008). The result was a balanced dataset containing 19902 samples of non-bankrupt class and 20,517 bankrupt class. The balanced dataset has 57 financial ratios (features).

    The balanced dataset was then shuffled and split into training set containing 70% of the samples and test set containing 30% of the samples. The purpose of creating a test set is to test the accuracy of the models on data that the models have not been trained on. Collecting metrics based on the test set gives practitioners an idea of the generalization performance of machine learning models.

    The training data set was fitted into three machine learning models. These models are: Random Forest, Support Vector Machine (SVM) and XGBoost. After fitting, the models were then used to predict for samples in the test set to assess their relative performance.

    For comparing the performance of the models, we decided to use Accuracy score, Receiver Operating Curve (ROC) and Area Under ROC Curve (AUC). Accuracy score can be used because we are training our models using a balanced dataset. However, to get a better idea of the True Positive Rate (TPR) and False Positive Rate (FPR) we decided to employ ROC and AUC metrics as well. It is important to compare the TPR and FPR because it is more to avoid False negatives (FN) as compared to False positives (FP). False negative (FN) would be a firm which would go bankrupt but is wrongly classified by our model as a non-bankrupt sample. False positive (FP) on the other hand would be a firm that is not bankrupt but is wrongly classified as a bankrupt firm.

    The goal of this study is to predict number of bankruptcies within the next 30, 90 and 180 days. We trained 3 different models to predict the number of bankruptcies within 30, 90 and 180 days. The models were built and analysed using the same approach. The only difference was that the training and test labels for each model were derived from the bankruptcy date. For example, to train the model for predicting number of bankruptcies within 30 days, we used

    X=Matrix of shape(M,N)

    where

    M=Number of Firms (samples)
    N=Number of features (Ratios)
    Y=Vector of Shape(M,1)

    where

    Yi=1 if Firm i went bankrupt
    within 30 days of publishing financial ratios

    else

    Yi=0

    Therefore, we trained 9 models to predict bankruptcies within 30, 90 and 180 days. For example, for predicting bankruptcy within 30 days we trained Random Forest, SVM and XGBoost. After training the models, we picked the best model based on performance metrics described in previous section and then we used the best model to predict the number of bankruptcies using the latest Q2 2020 financial ratios from Capital IQ. In this final prediction set, we only kept data for firms which did not have any significant gaps or holes. Finally, we used the final prediction set from Q2 2020 to predict the number of bankruptcies we expect to happen over the next 30, 90 and 180 days.

    As mentioned in the previous section, we trained 9 models, using three different techniques, RF, SVM, XGBoost, for predicting bankruptcies over 30, 90 and 180 days. Next, we used the test set to make predictions and then assessed the relative performance. Based on the chosen metrics of accuracy score and Area under ROC curve (ROC AUC), XGBoost outperformed the other models for predicting bankruptcy within 30, 90 and 180 days. The actual scores for accuracy and AUC are presented in Table 3.

    Table 3.  Accuracy and ROC AUC metrics.
    Model Algorithm Accuracy Score ROC AUC
    Predict Bankruptcies within 30 days

    Random Forest (RF) 0.99676 0.99981
    Support Vector Machine 0.90933 0.96673
    XGBoost 0.99683 0.99992
    Predict Bankruptcies within 90 days

    Random Forest (RF) 0.98654 0.99917
    Support Vector Machine 0.83528 0.90526
    XGBoost 0.99047 0.99933
    Predict Bankruptcies within 180 days

    Random Forest (RF) 0.98580 0.99896
    Support Vector Machine 0.82202 0.89590
    XGBoost 0.98697 0.99902

     | Show Table
    DownLoad: CSV

    The accuracy score of XGBoost models is consistently better than SVM and Random Forest. This result is also consistent with the ROC curves which are shown in Figure 2 below.

    Figure 2.  ROC curves for all 9 models.

    As seen in Figure 2, the ROC curve for XGBoost is closest to the top left corner thereby covering maximum area under it. XGBoost is therefore the best performing model closely followed by Random Forest. The fact that these metrics are calculated using the test set (containing data which model has not been trained on) gives us confidence in the ability of our models to generalize.

    We present the performance metrics of previous studies in Table 4. Previous studies have used 2 performance metrics: Test accuracy and Area Under ROC curve (AUC). To keep the comparison consistent, we have computed both test accuracy score and AUC for our models (see Table 3). Our best model built using XGBoost significantly outperforms the models built in previous studies. The accuracy of our XGBoost model for prediction bankruptcy within 180 days is 98.69% which is lower than the test accuracy of our XGBoost models for predicting bankruptcies within 30 and 90 days. However, our model for predicting bankruptcies within 180 days has a higher test accuracy (98.69%) than models built in previous studies. Similarly, our model for predicting bankruptcies within 180 days has an AUC score of 0.99 which is higher than the AUC score reported by previous studies. Our performance metrics of accuracy and AUC score are computed over out of training samples which also indicates to the robustness of our results.

    Table 4.  Performance metrics of previous studies.
    Author Size of training set Performance
    Wilson and Sharda (1994) 65—Bankrupt firms
    64—non-bankrupt firms
    Total—169 firms
    Test set accuracy*
    95.6% for neural network
    91.8% for MDA
    Min and Lee (2005) 944—Bankrupt firms
    944—non-bankrupt firms
    Total—1888 firms
    Test set accuracy*
    83.06% for SVM
    82.52% for Shallow Neural Network
    79.13% for MDA
    78.30% for Logit
    Fedorova, Gilenko and Dovzhenko (2013) 444—Bankrupt firms
    444—non-bankrupt firms
    Total—888 firms
    Test set accuracy*
    88.8% for Adaptive Boost combining several NN
    87.8% for Logistic regression
    Shi, Xi, Ma, Hu (2009) Total—1000 samples Test set accuracy*
    75.6% for Bagging ensemble of ANNs
    Heo and Yang (2014) 1381—Bankrupt firms
    1381—non-bankrupt firms
    Total—2762 firms
    Test set accuracy*
    78.5% for AdaBoost
    77.1% for ANN
    73.3% for SVM
    Du Jardin (2016) 8010—bankrupt firms
    8010—non-bankrupt firms
    Area under ROC Curve (AUC)**
    0.9049 for Neural Network with Random subspace ensemble
    0.9003 for Neural Networks with Boosting
    0.8952 for Neural Networks with Bagging
    Chen (2011) 50—Bankrupt firms
    150—non-bankrupt firms
    Total—200 firms
    Test set accuracy*
    93.12% for PSO-SVM
    91.87% for GA-SVM
    84.37 for SVM
    Wang, Ma and Yang (2014) 112—Bankrupt firms
    128—non-bankrupt firms
    Total—240 firms
    Test set accuracy*
    81.50% for FS-Boosting
    72.21% for SVM
    73.38% for ANN
    Barboza, Kimura and Altman (2017) 449—Bankrupt firms
    449—non-bankrupt firms
    Total—898 firms
    Area under ROC curve (AUC) **
    Random Forest—92.92 (highest AUC).
    Note: *Studies that reported test set accuracy
    **Studies that reported Area under ROC curve

     | Show Table
    DownLoad: CSV

    Next, we apply our best model, using XGBoost, to the data from Q2-2020 to evaluate the possibility of a substantial upsurge in business bankruptcies in the second half of 2020 because of the deep 2020 recession caused by the pandemic. We apply this best model to the latest available ratios, for Q2-2020, and classify a firm as going bankrupt during the next 30, 90, or 180 days if the predicted probability of bankruptcy is higher than 0.50.

    Using this method, our best model in each category predicted 74 bankruptcies within 30 days, 189 bankruptcies within 90 days and 354 Bankruptcies within 180 days. This prediction is for all firms contained in the S & P Global database, both public and private. The predictions for the number of bankruptcies are summarized in Table 5.

    Table 5.  Bankruptcy predictions using Q2 2020 data.
    Model Predicted Bankruptcies
    XGBoost for Predicting Bankruptcies within 30 days 74
    XGBoost for Predicting Bankruptcies within 90 days 189
    XGBoost for Predicting Bankruptcies within 180 days 354

     | Show Table
    DownLoad: CSV

    S & P Global has reported a total of 336 actual bankruptcies until the end of June 2020. If we add our prediction of 354 bankruptcies to the actual bankruptcies, then we predict a total of 336 + 354 = 690 bankruptcies in 2020. We summarize our predictions in Table 6 below.

    Table 6.  Total number of bankruptcy predictions.
    Time Period Bankruptcies
    Actual bankruptcies reported until Jun-2020 336
    Predicted bankruptcies from our model, Jul-Dec 2020 354
    Total bankruptcies for the year 2020 690

     | Show Table
    DownLoad: CSV

    Since the number of firms in the database changes from year to year, we decided to compare the prediction for 2020 with the past by using bankruptcy rates, i.e., the ratio of the number of bankruptcies to the total number of firms. As shown in Table 7, our prediction of 690 bankruptcies in 2020 represents a bankruptcy rate of 4.35% for all US firms. This rate is the highest in the last 10 years. The second highest rate of 4.2%, only slightly lower, was seen in 2010, in the immediate aftermath of the 2008-09 recession. The average rate during the economic expansion years of 2011–2019 was 3.2%, more than a full percentage point lower than the predicted 2020 rate. We conclude that we will indeed see a much higher rate bankruptcies in 2020, but it is unlikely to be substantially larger than in 2010.

    Table 7.  Comparison of bankruptcy rate with past bankruptcy rates.
    Year # Of Bankruptcies # Of Firms % Of Bankruptcies
    2010 819 19,523 4.20%
    2011 629 19,001 3.31%
    2012 582 18,653 3.12%
    2013 551 18,373 3.00%
    2014 467 18,091 2.58%
    2015 520 17,181 3.03%
    2016 571 17,004 3.36%
    2017 513 17,118 3.00%
    2018 513 16,542 3.10%
    2019 582 14,442 4.03%
    2020 690 15,850 4.35%

     | Show Table
    DownLoad: CSV

    We find that two different Machine Learning algorithms, Random Forest (RF) and Extreme Gradient Boosting (XGBoost) produce accurate predictions of whether a firm will go bankrupt within the next 30, 90, or 180 days, using financial ratios as input features. The XGBoost based models perform exceptionally well, with 99% out-of-sample accuracy. Our training dataset uses a large database of public US firms over a period of 49 years, 1970–2019, and 57 financial ratios. This study has used a substantially larger training dataset as compared to previous studies.

    An application of our best performing XGBoost model to Q2-2020 financial data for a sample of both private and public U.S. firms shows that the bankruptcy rate will climb substantially higher in 2020 than in the expansion years of 2011–2019. However, our model suggests that the rate will be only marginally higher than in 2010.

    We identify the following areas for further research:

    ●  Adding macro-economic features—It will be interesting to add macro-economic features to training data used for training machine learning models for bankruptcy prediction.

    ●  Train deep neural networks with different topologies—Another interesting area of research would be to apply different types of deep neural networks such as TabNet and Recurrent neural networks.

    All authors declare no conflicts of interest in this paper.



    Conflict of interest



    The authors declare no conflicts of interest.

    [1] Siddique S, Chow JCL (2021) Machine learning in healthcare communication. Encyclopedia 1: 220-239. doi: 10.3390/encyclopedia1010021
    [2] Ozturk T, Talo M, Yildirim EA, et al. (2020) Automated detection of COVID-19 cases using deep neural networks with X-ray images. Comput Biol Med 121: 103792. doi: 10.1016/j.compbiomed.2020.103792
    [3] Khatami F, Saatchi M, Zadeh SST, et al. (2020) A meta-analysis of accuracy and sensitivity of chest CT and RT-PCR in COVID-19 diagnosis. Sci Rep 10: 22402. doi: 10.1038/s41598-020-80061-2
    [4] Ai T, Yang Z, Hou H, et al. (2020) Correlation of Chest CT and RT-PCR Testing in Coronavirus Disease 2019 (COVID-19) in China: A Report of 1014 Cases. Radiology 296: E32-E40. doi: 10.1148/radiol.2020200642
    [5] Toussie D, Voutsinas N, Finkelstein M (2020) Clinical and chest radiography features determine patient outcomes in young and middle-aged adults with COVID-19. Radiology . doi: 10.1148/radiol.2020201754
    [6] Cellina M, Gibelli D, Pittino CV, et al. (2020) Risk factors of fatal outcome in patients with COVID-19 pneumonia. Disaster Med Public . doi: 10.1017/dmp.2020.346
    [7] Cellina M, Panzeri M, Oliva G (2020) Chest Radiography Features Help to Predict a Favorable Outcome in Patients with Coronavirus Disease 2019. Radiology 297: E238. doi: 10.1148/radiol.2020202326
    [8] Johnson JW (2020) Automatic Nucleus Segmentation with Mask-RCNN. Proceedings of the 2019 Computer Vision Conference 2: https://doi.org/10.1007/978-3-030-17798-0_32.
    [9] Kopelowitz E, Engelhard G (2019) Lung nodules detection and segmentation using 3D mask-RCNN. Medical Imaging with Deep Learning 2019 arXiv preprint arXiv:1907.08612.
    [10] Liu M, Dong J, Dong X, et al. (2018) Segmentation of lung nodule in CT images based on mask R-CNN. 2018 9th International Conference on Awareness Science and Technology (iCAST) IEEE, 1-6.
    [11] Mulay S, Deepika G, Jeevakala S, et al. (2019) Liver segmentation from multimodal images using HED-mask R-CNN. International Workshop on Multiscale Multimodal Medical Imaging Cham: Springer, 68-75.
    [12] Dhieb N, Ghazzai H, Besbes H, et al. (2019) An automated blood cells counting and classification framework using mask R-CNN deep learning model. 2019 31st International Conference on Microelectronics (ICM) IEEE, 300-303. doi: 10.1109/ICM48031.2019.9021862
    [13] Shu JH, Nian FD, Yu MH, et al. (2020) An improved mask R-CNN model for multiorgan segmentation. Math Probl Eng 2020: 8351725.
    [14] Lin K, Zhao H, Lv J, et al. (2020) Face detection and segmentation based on improved mask R-CNN. Discrete Dyn Nat Soc 2020: 9242917.
    [15] Anantharaman R, Velazquez M, Lee Y (2018) Utilizing mask R-CNN for detection and segmentation of oral diseases. 2018 IEEE international conference on bioinformatics and biomedicine (BIBM) IEEE, 2197-2204. doi: 10.1109/BIBM.2018.8621112
    [16] Nguyen DH, Le TH, Tran TH, et al. (2018) Hand segmentation under different viewpoints by combination of Mask R-CNN with tracking. 2018 5th Asian Conference on Defense Technology (ACDT) IEEE, 14-20. doi: 10.1109/ACDT.2018.8593130
    [17] Almubarak H, Bazi Y, Alajlan N (2020) Two-stage mask-RCNN approach for detecting and segmenting the optic nerve head, optic disc, and optic cup in fundus images. Appl Sci 10: 3833. doi: 10.3390/app10113833
    [18] Shibata T, Teramoto A, Yamada H, et al. (2020) Automated detection and segmentation of early gastric cancer from endoscopic images using mask R-CNN. Appl Sci 10: 3842. doi: 10.3390/app10113842
    [19] Cao G, Song W, Zhao Z (2019) Gastric cancer diagnosis with mask R-CNN[C]. 2019 11th International Conference on Intelligent Human-Machine Systems and Cybernetics (IHMSC) IEEE, 60-63.
    [20] Chiao JY, Chen KY, Liao KYK, et al. (2019) Detection and classification the breast tumors using mask R-CNN on sonograms. Medicine (Baltimore) 98: e15200. doi: 10.1097/MD.0000000000015200
    [21] Saiz F A, Barandiaran I (2020) COVID-19 Detection in Chest X-ray Images using a Deep Learning Approach. Int J Interact Multim Artif Intell 6: 1-4.
    [22] Abbas A, Abdelsamea MM, Gaber MM (2020) Classification of COVID-19 in chest X-ray images using DeTraC deep convolutional neural network. Appl. Intell . doi: 10.1007/s10489-020-01829-7
    [23] Cohen JP, Morrison P, Dao L Covid-19 image data collection (2020) .arXiv preprint arXiv:2003.11597.
    [24] Cohen JP, Morrison P, Dao L, et al. Covid-19 image data collection: Prospective predictions are the future (2020) .arXiv preprint arXiv:2006.11988.
    [25] Shibly KH, Dey SK, Islam MTU, et al. (2020) COVID faster R–CNN: A novel framework to diagnose novel coronavirus disease (COVID-19) in X-Ray images. Inform Med Unlocked 20: 100405. doi: 10.1016/j.imu.2020.100405
    [26] Hemdan EED, Shouman MA, Karar ME Covidx-net: A framework of deep learning classifiers to diagnose covid-19 in x-ray images (2020) .arXiv preprint arXiv:2003.11055.
    [27] Gunraj H, Wang L, Wong A (2020) Covidnet-ct: A tailored deep convolutional neural network design for detection of covid-19 cases from chest ct images. Front Med 7: 608525. doi: 10.3389/fmed.2020.608525
    [28] Apostolopoulos ID, Mpesiana TA (2020) Covid-19: automatic detection from x-ray images utilizing transfer learning with convolutional neural networks. Phys Eng Sci Med 43: 635-640. doi: 10.1007/s13246-020-00865-4
    [29] Sethy PK, Behera SK, Ratha PK, et al. (2020) Detection of coronavirus disease (COVID-19) based on deep features and support vector machines. Int J Math Eng Manag Sci 5: 643-651.
    [30] Mukherjee H, Ghosh S, Dhar A, et al. (2021) Shallow convolutional neural network for COVID-19 outbreak screening using chest X-rays. Cogn Comput 1-14.
  • This article has been cited by:

    1. Domenico Amato, Mattia Antonino Di Gangi, Giosuè Lo Bosco, Riccardo Rizzo, 2020, Chapter 11, 978-3-030-34584-6, 118, 10.1007/978-3-030-34585-3_11
    2. Gabriele Fici, Paweł Gawrychowski, 2019, Chapter 11, 978-3-030-32685-2, 152, 10.1007/978-3-030-32686-9_11
  • Reader Comments
  • © 2021 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Metrics

Article views(7701) PDF downloads(606) Cited by(19)

Figures and Tables

Figures(3)  /  Tables(3)

Other Articles By Authors

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog