Next Article in Journal
Germination Under Temperature Stress Facilitates Invasion in Indehiscent Lepidium Species
Previous Article in Journal
Enhanced Farmland Extraction from Gaofen-2: Multi-Scale Segmentation, SVM Integration, and Multi-Temporal Analysis
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Artificial Intelligence Models for Bankruptcy Prediction in Agriculture: Comparing the Performance of Artificial Neural Networks and Decision Trees

by
Dominika Gajdosikova
* and
Jakub Michulek
Faculty of Operation and Economics of Transport and Communications, University of Zilina, Univerzitna 1, 01026 Zilina, Slovakia
*
Author to whom correspondence should be addressed.
Agriculture 2025, 15(10), 1077; https://doi.org/10.3390/agriculture15101077 (registering DOI)
Submission received: 28 March 2025 / Revised: 13 May 2025 / Accepted: 14 May 2025 / Published: 16 May 2025

Abstract

:
Debt levels are a crucial factor when assessing the financial stability of agricultural firms, and excessive indebtedness is usually the most important indicator of financial distress. As agriculture is a capital-intensive sector with a high reliance on borrowed funds, firms in this sector are more vulnerable to insolvency. This study examines the performance of artificial neural networks (ANNs) and decision trees (DTs) in predicting the bankruptcy of Slovak agricultural enterprises. In an attempt to compare the models’ performances, the most consequential indebtedness ratios are investigated through machine learning approaches. ANN and DT models are found to perform significantly better than traditional forecast methods. ANN achieved an AUC of 0.9500, accuracy of 96.37%, precision of 96.60%, recall of 99.68%, and an F1-score of 98.12%, determining its robust predictive ability. DT performed a little better on AUC (0.9550) and achieved an accuracy of 97.78%, precision of 98.69%, recall of 99.01%, and an F1-score of 98.85%, determining its predictive ability and interpretability. These findings confirm the potential for applying AI-based models to enhance financial risk assessment. This study provides informative results for financial analysts, policymakers, and corporate managers in support of early intervention strategies. Additional research would be required to explore state-of-the-art AI techniques to further refine bankruptcy forecasting and financial decision-making in vulnerable sectors like agriculture.

1. Introduction

Recently, the rapid development of artificial intelligence (AI) has significantly influenced numerous sectors, including finance, healthcare, manufacturing, and agriculture [1,2,3]. AI-driven methods offer complex instruments with the capabilities of dealing with high-level, non-linear relationships among data and thus are best suited for uses such as risk assessment, fraud detection, and financial forecasting [4,5,6]. Of the AI techniques, artificial neural networks (ANNs) and decision trees (DTs) are some of the most widely used machine learning models in corporate bankruptcy forecasting. Their popularity is because they can process large datasets, find hidden patterns, and predict more accurately and quickly than traditional statistical techniques. With their multi-layered structure, ANN models are better at simulating complex interactions between variables. On the contrary, DT models are better for helping decision-makers figure out why enterprises are having financial problems because they are easy to understand. The growing popularity of machine learning models for bankruptcy prediction is a testament to the weaknesses inherent in earlier methods such as discriminant analysis and logistic regression. Traditional models tend to presuppose linear relationships and impose rigid statistical requirements, such as homoscedasticity and normality of residuals, which cannot be satisfied in practical situations where economic information tends to be noisy, unbalanced, and subject to many external influences [7,8]. In addition, AI models like ANN and DT are more generalizable and flexible in that they can generalize well and achieve more accurate classification even when handling complicated and diverse datasets [9,10]. Such models, therefore, have been drawing increasing interest in studies and actual applications concerning early warning systems of bankruptcy prediction.
Despite significant progress in this field, the issue of financial distress and bankruptcy prediction remains uninvestigated in certain sectors [11], primarily agriculture, and in developing nations such as Slovakia. The agricultural sector is of crucial significance to the Slovak economy, providing primary raw materials for manufacturing industries such as food production, textiles, construction, and energy. Moreover, it is a primary force behind rural development, conservation of biodiversity, and environmental sustainability. Nevertheless, Slovak agricultural companies are prone to numerous factors that render them more susceptible to financial turmoil and insolvency. These factors include commodity price volatility, dependence on climatic factors, market volatility, and dependency on government subsidies and foreign trade policies. Agricultural firms have high operating expenses, long production cycles, and liquidity shortages, which are more prone to financial distress than other businesses. Additionally, inefficiencies in managing long-term debt commitments and extrinsic fluctuations are likely to increase their financial vulnerability. These characteristics highlight the urgent need for effective bankruptcy forecasting models tailored to the specific needs of the agricultural sector. Such models can provide initial signals of potential financial problems so that stakeholders may take preventative actions and implement strategies to mitigate the risk of insolvency [12].
The higher vulnerability of agricultural enterprises in Central and Eastern Europe, particularly in Slovakia, requires building sound early warning systems that recognize financial distress before reaching the point of insolvency. The agriculture sector is exposed to highly distinctive conditions, including seasonality patterns in revenues, subsidy reliance, and capital intensity, which distinguish it from other sectors and render financial risk difficult to evaluate. In such an environment, traditional statistical models relying on linearity and normality assumptions will at times fall short or even be misleading, which has prompted researchers to look for alternative methods that can detect non-linear relationships and complex patterns in financial data. This study seeks to address a several of crucial research questions:
  • RQ1: Do ANNs outperform DTs in predicting bankruptcy of agricultural firms in terms of classification accuracy and area under the curve?
  • RQ2: To what extent can DT models enhance interpretability in bankruptcy prediction compared to ANN models, particularly in terms of transparent decision rules and threshold identification?
  • RQ3: Which financial indicators most strongly influence the classification of firm solvency or insolvency?
The main aim of this paper is to develop a predictive model for identifying financial distress and bankruptcy threats in Slovak agricultural companies through ANN and DT models. Since the industry is vulnerable to economic crises, i.e., excessive borrowing and financial instability, the present research tries to explore the most significant determinants causing the financial issues of agricultural firms. These models are now being employed to predict bankruptcies across various industries because they can handle complex, non-linear interrelations between financial variables. Under agriculture, this study seeks to determine and analyze the key drivers of financial distress, such as indicators of indebtedness, to better understand the factors contributing to the risk of bankruptcy. The research begins with the application of statistical tests, i.e., Levene’s test and the t-test, to verify the homogeneity of variances and whether some financial variables are significant. These predictive models are then developed using ANN and DT methods since these are capable of suitably addressing the nature of the complexity involved in the data. To measure the performance and efficacy of such models, measures such as the area under the curve, accuracy rate, and F1-score are utilized. While there exists a significant literature on predicting bankruptcy across industries, research on the agricultural industry is not as frequent. The current literature tends to emphasize agricultural firms’ distress by emphasizing the unique characteristics of this industry, such as the impact of climatic risks, market volatility, and the structural challenges of family-owned firms, which are predominant in agriculture. Despite the crucial contribution of this sector, there exists a notable gap in the literature in terms of research on forecasting bankruptcy for agricultural companies, particularly through the use of advanced AI techniques such as ANN and DT. The present study attempts to bridge this gap by exploring the feasibility of these machine learning algorithms in bankruptcy prediction in the Slovak agricultural sector. In so doing, it helps to make early warning systems stronger that can be utilized for making decision-making processes, strengthening financial stability and ensuring the long-term sustainability of agricultural businesses.
This study bridges the gap in accurate and interpretable sector-specific models for agricultural company bankruptcy prediction through AI approaches. Specifically, it compares two data-driven techniques to establish their feasibility in predicting insolvency among Slovak agricultural enterprises. This research is motivated by a need to provide stakeholders with improved predictive tools that not only are more accurate in their prediction, but also yield insight into the financial indicators most responsible for distress. By integrating machine learning techniques with the domain of agricultural financial analysis, this research aims to contribute to both the academic literature on AI in finance and the operational needs of financial decision-making. Methodological design encompasses stratified sampling to achieve balanced representation, statistical testing for preselecting proper indicators, and model performance comparison. By this, this research seeks to answer the question posed above and lay the groundwork for subsequent predictive modeling endeavors in the industry. The research’s findings are to be applied in informing policy, guiding future model design, and ultimately enhancing agricultural financial resilience.
This paper is divided into the following sections. The literature review in Section 2 aims to review the available knowledge of bankruptcy and indebtedness in the agriculture sector, focusing on key financial indicators that cause financial distress and methodologies applied to predict such incidences. The methodology presented in Section 3 provides information on the study design, sources of data, and statistical analyses applied in this study. It describes how data were extracted from the ORBIS database, the qualitative parameters in the choice of agricultural firms, and the rationale behind using ANN and DT for the bankruptcy prediction model. In the results and discussion, presented in Section 4 and Section 5, respectively, the outputs of the bankruptcy prediction model developed using ANN and DT are compared with the existing literature. The debate concerns how the results contribute to previous research on the financial problems of agricultural firms. The prediction models are then examined in light of the peculiarities of the Slovak agricultural economy, assessing how effectively they might identify the potential risk of bankruptcy. Finally, the conclusions, presented in Section 6, discuss the implications of the study for policymakers, financial institutions, and entrepreneurs and hint at future directions of research, such as exploring additional financial and non-financial indicators that can influence the debt organization and risk of bankruptcy of agricultural firms.

2. Literature Review

Over the years, many approaches have been developed to predict corporate bankruptcy, beginning with traditional statistical methods like discriminant analysis and logistic regression [13,14,15]. These early models laid the groundwork for financial distress measurement based on the study of significant financial ratios, presenting relatively simple yet effective forecasting models. In subsequent decades, new methods emerged, including decision tree algorithms [16,17], genetic algorithms [18,19,20], support vector machines [21,22,23], and random forests [24,25,26]. Comparative studies have been increasingly interested in examining the performance of such machine-learning approaches in improving bankruptcy prediction accuracy [27,28,29].
Since the 1990s, with the advent of artificial intelligence algorithms, there has been widespread use of ANN models, and these went on to become a very popular machine learning technique for forecasting financial distress [30,31,32]. While ANNs have continued on robust prediction paths at all times, there is now growing interest in deep learning models. These advanced methods circumvent the main drawbacks of traditional neural networks, such as the vanishing gradient issue, overfitting, and high computational demands, by employing architectures with the potential to have several hidden layers and improved optimization methods [33,34].
Corporate bankruptcy prediction has been a critical domain of financial research in recent decades, and greater interest in using machine learning algorithms has developed over time. Out of them, ANN and DT models have emerged as being popular because they have the capability of dealing with non-linear relationships of complex financial variables and the risk of bankruptcy. Initial studies, for instance, Swicegood and Clark [35], compared ANN models with discriminant analysis and expert judgment, and reported marginally better performance of ANN in predicting non-prosperous banks. Akkaya et al. [36] tested the capability of ANN models by forecasting financial failure in Turkish firms with 81% accuracy. The same results were obtained by Lacher et al. [37], Etheridge et al. [38], and Bloom [39], who all demonstrated the effectiveness of ANN models in distinguishing prosperous and non-prosperous firms. Le and Viviani [40] also emphasized the forecasting advantage of ANN and k-nearest neighbor (kNN) models over conventional models when examining 3000 American banks, and showed that ANN can outperform SVM in forecasting financial distress in the Turkish industry. With the continuously superior predictive performance of ANN models across various financial environments, the following is hypothesized:
H1: 
ANN will achieve significantly higher predictive performance than DT in terms of area under the curve and overall classification accuracy.
Several research studies have also sought to improve ANN models by integrating metaheuristic algorithms. Pendharkar and Rodger [41] used genetic algorithms to update the weights of ANN, while Zhang et al. [42] introduced hybrid PSO-BP methods that paired particle swarm optimization (PSO) with backpropagation. Sarangi et al. [43] further developed this research by presenting a differential evolution–backpropagation (DE-BP) model that enhances feedforward neural network training. Such methods overcome limitations in traditional backpropagation algorithms and improve classification accuracy, Blum and Roli [44] assert.
In terms of DT implementations, while considered less accurate than ANN, DT models are easier to interpret and thus useful for stakeholders who want decision-making to be transparent. Shafiee et al. [45] demonstrated that support vector machines (SVMs) were superior to DT and ANN models in the classification of bankrupt companies on the Tehran Stock Exchange. Ptak-Chmielewska [46] also found that SVM was superior to linear discriminant analysis (LDA) in Poland. Thilakaratna et al. [47] utilized a deep neural network (DNN) with new financial ratios, having high prediction capability for UK and Irish firms.
Consistent across these studies is the result that primary financial ratios are powerful predictors of bankruptcy. Pendharkar [48] and Korol [49] emphasized the debt-to-equity ratio and liquidity indicators in their ANN models. Behr and Weinblat [50] confirmed their relevance using random forest methods for various European nations. Mihalovic [51] and Horvathova et al. [52] also chose the debt-to-equity ratio as a dominant predictor in Slovak companies, where ANN models provided higher classification accuracy than traditional methods. Tudor et al. [53] also confirmed the significance of the interest coverage ratio and financial independence ratio in Romanian firms through DT methodologies aligned with the result of this research, wherein such ratios were confirmed to have high predictive power. Korol [54] further emphasized profitability and liquidity as key drivers for ANN bankruptcy prediction, a contention reinforced by Radovanovic and Haas [55], who found leverage and liquidity ratios superior to other financial metrics. Chen [56] focused on how the financial independence ratio is crucial for Taiwan, on the heels of DT model outputs that assigned to it a value of high importance. Jeong et al. [57] demonstrated the usefulness of interest burden and cash flow-to-debt ratios in establishing the ability of the firm to generate cash flow to repay its debts; however, this was less emphasized in research by Mihalovic [51], where profitability and leverage ratios were accorded higher preference. As leverage and liquidity ratios have been shown to be very good predictors in previous studies on different models, the following hypothesis is:
H2: 
Leverage and liquidity-related financial indicators (e.g., debt-to-equity ratio, financial independence ratio) will have the highest importance scores in both ANN and DT models.
Advanced machine learning models have proven to be very effective across various domains and nations. ANN models have also been compelling in terms of predictive accuracy. Pamuk et al. [58] and Shetty et al. [59] both achieved more than 82% accuracy with just five variables. Radovanovic and Haas [55] and Ben Jabeur and Serret [60] also achieved good accuracy with ANN models, indicating that they can understand complex financial information. Kuiziniene and Krilavicius [61] improved ANN model performance to 92% accuracy by applying SMOTE to resample datasets, while Hamdi et al. [62] achieved nearly 98% accuracy using a DNN model for Tunisian firms. Chen et al. [63] demonstrated the potential of hybrid ANN models based on genetic algorithms and fuzzy logic, achieving an AUC of 0.979 and an accuracy of over 96% in Taiwan’s electronics sector.
While ANN models are more effective in predictive accuracy than DT models, the latter are useful because they are interpretable. Pamuk et al. [58] and Shetty et al. [59] set the same levels of accuracy for ANN and DT models. Radovanovic and Haas [55] and Ben Jabeur and Serret [60] also documented the same performances for both methods. Kuiziniene and Krilavicius [61] reported slightly lower accuracy for DT compared to ANN, but Fasano et al. [64] argued that the loss in accuracy was justified by DT’s increased transparency. Njoku et al. [65] demonstrated how the ensembling technique with DT could also improve prediction accuracy to 88.5%. Garcia [66] noted that the number of predictors used in a model does not necessarily relate to its accuracy. Due to the transparent, rule-based nature of decision tree architecture, especially compared to the “black-box” nature of ANN, the third hypothesis is advanced:
H3: 
DT models will demonstrate significantly greater interpretability than ANN models, as evidenced by the clarity of decision thresholds and model structure.
In Slovakia, several studies have established the effectiveness of machine learning methods for bankruptcy prediction. Mihalovic [51] found that DT was more effective than traditional statistical approaches, with an accuracy rate of 83.5%, whereas Horvathova and Mokrisova [67] emphasized the need for advanced algorithms like ANN and DT to detect complex, non-linear patterns in financial data. Durica et al. [68] confirmed ANN’s improved performance over DT in Slovak firms, with AUC values over 0.90. Horvathova et al. [52] applied ANN and DT models to Slovak construction firms, noticing ANN’s high accuracy but recognizing DT’s transparency. Letkovsky et al. [69] achieved a 92% accuracy rate in bankruptcy prediction using an ANN model, noticing its ability to identify complex financial interdependencies. Gavurova et al. [70] carried out this analysis for the Slovak automotive and engineering industries, using an ANN model and logistic regression on five years of data from 2384 firms. Their ANN model showed great performance with an accuracy rate of 93.53%, verifying ANN’s utility in predicting early bankruptcy risk. Moreover, Jencova et al. [71] developed an early warning system for Slovak non-financial corporations using an ANN model and achieved an 86.7% accuracy rate, validating the role of ANN in improving financial decision-making in Slovakia.
Although ANN and DT models have become popular for predicting bankruptcy because of their predictive accuracy and versatility in application, they still face constraints regarding interpretability. Linear and logistic regression model formulations, if less accurate regarding non-linear estimation, provide explicit insight into effect direction (positive or negative) and degree through model coefficients. This aspect is generally significant when decision-makers seek to understand causality rather than classification. Moreover, ensemble models such as random forests provide an exciting balance between accuracy and interpretability, as they aggregate numerous decision trees to reduce variance and overfitting but still permit users to explore variable importance scores. However, RF was not implemented within this study due to the relatively small sample size and the need to compare two established methods, while it remains a useful method for continuing bankruptcy prediction studies in agriculture in the future, especially as larger datasets become available.
While machine learning models are common in bankruptcy prediction, none directly address the agricultural sector, even in Slovakia or comparable economies. Most of the available models relate to manufacturing, banking, or general small and medium-sized enterprises (SMEs), and are not tuned to the financial characteristics of agricultural enterprises, such as high seasonality, dependence on subsidies, and asset illiquidity. Moreover, comparative performance and interpretability trade-offs between DT and ANN have not been properly studied under these circumstances. By subjecting formulated hypotheses to tests, this research aims to make a contribution not only to the understanding of model performance, but also to the understanding of the financial characteristics most highly linked with distress in the agricultural sector, which eventually assists in building more targeted and interpretable early warning systems more appropriate to sectoral needs.

3. Methodology

The main aim of this paper is to develop a predictive model for recognizing financial distress in Slovak agricultural companies via the use of ANN and DT models. Since the economy is facing challenges in the agricultural sector, particularly financial instability and increased indebtedness, the identification of determinants propelling financial difficulties has gained further significance. By utilizing advanced machine learning techniques such as ANN and DT, this research seeks to provide valuable insights into the financial health of agricultural enterprises. The model will be capable of pinpointing key drivers of risk and providing early warning signals of possible financial distress, resulting in more informed decision-making and strategic planning for industry players.
Data for the development of a bankruptcy prediction model for Slovak enterprises operating in the agricultural sector came from the ORBIS database, a business and finance information source on more than 400 million public and private companies operating all over the world. The information on financial indicators used to model bankruptcy consisted of data on 2095 agri-business companies operating in Slovakia in 2022 (for all independent variables, i.e., individual financial indicators) and in 2023 (for the dependent variable, i.e., business stability). Agricultural enterprises were selected using the NACE classification system, that is, by selecting all the units classified in Section A (Agriculture, Forestry and Fishing), divisions 01 (Crop and animal production, hunting, and related service activities), 02 (Forestry and logging), and 03 (Fishing and aquaculture). This wide selection covers a wide range of operations, such as the growing of non-perennial and perennial crops, animal breeding, mixed farming, ancillary services, silviculture, logging, and freshwater and marine fishing and aquaculture. However, because it was not appropriate to estimate financial indicators for some of the companies in practice, the information taken from the database was consequently modified. Firms that were unable to provide all the input data to be used for the computation of the key mathematical formula during the observation period were excluded from the dataset, reducing the reporting ability of the results collected. Financial variables are normally utilized as explanatory predictors by Andresson and Lukason [72] when dealing with bankruptcy models. These measures normally have the propensity to provide an asymmetric distribution as they contain outliers. The literature employs various ad hoc techniques to identify and correct extreme values without outliers. However, the impact of these techniques on model predictive accuracy is unknown. While there is agreement in the literature that outliers must be corrected, it is unknown which values are extreme and must be corrected to maximize model predictive capability. For this purpose, the dataset was subjected to the removal of its outlier values to enhance the informativeness of the resultant outcomes from the calculated debt analysis based on the Z-score method. The application of this process makes it possible to assess the difference between each received signal strength observation and the time-series mean received signal strength observation. Subsequently, the outcome is divided by the observation’s standard deviation. A Z-score of 0 means that the mean of the received signal strength observation and the time-series observation are the same. Positive and negative Z-scores indicate that the received signal strength measurement is above and below the mean, respectively. A received signal strength observation is considered an outlier if the value of its Z-score exceeds a pre-set threshold. Typically, the most commonly used threshold in outlier detection is ±3, as stated by Yaro et al. [73]. Thus, in this research paper, any received signal strength observation with a Z-score value greater than ±3 was considered an outlier. After the final set of corrections (deletion of unavailable and outlying values), the dataset consisted of 1123 enterprises involved in the agriculture sector that used the prediction model. For model training and testing, the final dataset was divided randomly into two subsets: 70% for training and 30% for testing. Stratified sampling was applied to preserve the small subset of distressed firms proportionally in both subsets to avoid any class imbalance bias of the dataset.
Accurate identification of corporate financial well-being and good predictors of financial performance must be well established. In bankruptcy prediction, conventional and, to a certain degree, multidimensional discriminant analysis or Z-score analysis, classifies the companies based on financial variables and cannot accurately depict the theory behind the nature of the non-linear relationship among such variables. ANN and DT models do have an advantage over some others in modeling these complex, inter-variable interactional relationships. While discriminant analysis is based on linear combinations of variables, ANNs have the intrinsic capability to discern hidden relationships among data. ANNs are thus applied to predict bankruptcy because they would bring to the surface or demonstrate some of the hidden relationships that could escape normal detection.
When the indicators highlighted by prominent researchers [14,15,69,74,75,76,77,78] are aimed at, determination of the independent variables employed in the construction of the model as the most important determinants of financial health is required. The selected debt indicators and the interdependencies needed to calculate them are outlined in Table 1.
The total indebtedness ratio expresses the proportion of debt in the total assets of enterprises. Optimum indebtedness guarantees the reduction in the cost of capital and, consequently, maximizes the firm’s market value. The target value in developed market economies ranges from 70 to 80% [80], and in other economies, between 30 and 60% [81]. The complement to the total indebtedness is the self-financing ratio, which reflects the extent to which a firm finances its asset needs through shareholders’ funds, which is quantified as the ratio of equity to total assets [82], and its value must not fall below 20–30% [79]. If an enterprise predominantly relies on debt financing, it is necessary to more deeply examine the debt structure through partial financial structure indicators. The current indebtedness ratio expresses the ratio of short-term obligations to total assets and demonstrates the company’s capability to settle obligations falling due within one year. The higher the value, the more pressure on liquidity [83]. The non-current indebtedness ratio expresses the percentage of long-term liabilities to total assets. It indicates the firm’s long-term financial stability, particularly concerning obligations of more than one year’s maturity [84]. The debt-to-equity ratio conveys the relationship of total debt to equity and serves the same purpose as the total indebtedness ratio. A ratio that is higher indicates high risk for the creditors. A ratio near 1 (or 100%) is considered balanced, as it suggests that there is sufficient equity to cover all liabilities [79]. The interest coverage ratio faces off EBIT and interest expenses. The lower this ratio, the more burdensome are interest expenses. The indicator shows how many times a firm can pay interest costs with earnings. Even though an optimum is 5, the key is not to fall below 3 [85]. The interest burden ratio is the opposite of interest coverage and is the percentage of interest expenses to operating profit. It needs to be below 100% because its high value may reflect that although there is sufficient profit available for interest coverage, the enterprise may not be efficiently using its debt [86]. The debt-to-cash flow ratio computes the firm’s ability to service debt using internal cash flow and indicates the number of years needed to settle debts. The optimum is a figure between 3 and 4, and a negative value is a sign of the inability to service debts [79,87]. The financial independence ratio measures the firm’s reliance on internal versus external funding. A larger number expresses greater financial independence and less bankruptcy risk, while a smaller number suggests dependence on indebtedness and higher vulnerability. The equity leverage ratio evaluates the mix of debt and equity used in the financing of business activities. A general ideal figure is around 4, which implies that 75% of company activities are financed through debt [86]. The non-current assets coverage ratio reflects the extent to which long-term resources cover non-current assets, where a value above 1 indicates overcapitalization and a preference for long-term solvency and stability over short-term gains. The insolvency ratio relativizes liabilities and receivables. A ratio of more than 1 suggests primary insolvency, in which liabilities surpass receivables and are the result of internal weakness. In contrast, a ratio of less than 1 points to secondary insolvency, in which unpaid customer receivables mean the company cannot pay its obligations [79].
The individual enterprises used in the prediction model should be classified into two relevant groups. The first group is made up of successful companies with an acceptable level of debt and no significant financial difficulties. However, the second group consists of companies with a higher level of debt that also experience financial issues. Generally, the basis on which the models are grounded is the performance of a non-prosperous company, based on which a firm has financial difficulties if its equity-debt ratio, which measures a diminishing position of financial independence and firm creditworthiness, is less than 0.08. If the equity-to-debt ratio is less than this, the indebtedness level is not rational, and the firm is in crisis. The limit value of the debt-to-equity ratio is determined statutorily by the Slovak Commercial Code, and it must be monitored in order not to let the firm fall into bankruptcy, as the crisis management of the enterprise was the foundation for model development [88]. The estimated output Y can be expressed as binary values:
Y =   0   f o r   n o n p r o p e r o u s   f i r m 1   f o r   p r o s p e r o u s   f i r m
Based on this classification criterion, the data required for the construct models based on ANN as well as DT includes information regarding 1069 performing businesses and 54 non-performing businesses.
1. For the development of the prediction models, some initial processing steps are necessary with the analysis. Firstly, it is necessary to reduce the dimensionality of the original dataset, i.e., the dimensionality of the learning set, by selecting the optimal appropriate ratios for the prediction of bankruptcy. Independent sample t-tests (Student’s t-tests) are performed based on the learning set to explore whether the mean values of the ratio of the two groups, i.e., from the prosperous and non-prosperous firms, differ statistically. In case a statistical difference exists among the means of the two groups, then the ratio will be used in the prediction model.
Before conducting an independent samples t-test, the equal variances assumption (homogeneity of variance) must be tested across groups. According to Parra-Frutos [89], Levene’s test is applied to test the null hypothesis of equal population variances. Independence of observations and a quantitative dependent variable are the two conditions that must be met for Levene’s test. Levene’s test is essentially a one-way ANOVA on the absolute deviations from the group means Z i j = Y i j Y ¯ i , where Y i j is the j -th group value, and Y ¯ i is the mean of the i -th group [90]. The test statistic W is calculated as:
W = n 2 i = 1 2 N i Z ¯ i Z ¯ 2 i = 1 2 = 1 N i N i Z i j Z ¯ i 2
where N i is the size of each group, n is the total sample size, Z ¯ i is the mean of Z i j within the i -th group, and Z ¯ is the grand mean of all Z i j . The statistic W follows an F -distribution with 1 and n 2 degrees of freedom. If W exceeds the critical value F α , 1 , n 2 , then the null hypothesis of equality of variances is rejected. In this study, α = 0.05 was used as the level of significance [91].
If Levene’s test reveals equal variances, the standard independent samples Student’s t-test is employed, where the test statistic is as follows:
t = X ¯ 1 X ¯ 2 s p 1 n 1 + 1 n 2
where X ¯ 1 and X ¯ 2 are the sample means, n 1 and n 2 are the sample sizes, and s p is the pooled standard deviation:
s p = n 1 1 s 1 2 + n 2 1 s 2 2 n 1 + n 2 2
where s 1 and s 2 are the standard deviations of each sample. Then, the test statistic value is compared with the critical t -value from the t -distribution table having degrees of freedom d f = n 1 + n 2 2 [92].
If Levene’s test indicates unequal variances, Welch’s t-test is used instead. Its test statistic is:
t = X ¯ 1 X ¯ 2 s 1 2 n 1 + s 2 2 n 2
with the degrees of freedom calculated by the Welch–Satterthwaite equation:
d f = s 1 2 n 1 + s 2 2 n 2 2 1 n 1 1 s 1 2 n 1 2 + 1 n 2 1 s 2 2 n 2 2
In either type of the t-test, the calculated t-value is compared with the t-distribution’s critical value. The null hypothesis of equal group means is rejected if the test statistic is greater than the critical value [93].
2. Following the preliminary analysis, the confirmed and pre-processed input feature dataset was employed to construct two classification models, namely an artificial neural network and a decision tree.
Artificial neural networks (ANNs) find widespread applications in statistical modeling and data analysis as a robust alternative to traditional methods such as non-linear regression or cluster analysis [94]. Their generalizability and ability to capture complex, non-linear relationships render them particularly suited to predictive modeling. In bankruptcy forecasting, Odom and Sharda [30] were the first to employ neural networks and demonstrated that their performance can be as good, if not superior to, traditional discriminant analysis models. Arguably, the biggest advantage of an ANN model is the very limited use it puts on hard statistical assumptions. In contrast to most other traditional methods, neural networks are not required to make any assumptions about the linearity, normality, or independence of the variables. As non-linear computational algorithms, they can model complex relationships in data, typically producing better prediction accuracy [95,96].
Basheer and Hajmeer [97] indicate that the most fundamental computational element of an artificial neural network is the neuron, also referred to as the node or unit. A neural network is composed of an interconnection of such elementary processing nodes, and in most cases, these nodes are grouped in layers. Input to a neuron in the network comes from external sources of data or other neurons in earlier layers. These inputs are subsequently processed through definite weights, which represent the relative importance of each input to the prediction task. Algebraically, the output of a neuron y i is computed by the following formula:
y i = i = 1 n f w i j x i + b j
where w i j denotes the weight coefficient between the i -th input and the j -th neuron, x i is the i -th input value, n is the number of input variables to each neuron, b j is the bias term associated with neuron j , and f represents the activation function applied to the weighted sum of inputs. The activation function controls the output of the neuron by restricting it to a certain range, effectively normalizing the output. The bias term enhances the learning ability by introducing a constant value, which changes the weighted sum of inputs and allows the model to learn complex data patterns better [98].
According to Hippert et al. [99], the output is generated using radial basis function neural networks, which are derived from a supervised learning configuration. The network structure is feedforward, with links from the input layer to the output layer, without any feedback loops. The input layer consists of the predictor variables, and the hidden layer consists of unobservable nodes that process the information. The network architecture consists of a single hidden radial basis function-based hidden layer in this case. A hyperbolic tangent is applied as the activation function in the hidden layer and can be defined by the equation:
f c = tanh c = e c e c e c + e c
This function accepts real-valued inputs and transforms them into an output space of –1 to 1, introducing non-linearity to the model so that it is capable of learning complex patterns within the data. The output layer is the target variable (response). Its activation function establishes a direct linear relation between the weighted sums of inputs and the output of the succeeding layer, and it is defined as f c = c .
In this study, the ANN model was trained on a well-preprocessed dataset, in which the input variables were pretested for consistency and relevance using statistical testing before use. A single hidden layer feedforward multilayer perceptron was employed, which was trained with backpropagation. The hidden layer employed a hyperbolic tangent as its activation function, and the output layer employed a linear function. From grid search tuning, the network structure was set so that 10 neurons would be in the hidden layer. This ensured that the network was provided with high-quality inputs, resulting in improved prediction accuracy and model robustness.
3. Predictive models based on a decision tree (DT) increase the task of modeling, giving an interpretable rival to convoluted ANN designs. DTs represent one of the most frequently utilized machine learning programs for classifying objects because of their largest advantage of being simple and understandable [100]. In contrast with traditional regression analysis, DTs do not make assumptions regarding the normality in the data and are capable of handling non-linear and very complicated relationships between variables. They also perform automatic feature selection, eliminating irrelevant predictors from the model.
In the initial step of DT development, the learning set is sorted according to each attribute. Various tree-growing methods can be used, depending on the chosen splitting rule. In this study, the classification and regression trees (C&RT) algorithm [101] is used to construct the DT model. C&RT is a binary recursive partitioning technique that creates successively more homogeneous subsets of the dataset by splitting it based on the target (dependent) variable. The C&RT algorithm’s objective is to produce splits that maximize the homogeneity of the child nodes created. A leaf node, whose observations all belong to the same class of the dependent variable, is pure and does not require splitting. To compare the quality of each split, an impurity metric is employed, which measures the degree to which a node is made up of mixed cases.
In this algorithm, the Gini index is the measure of impurity. The Gini index measures the heterogeneity of a node in terms of the squared probabilities of being in different classes of the target variable. A lower Gini value is associated with greater purity. If a node contains cases of a single class, its Gini index is zero, indicating maximum homogeneity [102]. The Gini index can be calculated by the following:
G i n i = 1 i = 1 C p i 2
where p i represents the probability that a randomly selected observation belongs to category i , and C denotes the total number of categories. The Gini index ranges from 0 (pure node) to 1 (most impurity) and assists the algorithm in selecting the optimal splits in constructing trees [103].
In this study, the C&RT algorithm was employed to construct the decision tree model utilizing Gini impurity as the method of splitting. Pruning on 10-fold cross-validation was employed to prevent overfitting. The DT was also trained analogously to ANN on a stratified 70:30 training:test split of the final dataset with 1123 firms to offset the imbalance caused by a lack of insolvent firms.
4. After developing individual predictive models using both the ANN and DT methods, the next step is to compare and evaluate their predictive performance. To have a comprehensive evaluation of the performance of each model in predicting the target outcomes, several evaluation metrics are used. Specifically, the area under the receiver operating characteristic curve [104], the accuracy rate [105], and F1-score [106] are used as performance measures. These measures offer valuable information regarding the overall classification quality, the precision–recall trade-off, and the ability of the models to distinguish between the classes at different threshold settings.
The area under the curve (AUC) is a composite metric derived from the receiver operating characteristic (ROC) curve, which is a graphical instrument used to measure the model’s predictive accuracy [107]. The ROC curve is constructed from two basic metrics: sensitivity and specificity [108,109]. In the ROC curve, the y -axis represents sensitivity and the x -axis represents 1−specificity. The sensitivity is calculated as:
s e n s i t i v i t y = T 0 T 0 + F 1
where T 0 is the number of true positives, and F 1 is the number of false negatives. On the contrary, specificity is calculated as:
s p e c i f i c i t y = T 1 T 1 + F 0
where T 1 denotes the number of true negatives, and F 0 represents the number of false positives.
The AUC measure portrays the ability of the model to distinguish between the negative and positive classes. A perfect model would have an AUC measure of 1, demonstrating that the model separates all positive and negative examples without generating false positives or false negatives. AUC, in this context, is a vital measure in evaluating the model’s classification quality in distinguishing between prosperous and non-prosperous companies.
Chang et al. [110] note that accuracy rate is one of the most popular performance metrics, which is derived from the confusion matrix and approximated according to the following formula:
a c c u r a c y   r a t e = T 0 + T 1 T 0 + F 1 + F 0 + T 1
The F1-score is yet another important performance metric that can be derived from the confusion matrix, which is extremely convenient in the scenario of imbalanced data. It gives a single measure that encompasses both precision and recall, and ranges from 0 to 1, with 1 being the best possible score [111]. The F1-score is calculated as:
F 1   s c o r e = 2 · p r e c i s i o n · r e c a l l p r e c i s i o n + r e c a l l
where p r e c i s i o n = T 0 T 0 + F 1 and r e c a l l = T 0 T 0 + F 0 . The model has a high F1-score if it strikes a good balance between identifying positive and negative cases correctly and thus is a good measure when both false positives and false negatives are significant.

4. Results

The first step is to conduct the independent samples t-test and Levene’s test of equality of variances of the ratios by group. Table 2 presents the results of Levene’s test and the Student’s t-test for the statistically significant findings. Based on the results, all the ratios have means that are significantly different for prosperous and non-prosperous firms (Sig. < 0.05), except for the interest burden ratio and the debt-to-cash flow ratio.
Despite their t-test p-values exceeding 0.05, the interest burden ratio and debt-to-cash flow ratio were retained since they are theoretically significant and possess predictive power. The t-test tests mean differences only and cannot identify non-linear relationships and interactions, which are essential in the modeling of financial distress. These two ratios are significant identifiers of a firm’s ability to pay debt and interest obligations, and hence are essential in measuring solvency risk. Additionally, their contribution to multivariate models like decision trees and neural networks could be uncovered using feature importance analysis or interpretability techniques. Having all these variables guarantees a theoretically grounded and complete model for empirical testing in subsequent analyses.
The descriptive statistics of the variables are presented in Table 3 for the two groups, i.e., prosperous and non-prosperous firms, to demonstrate the general characteristics of the variables in the sample.
The results in Table 4 show that the training and testing samples did exceedingly well in classifying accuracy in identifying corporate bankruptcy. The ANN model was accurate in classifying prosperous companies, where there was 98.9% accuracy in the training set and 99.7% accuracy in the test set. However, its accuracy in predicting distressed companies was limited to 32.4% while training and 35.3% while testing. Thus, the total accuracy of the ANN model was 95.8% in the training set and 96.4% in the test set. The DT model performed at a relatively balanced level of performance, with 66.7% accuracy in predicting both training and test sets as distressed firms. It also classified stable firms with a high accuracy of 98.6% in the training set and 99.0% in the test set. The overall accuracy of the DT model was 96.9% in training and 97.8% in testing, slightly better than that of the ANN model. While both models classify financially stable firms with good accuracy, the DT model accurately classifies distressed firms better. Whereas the ANN model, with its extremely high overall performance, was poor at false negatives and consequently less effective in predicting the early warning signs of financial distress, the DT model represented a better balance between precision and recall and thus a more realistic tool for financial risk. The test dataset scored slightly higher classification accuracy than the training set for both ANN and DT models, while this counterintuitive result can be explained by the fact that the number of non-prosperous firms in the dataset was small and the use of stratified sampling may have caused a more representative split of the feature values in the test set. Moreover, cross-validation in training was used to mitigate the risk of overfitting, leading to stable generalization performance in both subsets.
The relative importance of independent variables in forecasting financial distress shows significant differences between the DT and ANN models (Table 5). In the ANN model, high-importance influential variables include the current indebtedness ratio with an importance of 0.145 (100.0%), followed by the financial independence ratio at 0.131 (90.7%) and the total indebtedness ratio at 0.129 (89.1%). These results illustrate the ANN model’s emphasis on leverage and equity-related metrics. In contrast, the insolvency ratio contributed the least, with an importance of 0.032 (22.1%). The DT model, on the contrary, places most emphasis on the total indebtedness ratio, self-financing ratio, and financial independence ratio, all of which are assigned a rating of 100%. These are the most significant variables for the DT’s categorization. The model further emphasizes leverage, with high priority given to the debt-to-equity ratio and equity leverage at 69% each. However, profitability ratios, including the interest coverage and the non-current indebtedness ratios, were assigned minimal importance in the DT model, with scores of 0% and 3.3%, respectively. To complement the interpretability of the DT, the structure used in this study is visualized in Figure A1.
The performance of the ANN and DT models is evaluated using the key classification metrics of accuracy, precision, recall, F1-score, and area under the curve (AUC). Based on the results in Table 6, it is noticed that both of the models have excellent predictive power, with AUC values greater than 0.95, which represents outstanding discrimination ability in distinguishing between financially prosperous and non-prosperous firms. Both models show excellent classification ability, while the DT model does perform marginally better. The AUC reading was 0.9550 with the DT model, while the ANN model scored 0.9500. Regarding accuracy, the DT model is found to properly classify instances 97.78% of the time, in contrast to 96.37% by the ANN. The DT model also performed better in terms of precision at 98.69%, with fewer false positives, while the ANN had a precision of 96.60%. The ANN, however, had better recall, detecting 99.68% of financially troubled companies correctly, while the DT achieved 99.01%. The F1-score that weighs precision against recall was marginally better for the DT at 98.85%, compared to 98.12% for the ANN, as an indication of its overall solid classification accuracy.
Although both models had strong prediction performance, DT outperformed ANN on all the measures of evaluation, except for recall. One of the advantages of DT is that it is interpretable. Unlike ANN, which is a black box and does not provide explicit rules or threshold values, decision trees yield clean decision paths that are easy to understand and enforce by practitioners. This explainability makes DT particularly suitable for financial decision-making contexts, where interpretability is paramount. In contrast, ANN’s lack of interpretability limits its direct practical use, although techniques such as SHAP (SHapley Additive Explanations) or LIME (Local Interpretable Model-Agnostic Explanations) can be employed to develop a better understanding of the impact of single variables on model predictions, thereby making it more practical.
A closer examination of the misclassified samples reveals that both models had difficulties with firms with borderline financial profiles, e.g., intermediate debt levels paired with volatile profitability. The ANN model would sometimes misclassify non-prosperous firms as prosperous, likely due to overfitting against the majority class. Conversely, the DT model would sometimes give false positives, resulting from stringent threshold-based decision splits. These patterns suggest that adding non-financial measures or time-series data, such as management structure or reliance on subsidies, would enhance accuracy in close calls.

5. Discussion

The results presented in the previous section present a general overview of the predictive accuracy and interpretability of the ANN and DT models for agricultural business bankruptcy prediction. In this section, the results are interpreted based on the previous literature, with particular focus on how they support or contradict earlier research findings. Emphasis is placed on the intuitive significance of the relationships found, especially regarding the usability of specific financial metrics and the comparative advantages of the developed models.
Pendharkar [48] and Korol [49] emphasized the debt-to-equity ratio and liquidity indicators as critical parameters in their ANN models used to predict bankruptcy. These two parameters were also emphasized in a study by Behr and Weinblat [50], who utilized random forest models to highlight the importance of such factors in describing complex relationships between financial indicators and bankruptcy risk in different European countries. Mihalovic [51] and Horvathova et al. [52], for Slovak companies, also found the debt-to-equity ratio to be the most important predictor, with ANN models discriminating far more accurately than traditional models. Similarly, Tudor et al. [53] identified that the interest coverage ratio and financial independence ratio are critical predictors in identifying the financial distress of Romanian companies with the assistance of DT techniques. These findings are in line with the importance of the interest coverage ratio and financial independence ratio observed in the findings of the DT model in the present paper, which carried a good level of predictive power for these measures. Interestingly, while both ANN and DT models across the majority of the reviewed research have produced similar trends regarding the relative significance of individual financial variables, the degree to which each variable is accorded significance can vary based on the method used. According to Korol [54] and Vojtekova and Kliestik [112], the ANN models revealed good classification accuracy, with a major focus on factors such as profitability and liquidity. The current indebtedness ratio and non-current indebtedness ratio were shown to be of relatively lesser importance in ANN models, and that is reflective of the same trend in similar earlier work such as that of Radovanovic and Haas [55], where the prominence of liquidity and leverage indicators outweighed other variables. Furthermore, the financial independence ratio is always cited as an important indicator, as in Chen [56], where it was prominently used as a Taiwanese company bankruptcy predictor. His results are consistent with the DT model findings herein, where the financial independence ratio was assigned a high importance value of 100%, confirming its relevance in bankruptcy prediction. The interest burden ratio and debt-to-cash flow ratio, which have manifested moderate significance in the present paper, were also considered in studies like Jeong et al. [57], where the variables related to the ability of a company to generate cash flow and service its debt burden were pivotal. These variables were less impactful in studies such as Mihalovic [51], where profitability and leverage were of more concern than operational measures such as interest burden ratio. Certain variables, such as the insolvency ratio and non-current assets coverage ratio, were less significant in both ANN and DT models in various studies. Korol [54] also pointed out that while insolvency ratios were important, their predictive contribution within models was comparatively lower than that of profitability and liquidity-based variables, which echoes the findings in this study, where the insolvency ratio had very little significance in the ANN model.
Bankruptcy prediction is a globally relevant area of study, with research contributions worldwide that underscore the significance of advanced machine learning methods for improved prediction accuracy. The success of these approaches has been consistently proven across various economies and sectors, and this is an issue of global interest. Several studies point to the excellence of ANN in bankruptcy prediction. Pamuk et al. [58] achieved 82.8% accuracy with an ANN model with 13 variables. Similarly, Shetty et al. [59] achieved 82% accuracy with only five variables, which shows that ANN models can make accurate predictions even when only a few predictors are used. Radovanovic and Haas [55] attained 79% accuracy using an ANN model with 20 variables, while Ben Jabeur and Serret [60] attained 77.34% accuracy using 17 variables. These results confirm that ANNs are capable of detecting intricate patterns in financial data and making good predictions even with heterogeneous sets of variables. Subsequent studies have validated these findings. Kuiziniene and Krilavicius [61] employed an ANN model to detect financial distress, with 92% accuracy, 91% precision, 90% recall, and an F1-score of 90.5%, emphasizing the significance of balance methods such as SMOTE in improving model performance. Similarly, Hamdi et al. [62] attained a high accuracy of 97.80% by applying deep neural networks (DNNs) on Tunisian companies, with a precision of 98.00%, recall of 97.50%, and an F1-measure of 97.75%. Chen et al. [63] also depicted the superiority of hybrid ANN models integrated with genetic algorithms and fuzzy logic, with an AUC of 0.979, accuracy of 96.53%, precision of 96.70%, recall of 96.53%, and an F1-score of 96.58% in Taiwan’s electronics industry. These studies highlight not only the resilience of ANN and deep learning models, but also their applicability in all industries and countries. Comparatively, DT models have worked just as effectively in predicting bankruptcy, often rendering very similar outcomes as ANN models, with the extra benefit of better interpretability. Pamuk et al. [58] registered 82.8% accuracy through a DT model, the same as in their ANN model. Likewise, Shetty et al. [59] experienced 82% accuracy using a DT model, almost the same as their ANN findings. Radovanovic and Haas [55] and Ben Jabeur and Serret [60] had DT models with 79% and 77.34% accuracy, respectively, the same as their ANN performance. Current studies have also continued to affirm the use of DT models. Kuiziniene and Krilavicius [61] were 88% accurate and had an F1-score of 86% for DT models; although lower than the ANN results, they were still helpful because of their clear decision rules. Fasano et al. [64], in a study conducted in Italy, emphasized the interpretability–accuracy trade-off, where a DT model achieved 84% accuracy, 82% precision, and 80% recall, and had an F1-score of 81%. Additionally, ensemble techniques involving DTs have been found to have more predictive accuracy. Njoku et al. [65] employed ensemble learning techniques to improve bankruptcy prediction for financial analysis and obtained an accuracy of 88.5%, precision of 85.2%, recall of 84.1%, and F1-score of 84.6%. Interestingly, most studies indicate that variable counts are not necessarily related to model accuracy. For instance, Garcia [66] used merely six predictors and achieved 73.6% accuracy for DT as well as ANN models. This also demonstrates that the relevance and quality of selected predictors are more important in influencing the efficacy of a model than their numbers. Similarly, Chen [56] demonstrated that SVM was found to be more effective than both DT and traditional models even when fewer financial indicators were used.
Many studies emphasize the superior performance of machine learning algorithms in predicting financial distress and bankruptcy across various sectors. Similar work has also been conducted in Slovakia, confirming the usability of similar techniques for Slovak firms. Among the earlier works, Mihalovic [51] compared traditional statistical methods to machine learning algorithms, namely DT, for Slovak firms’ default risk prediction. The study confirmed that DT models outperformed traditional methods in classification accuracy, with the accuracy rate reaching as much as 83.5%. This confirmed the importance of financial measures such as profitability and leverage in bankruptcy prediction. Horvathova and Mokrisova [68] critically evaluated the limitations of traditional linear regression models and emphasized the need to use more advanced machine learning algorithms, such as DT and ANN, in an attempt to more accurately capture the intricate, non-linear dynamics inherent in financial data. Several more recent research studies have examined the predictive ability of ANN models in the Slovak context. Durica et al. [69] compared ANN and DT models in predicting the financial distress of Slovak firms. The findings were that ANN models performed better overall than DT models, with the ANN model achieving an AUC greater than 0.90 in several cases. Whereas DT models performed poorer in classification, they were valued due to their simplicity and interpretability. In addition, Horvathova et al. [52] utilized both ANN and DT models in the analysis of financial distress in construction companies operating in Slovakia. ANN models achieved better classification accuracy, well over 90%, and DT models were preferred for their ability to create transparent decision rules that make them easier to interpret for stakeholders. Furthering the support with evidence of ANN’s capability for forecasting bankruptcy, Letkovsky et al. [70] further researched its application for company bankruptcy forecasting in Slovakia. Based on the findings, the performance of ANN models surpassed the traditional statistical models, reaching a level of 92%. This goes towards supporting yet further the applicability of ANN models to abstracting intricate financial interdependences and to the characterization of non-linear interdependences among finance variables. Of particular value was the research by Gavurova et al. [71], wherein the non-corporate financial sector in the guise of engineering and automobile industries was the focus sector in Slovakia. Based on figures drawn from 2384 Slovak companies over five years, they constructed an early warning model using a multilayer artificial neural network (ANN) and logistic regression. Their ANN model was found to have high predictive accuracy, with 93.53% accuracy, 92.54% precision, 94.19% recall, and an F1-score of 93.36%. The results confirm the effectiveness of neural networks in modeling complex financial patterns and improving early bankruptcy risk detection in Slovak companies. Similarly, Jencova et al. [72] conducted a study that aimed to predict bankruptcy in Slovak non-financial companies using ANN models. Their multilayer perceptron model, which utilized key financial indicators such as profitability, liquidity, and indebtedness, achieved an accuracy of 86.7%. They also achieved a precision of 85.2%, a recall of 84.9%, and an F1-score of 85%. Although the study did not explicitly mention the AUC value, the results indicate good and well-proportioned performance of the neural network model. The research emphasizes the ability of ANN-based techniques to design effective early warning systems for the Slovak economy.
Besides widely recognized bankruptcy prediction models, there are also some tailored to the Slovak agricultural sector, developed to address its unique fiscal problems, including seasonality, subsidy reliance, and variable investments in assets. Specifically, the model by Chrastinova [113] has helped to discriminate between prosperous and non-prosperous firms, although its simplicity may not be able to capture financial distress dynamics of agro-firms given the background of the volatility of market conditions and external shocks. Similarly, the model developed by Gurcik [114] discriminates enterprises into the same categories. While the two models have been run in the Slovak farming environment, they are constrained in usage by their samples and, by proxy, perhaps generalizability. While useful for preliminary diagnostic use, such conventional models might be supplemented by more advanced methods, e.g., machine learning, that can handle non-linear relationships and provide insights regarding drivers of financial distress to a deeper extent. Valaskova et al. [115] also compared the performance of various bankruptcy prediction models in the Slovak agricultural sector, and the findings concluded that the model by Gurcik [114] was found to exhibit superior predictive accuracy compared to the model by Chrastinova [113]. Valaskova et al. [116] drew on this, conducting a critical examination of bankruptcy prediction models specially formulated for Slovak agriculture. They found that the use of context-specific models pays off, in that those customized for the Slovak agricultural sector yield better results than generic models, particularly in the area of prediction accuracy. Comparatively, AI-based models utilized in this study possess even greater predictive ability. The results achieved with the given models, i.e., AUC of 0.9500 and 0.9550, and F1 measure of 0.9812 and 0.9885, are much better than those of the traditional evaluation methods such as TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution), which are typically applied in agricultural performance appraisal in Slovakia [117]. The AI models, not only with improved predictive accuracy but also with interpretability, are thereby ensured to be a potent tool for enhancing more accurate and actionable bankruptcy prediction in agriculture. These studies demonstrate that while DTs offer good interpretability and clarity, ANNs yield better predictive accuracy and performance metrics in predicting Slovak company bankruptcies. Still, using crucial financial metrics such as profitability, liquidity, and indebtedness is vital for improving model performance for different machine learning techniques.
Generally, these results suggest that policymakers in agricultural finance and rural development may benefit from integrating enhanced predictive models, such as artificial neural networks, into early warning systems for financial distress. The importance of the leverage and liquidity measures, most notably the debt-to-equity ratio and independence from finance ratio, offers an open basis for enhancing financial risk evaluation tools used in subsidy disbursement, credit evaluation, or support programs. Additionally, because of the explainability of decision trees, these types of models may be employed as transparent and readable tools for public agencies seeking to implement rule-based financial management or regulatory decision-making models that are tailored to the specific needs of agricultural enterprises.

6. Conclusions

The extent of indebtedness of agricultural enterprises has a substantial impact on their financial well-being, with excess indebtedness being one of the key determinants of potential financial distress. Since their operations are capital-intensive and heavily dependent on borrowed capital and subsidies, most firms in the sector are prone to heightened financial risks. High debt levels can potentially significantly increase insolvency risk, particularly when it is combined with other determinants such as limited access to financing or market condition instability. Thus, understanding the relationship between indebtedness and insolvency risk is a primary issue in the assessment of the financial condition of agricultural companies. Due to the unique structural and financial characteristics of agricultural firms, such as seasonality, subsidy reliance, and balance sheet asset intensiveness, their classification in bankruptcy prediction models deserves special consideration. This study contrasted the performance of ANN and DT models in forecasting bankruptcy in Slovak agricultural companies. Given the sector’s financial weaknesses, such as expensive operations, price volatility of commodities, and external reliance, the ability to accurately predict financial distress is crucial. The findings confirm that machine learning techniques significantly improve bankruptcy prediction compared to traditional methods, with ANN and DT model displaying adequate classification accuracy.
ANN was superior in prediction accuracy, with an AUC of 0.9500, accuracy of 96.37%, precision of 96.60%, recall of 99.68%, and an F1-score of 98.12%. This all indicates that ANN models are extremely efficient in retrieving complex financial trends, and they are thus an excellent choice when it comes to predicting bankruptcy. Similarly, DT was equally successful, achieving an AUC of 0.9550, accuracy of 97.78%, precision of 98.69%, recall of 99.01%, and an F1-score of 98.85%. The DT model’s slightly better AUC value shows that DT maintains equivalent predictive strength at the cost of interpretability, which is a significant merit in financial decision-making. Analysis showed total indebtedness and self-financing ratios, along with current indebtedness and financial independence ratios, as primary bankruptcy predictors across both models. These findings are in line with previous research, reaffirming the importance of liquidity and leverage ratios in assessing financial well-being. At the same time, the interest coverage ratio and insolvency ratio played a role, indicating that all financial measures do not make an equal contribution to bankruptcy prediction.
Theoretically, this study contributes to the expanding literature at the intersection of machine learning and financial bankruptcy prediction. It reiterates that AI models, even when applied to relatively small and imbalanced datasets, are capable of outperforming traditional linear methods in bankruptcy prediction. The comparison between ANN and DT models also contributes to the understanding of the trade-off between model interpretability and prediction accuracy.
From a practical perspective, this research shows that machine-learning-based models are in strong competition to act as prewarning systems for businesses involved in capital-intensive and high-risk activities such as agriculture. With the capabilities of detecting and quantifying the impact of the best economic measures, such models transfer knowledge into actionable values, which can be infused into ordinary monetary oversight. Their application in bankruptcy forecasting can enhance financial risk assessment significantly, so that policymakers, financial analysts, and business executives can identify financially distressed companies earlier. This early identification can allow them to adopt preemptive restructuring and intervention on a timely basis, thus minimizing the risk of insolvency. This study thus emphasizes the necessity to continue monitoring financial ratios to allow for more predictable forecasting and enhanced financial resilience. For policymakers, the study implies incorporating AI-driven models of bankruptcy predictions in agricultural policy formulation. For managers, the study provides a set of tools that can be embedded in internal management financial systems. Monitoring key financial ratios such as the debt-to-equity, financial independence, and interest coverage ratios makes early warning of financial distress possible and enables strategic intervention at the right time. Such models will be able to strengthen the subsidy program design, enhance credit risk assessment, and inform supervisory regulation, particularly of small and medium-sized agricultural enterprises, which are more vulnerable to adverse financial environments.
This study makes the following contributions to the literature. It experimentally verifies two additional AI models in the previously underexplored setting of Central and Eastern European agriculture, demonstrating their applicability to financial distress prediction. This paper provides a comparative scheme for evaluating ANN and DT strengths and weaknesses for industry-specific prediction. It also paves the way for the extension of machine learning applications to domain-specific, data-poor settings where both interpretability and accuracy are of essential importance.
Despite its contribution, this study has several limitations. The sample is Slovak agricultural companies, and this might restrict the degree to which it can be generalized to other sectors or countries. Although both ANN and DT models were very accurate, their non-parametric and non-linear nature limits the interpretability of the direction of influence (positive or negative) of individual financial indicators. Unlike regression models, which provide signed coefficients, these AI approaches require post hoc tools to infer directional relations. Though ranking importance shows the variables that best predict, it cannot be used tell whether an increase in a particular indicator reduces or enlarges bankruptcy risk. Future research can fill this gap by incorporating explainability frameworks, i.e., SHAP or LIME, to learn more about how differences in input factors influence the calculated value. Additionally, future research might broaden the domain of information with macroeconomic considerations, non-monetary metrics (e.g., governance or weather risk), and exogenous shocks (e.g., pandemics or market dislocation). Although more advanced machine learning techniques like ensemble algorithms (e.g., RF, XGBoost) and deep neural networks (e.g., convolutional or recurrent neural nets) may yield slight improvements in predictive accuracy, this effort specifically emphasized standard and interpretable models. The choice of ANN and DT models was driven by the small sample size and requirements for practicality within the context of agricultural policy, where transparency and ease of interpretation are essential. Yet other advanced techniques, especially when supported by explainable AI architectures, might achieve enhanced prediction capability without sacrificing interpretability. Future research needs to explore these methodologies, particularly as more refined and longitudinal datasets become available.
In conclusion, this study confirms the growing use of artificial intelligence in financial risk analysis. The results confirm that both ANN and DT models provide highly accurate bankruptcy predictions, and they can be applied to assist financial decision-making and ensure economic stability in vulnerable sectors such as agriculture. The results suggest that machine learning techniques need to be integrated more into financial risk management systems, enabling stakeholders with more reliable tools for the prediction and prevention of financial distress.

Author Contributions

Conceptualization, D.G. and J.M.; methodology, D.G.; software, D.G.; validation, D.G. and J.M.; formal analysis, J.M.; investigation, D.G.; resources, J.M.; data curation, D.G.; writing—original draft preparation, D.G.; writing—review and editing, J.M.; visualization, D.G.; supervision, D.G. and J.M.; project administration, D.G.; funding acquisition, D.G. All authors have read and agreed to the published version of the manuscript.

Funding

The paper is an output of the project NFP313010BWN6 “The implementation framework and business model of the Internet of Things, Industry 4.0 and smart transport”.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AIArtificial Intelligence
ANNArtificial Neural Network
AUCArea Under Curve
C&RTClassification and Regression Tree
CICurrent Indebtedness Ratio
CULICurrent Liabilities
DCFDebt-to-Cash Flow Ratio
DEDebt-to-Equity Ratio
DE-BPDifferential Evolution backpropagation
DEBTDebtors
DEPRDepreciation and Amortization
DNNDeep Neural Network
DTDecision Trees
EATEarnings After Taxes
EBITEarnings Before Interest And Taxes
ELEquity Leverage Ratio
FIFinancial Independence Ratio
FIASFixed Assets
IBInterest Burden Ratio
ICInterest Coverage Ratio
InsInsolvency Ratio
INTEInterest Paid
LDALinear Discriminant Analysis
LIMELocal Interpretable Model-Agnostic Explanations
NCACNon-Current Assets Coverage Ratio
NCINon-Current Indebtedness Ratio
NCLINon-Current Liabilities
OCASOther Current Assets
ONCLOther Non-Current Liabilities
PSOParticle Swarm Optimization
RFRandom Forest
ROCReceiver Operating Characteristics
SFSelf-Financing Ratio
SHAPSHapley Additive exPlanations
SMESmall and Medium-sized Enterprises
SHFDShareholders’ Funds
SVMSupport Vector Machines
TITotal Indebtedness Ratio
TOASTotal Assets

Appendix A

To enhance interpretability, a reduced DT is graphed in Figure A1 that displays the significant decision nodes and threshold values used to classify firms. The root node is the total indebtedness ratio, while subsequent splits are based additionally on the self-financing ratio. These threshold values actually provide the financial tipping points at which firms become vulnerable to insolvency. Although the financial independence ratio was listed as highly influential in the variable importance ranking of the model, it does not appear in the final pruned tree visualization, which is due to the nature of the C&RT algorithm, where variable importance is calculated from all potential splits when growing the trees, even though a variable will be removed from the final, simplified tree through pruning.
Figure A1. Interpretable DT model for firm solvency. Source: own elaboration.
Figure A1. Interpretable DT model for firm solvency. Source: own elaboration.
Agriculture 15 01077 g0a1

References

  1. Dabija, D.C.; Frau, M. Leveraging artificial intelligence in marketing: Trend or the new normal? Oeconomia Copernic. 2024, 15, 1173–1181. [Google Scholar] [CrossRef]
  2. Andronie, M.; Blazek, R.; Iatagan, M.; Skypalova, R.; Uta, C.; Dijmarescu, A.; Kovacova, M.; Grecu, G.; Parvu, I.; Strakova, J.; et al. Generative artificial intelligence algorithms in Internet of Things blockchain-based fintech management. Oeconomia Copernic. 2024, 15, 1349–1381. [Google Scholar] [CrossRef]
  3. Valaskova, K.; Nagy, M.; Grecu, G. Digital twin simulation modeling, artificial intelligence-based Internet of Manufacturing Things systems, and virtual machine and cognitive computing algorithms in the Industry 4.0-based Slovak labor market. Oeconomia Copernic. 2024, 15, 95–143. [Google Scholar] [CrossRef]
  4. Balcerzak, A.P.; Valaskova, K. Artificial intelligence: Financial management under pressure of transformative technology. Equilibrium 2024, 19, 1127–1137. [Google Scholar] [CrossRef]
  5. Zvarikova, K.; Musova, Z.; Rowland, Z.; Skypalova, R. Factors determining the implementation of corporate social responsibility in the SME segment in the V4 region. Equilibrium 2024, 19, 1327–1362. [Google Scholar] [CrossRef]
  6. Kosikova, M.; Matovcikova, D. The Impact of Digital Quality of Life on Artificial Intelligence Development: A Case Study Using the DQL and AIRI Indexes. Ekon. Manazerske Spektrum 2024, 18, 24–37. [Google Scholar]
  7. Malik, J.; Poliakova, A.; Bohusova, H. The use of bankruptcy models in the context of assessing the macroeconomic business environment. Ekon. Manazerske Spektrum 2024, 18, 74–84. [Google Scholar]
  8. Durana, P.; Blazek, R.; Kovalova, E. Sherlock Holmes Between Homogeneity Tests: Detection Power Based on Profitability Ratios in the V4 Region. Stats 2024, 7, 1333–1353. [Google Scholar] [CrossRef]
  9. Kliestik, T.; Nica, E.; Durana, P.; Popescu, G.H. Artificial intelligence-based predictive maintenance, time-sensitive networking, and big data-driven algorithmic decision-making in the economics of Industrial Internet of Things. Oeconomia Copernic. 2023, 14, 1097–1138. [Google Scholar] [CrossRef]
  10. Nagy, M.; Lazariou, G.; Valaskova, K. Machine intelligence and autonomous robotic technologies in the corporate context of SMEs: Deep learning and virtual simulation algorithms, cyber-physical production networks, and Industry 4.0-based manufacturing systems. Appl. Sci. 2023, 13, 1681. [Google Scholar] [CrossRef]
  11. Aliyev, A.G. Regional-Sectoral Characteristics of the Formation of Digital Economy Sectors and Evaluation of Its Innovative Perspectives. Manag. Dyn. Knowl. Econ. 2024, 12, 262–284. [Google Scholar] [CrossRef]
  12. Nagy, M.; Valaskova, K.; Kovalova, E.; Macura, M. Drivers of S&P 500’s Profitability: Implications for Investment Strategy and Risk Management. Economies 2024, 12, 77. [Google Scholar] [CrossRef]
  13. Beaver, W.H. Financial ratios as predictors of failure. J. Account. Res. 1966, 4, 71–111. [Google Scholar] [CrossRef]
  14. Altman, E.I. Financial ratios, discriminant analysis and the prediction of corporate bankruptcy. J. Financ. 1968, 23, 589–609. [Google Scholar] [CrossRef]
  15. Ohlson, J.A. Financial ratios and the probabilistic prediction of bankruptcy. J. Account. Res. 1980, 18, 109–131. [Google Scholar] [CrossRef]
  16. Navarro-Galera, A.; Lara-Rubio, J.; Novoa-Hernandez, P.; Cruz, C. A Decision Tree Approach for Predicting Insolvency of SMEs: An Empirical Research in Spain. J. Mult. Valued Log. Soft Comput. 2024, 43, 23–37. [Google Scholar]
  17. Berrada, I.R.; Barramou, F.; Alami, O.B. Towards a Machine Learning-based Model for Corporate Loan Default Prediction. Int. J. Adv. Comput. Sci. Appl. 2024, 15, 565–573. [Google Scholar] [CrossRef]
  18. Kuster, D.; Vukovic, B.; Milutinovic, S.; Pestovic, K.; Tica, T.; Jaksic, D. Early insolvency prediction as a key for sustainable business growth. Sustainability 2023, 15, 15304. [Google Scholar] [CrossRef]
  19. Kozlovskyi, S.; Poliakov, R. Neurolinguistic Exchange Rate Forecasting at War as a Bankruptcy Economic Protection Mechanism. Montenegrin J. Econ. 2024, 20, 81–94. [Google Scholar]
  20. Khaldi, M.; Manita, G.; Chhabra, A.; Guesmi, R.; Hamrouni, T. Predicting Corporate Financial Failure Using Sigmoidal Opposition-Based Arithmetic Optimization Algorithm. Comput. Econ. 2024, 1–53. [Google Scholar] [CrossRef]
  21. Letkovsky, S.; Jencova, S.; Vasanicova, P.; Gavura, S.; Bacik, R. Predicting bankruptcy using artificial intelligence: The case of the engineering industry. Econ. Sociol. 2023, 16, 178–190. [Google Scholar] [CrossRef]
  22. Mate, D.; Raza, H.; Ahmad, I. Comparative analysis of machine learning models for bankruptcy prediction in the context of pakistani companies. Risks 2023, 11, 176. [Google Scholar] [CrossRef]
  23. Durica, M.; Svabova, L.; Kramarova, K. Predictive Modelling of Financial Distress of Slovak Companies Using Machine Learning Techniques. In Economics, Management & Business 2023: Contemporary Issues, Insights and New Challenges; University of Presov: Stary Smokovec, Slovakia, 2023; pp. 780–786. [Google Scholar]
  24. Silva, A.F.D.; Brito, J.H.; Lourenço, M.; Pereira, J.M. Sustainability of Transport Sector Companies: Bankruptcy Prediction Based on Artificial Intelligence. Sustainability 2023, 15, 16482. [Google Scholar] [CrossRef]
  25. Jones, S. A literature survey of corporate failure prediction models. J. Account. Lit. 2023, 45, 364–405. [Google Scholar] [CrossRef]
  26. Kaya, D.; Reichmann, D.; Reichmann, M. Out-of-sample predictability of firm-specific stock price crashes: A machine learning approach. J. Bus. Financ. Account. 2023, 52, 1095–1115. [Google Scholar] [CrossRef]
  27. Fedorova, E.; Ledyaeva, S.; Drogovoz, P.; Nevredinov, A. Economic policy uncertainty and bankruptcy filings. Int. Rev. Financ. Anal. 2022, 82, 102174. [Google Scholar] [CrossRef]
  28. Correa, A. Predicting business bankruptcy in Colombian SMEs: A machine learning approach. J. Int. Commer. Econ. Policy 2023, 14, 2350027. [Google Scholar] [CrossRef]
  29. Dasilas, A.; Rigani, A. Machine learning techniques in bankruptcy prediction: A systematic literature review. Expert Syst. Appl. 2024, 255, 124761. [Google Scholar] [CrossRef]
  30. Odom, M.D.; Sharda, R. A neural network model for bankruptcy prediction. In Proceedings of the 1990 IJCNN International Joint Conference on Neural Networks, San Diego, CA, USA, 17–21 June 1990; IEEE: Piscataway, NJ, USA; pp. 163–168. [Google Scholar]
  31. Zhang, G.; Hu, M.Y.; Patuwo, B.E.; Indro, D.C. Artificial neural networks in bankruptcy prediction: General framework and cross-validation analysis. Eur. J. Oper. Res. 1999, 116, 16–32. [Google Scholar] [CrossRef]
  32. Lin, W.Y.; Hu, Y.H.; Tsai, C.F. Machine learning in financial crisis prediction: A survey. IEEE Trans. Syst. Man Cybern. Part C (Appl. Rev.) 2011, 42, 421–436. [Google Scholar] [CrossRef]
  33. Ban, U.; Mazibas, M. Bank failure prediction with artificial neural networks: A comparative application to Turkish banking system. Iktisat Islet. Finans 2009, 24, 27–53. [Google Scholar] [CrossRef]
  34. Nagy, M.; Figura, M.; Valaskova, K.; Lazaroiu, G. Predictive Maintenance Algorithms, Artificial Intelligence Digital Twin Technologies, and Internet of Robotic Things in Big Data-Driven Industry 4.0 Manufacturing Systems. Mathematics 2025, 13, 981. [Google Scholar] [CrossRef]
  35. Swicegood, P.; Clark, J.A. Off-site monitoring systems for predicting bank underperformance: A comparison of neural networks, discriminant analysis, and professional human judgment. Intell. Syst. Account. Financ. Manag. 2001, 10, 169–186. [Google Scholar] [CrossRef]
  36. Akkaya, G.C.; Demireli, E.; Yakut, U.H. Using artificial neural networks in financial failure prediction: An application in Borsa İstanbul. J. Soc. Sci. Eskişehir Osman. Univ. 2009, 10, 187–216. [Google Scholar]
  37. Lacher, R.C.; Coats, P.K.; Sharma, S.C.; Fant, L.F. A neural network for classifying the financial health of a firm. Eur. J. Oper. Res. 1995, 85, 53–65. [Google Scholar] [CrossRef]
  38. Etheridge, H.L.; Sriram, R.S.; Hsu, H.K. A comparison of selected artificial neural networks that help auditors evaluate client financial viability. Decis. Sci. 2000, 31, 531–550. [Google Scholar] [CrossRef]
  39. Bloom, J.Z. Tourist market segmentation with linear and non-linear techniques. Tour. Manag. 2004, 25, 723–733. [Google Scholar] [CrossRef]
  40. Le, H.H.; Viviani, J.L. Predicting bank failure: An improvement by implementing a machine-learning approach to classical financial ratios. Res. Int. Bus. Financ. 2018, 44, 16–25. [Google Scholar] [CrossRef]
  41. Pendharkar, P.C.; Rodger, J.A. An empirical study of impact of crossover operators on the performance of non-binary genetic algorithm based neural approaches for classification. Comput. Oper. Res. 2004, 31, 481–498. [Google Scholar] [CrossRef]
  42. Zhang, J.R.; Zhang, J.; Lok, T.M.; Lyu, M.R. A hybrid particle swarm optimization–back-propagation algorithm for feedforward neural network training. Appl. Math. Comput. 2007, 185, 1026–1037. [Google Scholar] [CrossRef]
  43. Sarangi, P.P.; Sahu, A.; Panda, M. A hybrid differential evolution and back-propagation algorithm for feedforward neural network training. Int. J. Comput. Appl. 2013, 84, 1–9. [Google Scholar] [CrossRef]
  44. Blum, C.; Roli, A. Hybrid metaheuristics: An introduction. In Hybrid Metaheuristics: An Emerging Approach to Optimization; Springer: Berlin/Heidelberg, Germany, 2008; pp. 1–30. [Google Scholar]
  45. Shafiee, M.; Fakhari, H. Evaluation of back propagation-artificial neural network (BP-ANN) fit rate and types of vector machine algorithms in estimating the bankruptcy prediction of companies listed on tehran stock exchange. Turk. J. Comput. Math. Educ. 2021, 12, 1854–1868. [Google Scholar]
  46. Ptak-Chmielewska, A. Bankruptcy prediction of small-and medium-sized enterprises in Poland based on the LDA and SVM methods. Statistics in Transition. New Ser. 2021, 22, 179–195. [Google Scholar] [CrossRef]
  47. Thilakarathna, C.; Dawson, C.; Edirisinghe, E. Using financial ratios with artificial neural networks for bankruptcy prediction. In Proceedings of the 2022 IEEE International Conference on Artificial Intelligence and Computer Applications (ICAICA), Dalian, China, 24–26 June 2022; IEEE: Piscataway, NJ, USA; pp. 55–58. [Google Scholar] [CrossRef]
  48. Pendharkar, P.C. A threshold-varying artificial neural network approach for classification and its application to bankruptcy prediction problem. Comput. Oper. Res. 2005, 32, 2561–2582. [Google Scholar] [CrossRef]
  49. Korol, T. Dynamic bankruptcy prediction models for European enterprises. J. Risk Financ. Manag. 2019, 12, 185. [Google Scholar] [CrossRef]
  50. Behr, A.; Weinblat, J. Default patterns in seven EU countries: A random forest approach. Int. J. Econ. Bus. 2017, 24, 181–222. [Google Scholar] [CrossRef]
  51. Mihalovic, M. Applicability of Scoring Models in Firms’ Default Prediction. The Case of Slovakia. Politická Ekon. 2018, 66, 689–708. [Google Scholar] [CrossRef]
  52. Horvathova, J.; Mokrisova, M.; Schneider, A. The application of machine learning in diagnosing the financial health and performance of companies in the construction industry. Information 2024, 15, 355. [Google Scholar] [CrossRef]
  53. Tudor, L.; Popescu, M.E.; Andreica, M. A decision support system to predict financial distress. The case of Romania. Rom. J. Econ. Forecast. 2015, 18, 170–179. [Google Scholar]
  54. Korol, T. Early warning models against bankruptcy risk for Central European and Latin American enterprises. Econ. Model. 2013, 31, 22–30. [Google Scholar] [CrossRef]
  55. Radovanovic, J.; Haas, C. The evaluation of bankruptcy prediction models based on socio-economic costs. Expert Syst. Appl. 2023, 227, 120275. [Google Scholar] [CrossRef]
  56. Chen, M.Y. Comparing traditional statistics, decision tree classification and support vector machine techniques for financial bankruptcy prediction. Intell. Autom. Soft Comput. 2012, 18, 65–73. [Google Scholar] [CrossRef]
  57. Jeong, C.; Min, J.H.; Kim, M.S. A tuning method for the architecture of neural network models incorporating GAM and GA as applied to bankruptcy prediction. Expert Syst. Appl. 2012, 39, 3650–3658. [Google Scholar] [CrossRef]
  58. Pamuk, M.; Grendel, R.O.; Schumann, M. Towards ML-based Platforms in Finance Industry—An ML Approach to Generate Corporate Bankruptcy Probabilities based on Annual Financial Statements. In Proceedings of the ACIS 2021-Australasian Conference on Information Systems, Sydney, Australia, 6–10 December 2021. [Google Scholar]
  59. Shetty, S.; Musa, M.; Bradart, X. Bankruptcy prediction using machine learning techniques. J. Risk Financ. Manag. 2022, 15, 35. [Google Scholar] [CrossRef]
  60. Ben Jabeur, S.; Serret, V. Bankruptcy prediction using fuzzy convolutional neural networks. Res. Int. Bus. Financ. 2023, 64, 101844. [Google Scholar] [CrossRef]
  61. Kuiziniene, D.; Krilavicius, T. Balancing Techniques for Advanced Financial Distress Detection Using Artificial Intelligence. Electronics 2024, 13, 1596. [Google Scholar] [CrossRef]
  62. Hamdi, M.; Mestiri, S.; Arbi, A. Artificial intelligence techniques for bankruptcy prediction of tunisian companies: An application of machine learning and deep learning-based models. J. Risk Financ. Manag. 2024, 17, 132. [Google Scholar] [CrossRef]
  63. Chen, Y.S.; Lin, C.K.; Lo, C.M.; Chen, S.F.; Liao, Q.J. Comparable studies of financial bankruptcy prediction using advanced hybrid intelligent classification models to provide early warning in the electronics industry. Mathematics 2021, 9, 2622. [Google Scholar] [CrossRef]
  64. Fasano, F.; Adornetto, C.; Zahid, I.; La Rocca, M.; Montaleone, L.; Greco, G.; Cariola, A. The dilemma of accuracy in bankruptcy prediction: A new approach using explainable AI techniques to predict corporate crises. Eur. J. Innov. Manag. 2024, 28, 1–22. [Google Scholar] [CrossRef]
  65. Njoku, A.O.; Mpinda, B.N.; Awe, O.O. Improving the accuracy of financial bankruptcy prediction using ensemble learning techniques. In Proceedings of the Pan African Conference on Artificial Intelligence, Addis Ababa, Ethiopia, 5–6 October 2023; Springer: Cham, Switzerland; pp. 3–29. [Google Scholar] [CrossRef]
  66. Garcia, J. Bankruptcy prediction using synthetic sampling. Mach. Learn. Appl. 2022, 9, 100343. [Google Scholar] [CrossRef]
  67. Horvathova, J.; Mokrisova, M. Linear model as a tool in the process of improving financial health. Econ. Soc. Dev. Book Proc. 2018, 435–444. [Google Scholar]
  68. Durica, M.; Frnda, J.; Svabova, L. Artificial neural network and decision tree-based modelling of non-prosperity of companies. Equilibrium. Q. J. Econ. Econ. Policy 2023, 18, 1105–1131. [Google Scholar] [CrossRef]
  69. Letkovsky, S.; Jencova, S.; Vasanicova, P. Is Artificial Intelligence Really More Accurate in Predicting Bankruptcy? Int. J. Financ. Stud. 2024, 12, 8. [Google Scholar] [CrossRef]
  70. Gavurova, B.; Jencova, S.; Bacik, R.; Miskufova, M.; Letkovsky, S. Artificial intelligence in predicting the bankruptcy of non-financial corporations. Oeconomia Copernic. 2022, 13, 1215–1251. [Google Scholar] [CrossRef]
  71. Jencova, S.; Petruska, I.; Lukacova, M.; Abu-Zaid, J. Prediction of bankruptcy in non-financial corporations using neural network. Montenegrin J. Econ. 2021, 17, 123–134. [Google Scholar] [CrossRef]
  72. Andresson, A.; Lukason, O. Corporate default prediction with payment disturbances in managers’ earlier entrepreneurial practices. Cogent Bus. Manag. 2024, 11, 2302203. [Google Scholar] [CrossRef]
  73. Yaro, A.S.; Maly, F.; Prazak, P.; Maly, K. Outlier detection performance of a modified z-score method in time-series rss observation with hybrid scale estimators. IEEE Access 2024, 12, 12785–12796. [Google Scholar] [CrossRef]
  74. Kliestik, T.; Misankova, M.; Valaskova, K.; Svabova, L. Bankruptcy prevention: New effort to reflect on legal and social changes. Sci. Eng. Ethics 2018, 24, 791–803. [Google Scholar] [CrossRef]
  75. Valaskova, K.; Kliestik, T.; Kovacova, M. Management of financial risks in Slovak enterprises using regression analysis. Oeconomia Copernic. 2018, 9, 105–121. [Google Scholar] [CrossRef]
  76. Blazek, R.; Durana, P.; Michulek, J. Renaissance of creative accounting due to the pandemic: New patterns explored by correspondence analysis. Stats 2023, 6, 411–430. [Google Scholar] [CrossRef]
  77. Janoskova, K.; Balcerzak, A.P.; Kral, P. An unconventional apprach to evaluating the financial performance under critical macroeconomic disturbances: The case of public transport during the COVID-19 pandemic. Pol. J. Manag. Stud. 2024, 29, 273–292. [Google Scholar] [CrossRef]
  78. Durana, P.; Kovalova, E.; Blazek, R.; Bicanovska, K. Business Efficiency: Insights from Visegrad Four Before, During, and After the COVID-19 Pandemic. Economies 2025, 13, 26. [Google Scholar] [CrossRef]
  79. Valaskova, K.; Kliestik, T.; Gajdosikova, D. Distinctive determinants of financial indebtedness: Evidence from Slovak and Czech enterprises. Equilibrium. Q. J. Econ. Econ. Policy 2021, 16, 639–659. [Google Scholar] [CrossRef]
  80. Jencova, S.; Petruska, I.; Lukacova, M. Relationship between ROA and total indebtedness by threshold regression model. Montenegrin J. Econ. 2021, 17, 37–46. [Google Scholar] [CrossRef]
  81. Vozarova, I.K.; Kotulic, R.; Vavrek, R. Disparities in the financial performance of agricultural entities according to the legal form: The case of Slovakia. Appl. Econ. 2019, 51, 5999–6008. [Google Scholar] [CrossRef]
  82. Hajdys, D.; Jablonska, M.; Slebocka, M. Impact of Textile Industry Restructuring on the Financial Condition of Local Government Units for the Example of the Lodz Region in Poland. Fibres & Textiles in Eastern Europe. Fibres Text. East. Eur. 2020, 143, 8–19. [Google Scholar] [CrossRef]
  83. Dyskova, S.; Petrikovicova, L.; Roubalova, M. The growth of tourism and its impact on the protected areas of Iceland. Ad Alta-J. Interdiscip. Res. 2021, 11, 402–407. [Google Scholar]
  84. Kristofik, P.; Slampiakova, L. Differences in Capital Structure of Publicly Traded Companies in Europe and USA. Politicka Ekon. 2021, 69, 322–339. [Google Scholar] [CrossRef]
  85. Bansal, A. Analyzing the influence of financial leverage on social performance of selected non-financial companies in Bahrain. Int. J. Syst. Assur. Eng. Manag. 2024, 16, 392–401. [Google Scholar] [CrossRef]
  86. Oriskoova, D.; Paksiova, R. Decompositon of ROE to Selected Financial Analysis Indicators. In European Financial Systems 2018: Proceedings of the 15th International Scientific Conference, Brno, Czech Republic, 25–26 June 2018; Masaryk University Press: Brno, Czech Republic, 2018; pp. 479–486. [Google Scholar]
  87. Voon, J.P.; Lin, C.; Ma, Y.C. Managerial overconfidence and bank loan covenant usage. Int. J. Financ. Econ. 2020, 27, 4575–4598. [Google Scholar] [CrossRef]
  88. Gregova, E.; Valaskova, K.; Adamko, P.; Tumpach, M.; Jaros, J. Predicting financial distress of slovak enterprises: Comparison of selected traditional and learning algorithms methods. Sustainability 2020, 12, 3954. [Google Scholar] [CrossRef]
  89. Parra-Frutos, I. The behaviour of the modified Levene’s test when data are not normally distributed. Comput. Stat. 2009, 24, 671–693. [Google Scholar] [CrossRef]
  90. Gastwirth, J.L.; Gel, Y.R.; Miao, W. The impact of Levene’s test of equality of variances on statistical theory and practice. Stat. Sci. 2009, 24, 343–360. [Google Scholar] [CrossRef]
  91. Noguchi, K.; Gel, Y.R. Combination of Levene-type tests and a finite-intersection method for testing equality of variances against ordered alternatives. J. Nonparametric Stat. 2010, 22, 897–913. [Google Scholar] [CrossRef]
  92. Iachine, I.; Petersen, H.C.; Kyvik, K.O. Robust tests for the equality of variances for clustered data. J. Stat. Comput. Simul. 2010, 80, 365–377. [Google Scholar] [CrossRef]
  93. Jayalath, K.P.; Ng, H.K.T.; Manage, A.B.; Riggs, K.E. Improved tests for homogeneity of variances. Commun. Stat. -Simul. Comput. 2017, 46, 7423–7446. [Google Scholar] [CrossRef]
  94. Schmidhuber, J. Deep learning in neural networks: An overview. Neural Netw. 2015, 61, 85–117. [Google Scholar] [CrossRef]
  95. Zhang, G.; Patuwo, B.E.; Hu, M.Y. Forecasting with artificial neural networks:: The state of the art. Int. J. Forecast. 1998, 14, 35–62. [Google Scholar] [CrossRef]
  96. Zhang, G.P. Time series forecasting using a hybrid ARIMA and neural network model. Neurocomputing 2003, 50, 159–175. [Google Scholar] [CrossRef]
  97. Basheer, I.A.; Hajmeer, M. Artificial neural networks: Fundamentals, computing, design, and application. J. Microbiol. Methods 2000, 43, 3–31. [Google Scholar] [CrossRef]
  98. Abiodun, O.I.; Jantan, A.; Omolara, A.E.; Dada, K.V.; Mohamed, N.A.; Arshad, H. State-of-the-art in artificial neural network applications: A survey. Heliyon 2018, 4, e00938. [Google Scholar] [CrossRef] [PubMed]
  99. Hippert, H.S.; Pedreira, C.E.; Souza, R.C. Neural networks for short-term load forecasting: A review and evaluation. IEEE Trans. Power Syst. 2001, 16, 44–55. [Google Scholar] [CrossRef]
  100. Merghadi, A.; Yunus, A.P.; Dou, J.; Whiteley, J.; ThaiPham, B.; Bui, D.T.; Avtar, R.; Abderrahmane, B. Machine learning methods for landslide susceptibility studies: A comparative overview of algorithm performance. Earth-Sci. Rev. 2020, 207, 103225. [Google Scholar] [CrossRef]
  101. Prasad, A.M.; Iverson, L.R.; Liaw, A. Newer classification and regression tree techniques: Bagging and random forests for ecological prediction. Ecosystems 2006, 9, 181–199. [Google Scholar] [CrossRef]
  102. Zimbru, C.G.; Andreescu, N.; Chirita-Emandi, A.; Silea, I.; Puiu, M.; Niculescu, M.D. Analysis of decision tree performance in predicting the relationship between a scored outcome and multiple single nucleotide polymorphisms. In Proceedings of the 2017 E-Health and Bioengineering Conference (EHB), Sinaia, Romania, 22–24 June 2017; IEEE: Piscataway, NJ, USA; pp. 57–60. [Google Scholar]
  103. Mosavi, A.; Salimi, M.; Faizollahzadeh Ardabili, S.; Rabczuk, T.; Shamshirband, S.; Varkonyi-Koczy, A.R. State of the art of machine learning models in energy systems, a systematic review. Energies 2019, 12, 1301. [Google Scholar] [CrossRef]
  104. Carter, J.V.; Pan, J.; Rai, S.N.; Galandiuk, S. ROC-ing along: Evaluation and interpretation of receiver operating characteristic curves. Surgery 2016, 159, 1638–1645. [Google Scholar] [CrossRef]
  105. Chen, H.L.; Yang, B.; Wang, G.; Liu, J.; Xu, X.; Wang, S.J.; Liu, D.Y. A novel bankruptcy prediction model based on an adaptive fuzzy k-nearest neighbor method. Knowl.-Based Syst. 2011, 24, 1348–1359. [Google Scholar] [CrossRef]
  106. Yi, Z.; Liang, Z.; Xie, T.; Li, F. Financial risk prediction in supply chain finance based on buyer transaction behavior. Decis. Support Syst. 2023, 170, 113964. [Google Scholar] [CrossRef]
  107. Martinez-Camblor, P.; Perez-Fernandez, S.; Diaz-Coto, S. The area under the generalized receiver-operating characteristic curve. Int. J. Biostat. 2022, 18, 293–306. [Google Scholar] [CrossRef]
  108. Mandrekar, J.N. Receiver operating characteristic curve in diagnostic test assessment. J. Thorac. Oncol. 2010, 5, 1315–1316. [Google Scholar] [CrossRef]
  109. Khemakhem, S.; Boujelbene, Y. Support vector machines for credit risk assessment with imbalanced datasets. Int. J. Data Min. Model. Manag. 2018, 10, 171–187. [Google Scholar] [CrossRef]
  110. Chang, Y.C.; Chang, K.H.; Hsiao, C.W. A novel credit risk assessment model using a granular computing technique. J. Test. Eval. 2014, 42, 1427–1437. [Google Scholar] [CrossRef]
  111. Taha, A.A.; Malebary, S.J. An intelligent approach to credit card fraud detection using an optimized light gradient boosting machine. IEEE Access 2020, 8, 25579–25587. [Google Scholar] [CrossRef]
  112. Vojtekova, S.; Kliestik, T. The impact of the COVID-19 pandemic on profitability indicators in the hospitality sector. Manag. Dyn. Knowl. Econ. 2024, 12, 39–53. [Google Scholar] [CrossRef]
  113. Chrastinova, Z. Methods of Economic Creditworthiness Evaluation and Prediction of Financial Situation of Agricultural Holdings; VUEPP: Bratislava, Slovakia, 1998. [Google Scholar]
  114. Gurcik, L. G-index-the financial situation prognosis method of agricultural enterprises. Agric. Econ. 2002, 48, 373–378. [Google Scholar] [CrossRef]
  115. Valaskova, K.; Svabova, L.; Durica, M. Verification of Prediction Models in Conditions of the Slovak Agricultural Resort. Econ. Manag. Innov. 2017, 9, 30–38. [Google Scholar]
  116. Valaskova, K.; Durana, P.; Adamko, P.; Jaros, J. Financial Compass for Slovak Enterprises: Modeling Economic Stability of Agricultural Entities. J. Risk Financ. Manag. 2020, 13, 92. [Google Scholar] [CrossRef]
  117. Kravcakova, I.V.; Kotulic, R.; Vavrek, R. Legal Form as a Determinant of the Evaluation of Agricultural Entities in Slovakia Using the Topsis Method. J. Environ. Manag. Tour. 2016, 7, 347–354. [Google Scholar]
Table 1. Summarized formulas of financial indicators.
Table 1. Summarized formulas of financial indicators.
Input NeuronIndicatorAlgorithmInput NeuronIndicatorAlgorithm
TITotal indebtedness ratio NCLI + CULI TOAS IBInterest burden ratio INTE EBIT + INTE
SFSelf-financing ratio SHFD TOAS DCFDebt-to-cash flow ratio NCLI + CULI EAT + DEPR
CICurrent indebtedness ratio CULI TOAS FIFinancial independence ratio SHFD NCLI + CULI
NCINon-current indebtedness ratio NCLI TOAS ELEquity leverage ratio TOAS SHFD
DEDebt-to-equity ratio NCLI + CULI SHFD NCACNon-current assets coverage ratio SHFD + NCLI FIAS
ICInterest coverage ratio EBIT INTE InsInsolvency ratio NCLI + CULI DEBT + OCAS
Note: NCLI Non-Current Liabilities, CULI Current Liabilities, TOAS Total Assets, FIAS Fixed Assets, SHFD Shareholders Funds, EBIT Earnings Before Interest and Taxes, INTE Interest Paid, EAT Earnings After Taxes, DEPR Depreciation and Amortization, DEBT Debtors, OCAS Other Current Assets. Source: Valaskova et al. [79].
Table 2. Independent sample test results.
Table 2. Independent sample test results.
Levene’s Test for Equality of Variancest-Test for Equality of Means
FSig.tdfSig. (2-Tailed)Mean DifferenceStd. Error Difference95% Confidence
Interval of the Difference
LowerUpper
TIEqual variances assumed36.2490.00012.8591121.0000.0000.3790.0290.3210.436
Equal variances not assumed 19.66367.7330.0000.3790.0190.3400.417
SFEqual variances assumed36.2490.000−12.8591121.0000.000−0.3790.029−0.436−0.321
Equal variances not assumed −19.66367.7330.000−0.3790.019−0.417−0.340
CIEqual variances assumed0.2420.62310.3971121.0000.0000.3050.0290.2470.363
Equal variances not assumed 9.27257.2330.0000.3050.0330.2390.371
NCIEqual variances assumed25.3980.0003.7861121.0000.0000.0740.0190.0360.112
Equal variances not assumed 2.62755.3930.0110.0740.0280.0170.130
DEEqual variances assumed260.2280.0008.7421121.0000.0008.6510.9906.70910.593
Equal variances not assumed 2.42253.1450.0198.6513.5721.48615.816
ICEqual variances assumed0.8590.354−0.9311121.0000.352−79.07884.958−245.77287.616
Equal variances not assumed −3.726765.7580.000−79.07821.225−120.744−37.412
IBEqual variances assumed0.3510.5540.7221121.0000.4710.1020.141−0.1750.378
Equal variances not assumed 1.43381.9530.1560.1020.071−0.0390.243
DCFEqual variances assumed12.2020.0002.2901121.0000.02211.5505.0441.65221.448
Equal variances not assumed 1.21754.2700.22911.5509.492−7.47830.578
FIEqual variances assumed36.4240.000−6.1581121.0000.000−1.0940.178−1.443−0.745
Equal variances not assumed −23.895612.5080.000−1.0940.046−1.184−1.004
ELEqual variances assumed260.2280.0008.7421121.0000.0008.6510.9906.70910.593
Equal variances not assumed 2.42253.1450.0198.6513.5721.48615.816
NCACEqual variances assumed4.4630.035−3.2551121.0000.001−1.0860.334−1.741−0.432
Equal variances not assumed −7.622100.1100.000−1.0860.143−1.369−0.804
InsEqual variances assumed60.5940.0007.0651121.0000.0003.4690.4912.5054.432
Equal variances not assumed 3.31153.9230.0023.4691.0481.3685.569
Source: own elaboration.
Table 3. Descriptive statistics for independent variables.
Table 3. Descriptive statistics for independent variables.
IndicatorStatisticsProsperousNon-ProsperousIndicatorStatisticsProsperousNon-Prosperous
TIavg.0.5690.840ICavg.10.799−0.924
med.0.5730.833 med.6.3441.389
std. dev.0.1730.187 std. dev.14.94216.160
min.0.1980.622 min.−25.961−39.563
max.0.9980.999 max.72.46123.712
SFavg.0.4310.160FIavg.1.0480.296
med.0.4260.166 med.0.7920.236
std. dev.0.1730.187 std. dev.0.8290.289
min.0.0020.001 min.0.124−0.157
max.0.8020.378 max.4.3230.724
CIavg.0.4180.651ELavg.3.0704.582
med.0.4010.644 med.2.4575.055
std. dev.0.1730.206 std. dev.1.7712.681
min.0.0700.257 min.−2.878−0.146
max.0.8770.984 max.8.9527.962
NCIavg.0.1510.189NCACavg.1.2671.045
med.0.1290.205 med.1.1500.804
std. dev.0.1180.128 std. dev.0.5780.969
min.0.0000.001 min.0.197−0.071
max.0.5400.387 max.3.3893.480
DEavg.2.0703.582Insavg.3.0624.127
med.1.4564.055 med.2.4853.213
std. dev.1.7712.681 std. dev.1.9532.403
min.−3.877−1.146 min.0.3821.007
max.7.7956.961 max.9.5138.527
Source: own elaboration.
Table 4. Classification ability of artificial neural network and decision tree models.
Table 4. Classification ability of artificial neural network and decision tree models.
Classification
ANNDT
PredictedPercent CorrectPredictedPercent Correct
SampleObserved01 01
Training0122532.40%281466.70%
1874798.90%1175498.60%
Overall Percent2.50%97.50%95.80%4.80%95.20%96.90%
Testing061135.30%8466.70%
1131399.70%330199.00%
Overall Percent2.10%97.90%96.40%3.50%96.50%97.80%
Source: own elaboration.
Table 5. Independent variable importance of artificial neural network and decision tree models.
Table 5. Independent variable importance of artificial neural network and decision tree models.
Independent Variable Importance
ANNDT
ImportanceNormalized ImportanceImportanceNormalized Importance
TI0.12989.10%0.044100.00%
SF0.12183.50%0.044100.00%
CI0.145100.00%0.01839.60%
NCI0.06947.60%0.0013.30%
DE0.05739.50%0.03169.00%
IC0.05840.30%0.0000.00%
FI0.13190.70%0.044100.00%
EL0.09666.70%0.03169.00%
NCAC0.04934.20%0.01533.90%
Ins0.03222.10%0.0011.20%
Source: own elaboration.
Table 6. Prediction results and model accuracy.
Table 6. Prediction results and model accuracy.
AUCAccuracyPrecisionRecallF1-Score
ANN0.95000.96370.96600.99680.9812
DT0.95500.97780.98690.99010.9885
Source: own elaboration.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Gajdosikova, D.; Michulek, J. Artificial Intelligence Models for Bankruptcy Prediction in Agriculture: Comparing the Performance of Artificial Neural Networks and Decision Trees. Agriculture 2025, 15, 1077. https://doi.org/10.3390/agriculture15101077

AMA Style

Gajdosikova D, Michulek J. Artificial Intelligence Models for Bankruptcy Prediction in Agriculture: Comparing the Performance of Artificial Neural Networks and Decision Trees. Agriculture. 2025; 15(10):1077. https://doi.org/10.3390/agriculture15101077

Chicago/Turabian Style

Gajdosikova, Dominika, and Jakub Michulek. 2025. "Artificial Intelligence Models for Bankruptcy Prediction in Agriculture: Comparing the Performance of Artificial Neural Networks and Decision Trees" Agriculture 15, no. 10: 1077. https://doi.org/10.3390/agriculture15101077

APA Style

Gajdosikova, D., & Michulek, J. (2025). Artificial Intelligence Models for Bankruptcy Prediction in Agriculture: Comparing the Performance of Artificial Neural Networks and Decision Trees. Agriculture, 15(10), 1077. https://doi.org/10.3390/agriculture15101077

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop