1 Introduction

Plants play a crucial role in maintaining our planet’s ecosystem. They are the source of food both for humans and for many other species on earth. Plants have been used since long for medical purposes. The fibers they produce are utilized for the clothing and paper, while the wood is an indispensable for building material. In order to maintain a healthy environment, plants need to be healthy as well. Unfortunately, plants also contact many diseases, some of which are caused by insects, such as beetles, while others are caused by viruses.

Many African countries that lack economic development depend on cassava that is susceptible to the cassava mosaic virus. There have been outbreaks of this plant virus in Southeast Asia [1]. The tomato plant in India is another example of a plant with virus infection. Tomato leaf curl disease is caused by these viruses. It results in a curled leaf and possibly sterility of the plants [2]. Viral diseases damage the plants and often kill them, resulting in billions of dollars in damages every year due to virus-caused diseases [3]. During the transmission process, insects usually bite plants infected by the virus, become infected and bite susceptible plants, thereby infecting them. Insects react differently according to the season. During the warm months, they are very active, and in the cool months, they almost go dormant. Transport is required by viruses in order to move from one plant to another. This is typically accomplished by insect vectors. Approximately, 70 percent of plant viruses are transmitted by insects [4]. It must become infected by feeding on an infected plant acquiring the virus from it, and then spread it to another healthy plant. Transmission of both TLCD and cassava mosaic virus occurs through the same vector Bemisia tabaci. There have been numerous mathematical models developed to provide a detailed exposition of how to describe, analyze and predict agricultural epidemics of plant pathogens as a mean of developing and testing crop protection tactics and control strategies [5,6,7,8]. There have been a number of epidemiological models developed to analyze the population ecology of viral diseases, based on those used in human or animal epidemiology [9,10,11,12,13,14]. Modeling of host, virus, and vector interactions and their use to evaluate control strategies are discussed [15]. Xiaowei Jiang investigated the bifurcation as well as chaos for delay differential system [16]. Haileyesus Tessema Alemneh formulated the epidemic model to investigate the dynamical behavior of maize streak virus and developed the control strategies [17]. A number of papers have discussed at least two species for delayed or non-delayed predator–prey models [18,19,20,21,22,23,24]. It has been shown that the majority of epidemiological models can be represented as a system of differential equations, with time lags frequently included [25, 26]. Theoretical studies of plant disease rarely use delay differential equations. Numerous studies dealing with infections have used constant delays, representing either the infectious phase following the removal of infected individuals or the latency phase after the infection has passed [27]. Wang et al. presented the dynamics of a predator–prey model including distributed delay with respect to time and mutual interference [28]. Zhang et al. considered the model of vector-borne disease having two delays and involving reinfection and discussed the system equilibrium [29]. Darti et al. presented the numerical approach for the SIR epidemic model with a saturated incidence rate by using the non-standard finite difference method [30]. Zhang et al. considered a tobacco smoking model with delay and studied the dynamics by taking the delay as a bifurcation factor based on the Hopf bifurcation and local stability [31]. Alcaide et al. discussed hybridized viral infections, ecological and evolutionary factors in plants diseases [32]. Benito Chen-Charpentier transformed the model of plant virus transmission with delay and stated the model based on biochemical effects which is most practical for small groups [33]. An analysis is presented for the mosaic disease of Cassava transmitted by the whitefly vector [34, 35]. Pratiwi et al. presented the mosaic disease mathematical model of Jatropha curcas and controlling strategies with nutritional interference and insecticide [8]. Zhong et al. considered the modeling of the communication system and analyzed the coordinated and non-coordinated impact of frequency control inside the virtual power plants [36]. Waezizadeh et al. investigated the plant virus propagation model and its dynamics with multiple delays [37]. Debasis Mukherjee presented the plant’s diseases model caused by insects biting the plants as well as the natural opponents and also investigated the model in terms of feasibility of equilibria, boundedness, uniform persistence, and local as well as global stability concerns [38]. Fei et al. studied the epidemic model of vector-borne disease based on the resistance, exposed period of disease and nonlinear incidence rate [39]. Based on a discrete plant virus disease model with drilling and replanting, Luo et al. showed that the basic reproduction number acts as a threshold parameter in determining the global dynamics of the model [40]. Using a mathematical model, a three-species food chain system incorporating delay of toxicant uptake by prey populations has been analyzed [41]. There has been extensive research on epidemics models for plant diseases (see [42,43,44,45,46]). Recent research conducted by Benito M. Chen-Charpentier and Mark Jackson examined indirect and direct optimal control methods to propagate plant viruses over a seasonal period and delays [47].

The existing literature contains many intriguing techniques, all of which have their own merits, advantages and disadvantages, but it is imperative to exploit the AI-based stochastic paradigm for solving epidemic models of plant virus transmission. Different stochastic numerical techniques have been used to solve linear and nonlinear mathematical systems [48,49,50,51,52,53,54,55]. A number of recent and advanced applications of stochastic numerical techniques based on AI include analysis of Williamson nanofluid [56], pantograph differential equations including delay [57], autoregressive nonlinear systems [58], nano-fluidic nonlinear systems [59], system of power plant [60], magneto-hydrodynamic [61], financial model [62], Thomas–Fermi nonlinear singular system [63], bistatic systems of radar [64], plasma [65], solar energy [66], HIV infectious model [67], nonlinear eye model [68], heartbeat model [69], COVID-19 nonlinear models [70, 71] and model of mosquito [72]. Moreover, these stochastic numerical methods are widely utilized for dealing with complex fractional-order systems [73,74,75,76]. These factors are instigation for authors to investigate, interpret, and study stochastic numerical techniques for solving nonlinear PVP-SD model. The present study utilizes a neural networks backpropagated with the Bayesian regularization to investigate the dynamical behavior of the nonlinear PVP-SD model. According to the authors literature review, the numerical solution to the nonlinear PVP-SD model by using artificial intelligence (AI) knacks via neural networks backpropagation with Bayesian regularization scheme (NNs-BBRS) looks promising alternative to be implemented. Following are the innovative aspects of the presented research work in terms of salient features:

  • A novel design AI knacks-based stochastic numerical technique is presented using Bayesian regularization networks to efficaciously investigate the dynamics of the nonlinear plant virus propagation with the impact of seasonality and delays (PVP-SD) model.

  • The PVP-SD model dynamics is portrayed mathematically by five classes-based ODEs systems for the interaction between insects and plants in terms of their populations for susceptible and infected items as well as for predators.

  • Efficacy of Adams numerical procedure is adopted to generate the reference solutions of the nonlinear PVP-SD model for different scenarios by varying the plants bite rate due to vectors, vector bite rate due to plants, plant’s recovery rate, predator contact rate with healthy insects, predator contact rate with infected insects and death rate caused by insecticides.

  • Validation of the consistent precision and convergence of the designed NNs-BBRS is practicality substantiated through exhaustive simulation studies and analyses on mean square error-based merit function, index of regression and error histogram illustrations.

The organization of the rest portion of the article is as follows. The second section of the article consists of the mathematical description of the nonlinear PVP-SD model. The third section consists of the proposed methodology of the nonlinear PVP-SD model. The fourth section comprises the dynamics-based analysis of the nonlinear PVP-SD model through a distinct scenario. The fifth section contains conclusion on the basis of comprehensive analysis.

2 Mathematical model of plant virus propagation

Plant virus propagation can be modeled using the mathematical models described in [76,77,78,79], which has the structure of an epidemiological model based on vectors. It consists of six populations: S(t) susceptible plants, I(t) infected plants, R(t) recovered plants, X(t) susceptible insect vectors, Y(t) infected insect vectors and P(t) predators. Each variable specifies the population value at time t. The susceptible plants do not possess the disease themselves, but they might contact it from an infected vector. Viruses can be transmitted indirectly to susceptible plants by infected plants. A plant infected with a disease may either die or recover from it due to a defensive mechanism. Due to the viral infection, these plants may also die more often than susceptible plants. We also presume that when a plant dies either naturally or due to infection, it is instantly exchanged with new susceptible plant by the farm worker. By this supposition, the population as a whole remains constant and denoted by \(N\). Its advantage is that we may use \({\text{N}} = \, S + I + R \, \) in the system of equations to exclude the recovered population as well as its conservation equation. Susceptible insects are not infected with the virus but can become infected by biting an infected plant. Viruses can be transmitted to susceptible plants by biting insects that are infected. It is assumed that the virus cannot spread vertically between plants or vectors. Additionally, the virus is assumed not to harm the vector, so it does not need to protect the virus against itself and retains the virus throughout its’ life. Consequently, infected and susceptible vectors both die at the same rate, regardless of whether they are killed by insecticides or predators. The virus does not infect it while eating an infected vector, and also it does not spread the virus. There are two delays included in the model according to the time it takes the virus in order to spread within a plant or vector. There is also a seasonal variation in insect and plant contact rates, with warmer months having a higher rate than cooler months. Therefore, the contact rate is assumed to be yearly. The same applies to growth rates of a vector. In addition, predators compete for insects afterward. There is a constraint of the predator–prey Holling type-2 in the interactions between vectors and plants, as well as between predators and vectors.

The mathematical model is expressed by the following delay differential system [47]:

$$ \begin{array}{*{20}l} {\frac{{{\text{d}}S}}{{{\text{d}}t}} = \upsilon \left( {N - S} \right) + cI - \frac{{\alpha \left( t \right)Y\left( {t - \xi_{1} } \right)}}{{1 + \gamma Y\left( {t - \xi_{1} } \right)}}S\left( {t - \xi_{1} } \right)} \hfill & {S\left( 0 \right) = S_{0} } \hfill \\ {\frac{{{\text{d}}I}}{{{\text{d}}t}} = \frac{{\alpha \left( t \right)Y\left( {t - \xi_{1} } \right)}}{{1 + \gamma Y\left( {t - \xi_{1} } \right)}}S\left( t \right) - \left( {c + \upsilon + \beta } \right)I} \hfill & {I\left( 0 \right) = I_{0} } \hfill \\ {\frac{{{\text{d}}X}}{{{\text{d}}t}} = \Lambda - \frac{{\alpha_{1} \left( t \right)I\left( {t - \xi_{2} } \right)}}{{1 + \gamma_{1} Y\left( {t - \xi_{2} } \right)}}X\left( {t - \xi_{2} } \right) - \frac{{d_{1} X}}{{1 + \gamma_{3} X}}P\left( t \right) - kX - c_{in} X} \hfill & {X\left( 0 \right) = X_{0} } \hfill \\ {\frac{{{\text{d}}Y}}{{{\text{d}}t}} = \frac{{\alpha_{1} \left( t \right)I\left( {t - \xi_{2} } \right)}}{{1 + \gamma_{1} Y\left( {t - \xi_{2} } \right)}}X\left( {t - \xi_{2} } \right) - \frac{{d_{2} Y}}{{1 + \gamma_{3} Y}}P\left( t \right) - kY - c_{in} Y} \hfill & {Y\left( 0 \right) = Y_{0} } \hfill \\ {\frac{{{\text{d}}P}}{{{\text{d}}t}} = \Lambda_{p} + \frac{{\gamma_{4} d_{1} X}}{{1 + \gamma_{3} X}}P\left( t \right) + \frac{{\gamma_{4} d_{2} Y}}{{1 + \gamma_{3} Y}}P\left( t \right) - \eta P\left( t \right) - \delta P^{2} \left( t \right)} \hfill & {P\left( 0 \right) = P_{0} } \hfill \\ \end{array} $$
(1)

where

$$ \begin{aligned} \alpha \left( t \right) & = \alpha \left( {1 + l\cos \left( {\frac{2\pi t}{{365}}} \right)} \right) \\ \alpha_{1} \left( t \right) & = \alpha_{1} \left( {1 + l\cos \left( {\frac{2\pi t}{{365}}} \right)} \right) \\ \end{aligned} $$

In the absence of seasonality, we use \(l = 0\), and \(l = 0.5\) when seasonality including. In Fig. 1, plants, insects and predators are shown interacting with each other. Inflows of the given population are indicated by solid arrows toward a state. The outflow of a population is shown by a solid arrow away from it. The transmission of the virus is shown as a dotted line from one population to another. The settings of parameters for nonlinear PVP-SD model is shown in Table 1 used for every case of this study as per [47]. After using numerical values for one of the case, the obtained mathematical form of system (1) is given as [47]:

$$ \begin{aligned} & S^{\prime } \left( t \right) = 100 - 0.000942S\left( t \right)I\left( t \right) + 0.03R\left( {t - \eta _{3} } \right) - 0.011S\left( t \right), \\ & E^{\prime } \left( t \right) = 0.000942S\left( t \right)I\left( t \right) - 0.04E\left( {t - \eta _{1} } \right) - 0.01E\left( t \right), \\ & I^{\prime } \left( t \right) = 0.04E\left( {t - \eta _{1} } \right) - 0.01I\left( t \right) - 0.025I\left( {t - \eta _{2} } \right), \\ & R^{\prime } \left( t \right) = 0.025\left( {t - \eta _{2} } \right) + 0.001S\left( t \right) - 0.01R\left( t \right) - 0.03R\left( {t - \eta _{3} } \right), \\ \end{aligned} $$
(2)

along with initial conditions

$$ S(0) = 750,\;E\left( 0 \right) = 2100,\;I(0) = 2900,\;R(0) = 4400 $$
(3)
Fig. 1
figure 1

Interaction between the plants, insects and predators of the nonlinear PVP-SD model

Table 1 Parameters with description and values [47]

Further, similar mathematical models for other cases can be formulated for the nonlinear PVP-SD model.

3 Proposed methodology

The following section provides a mathematical model together with execution matrices for the proposed technique. Mathematical modeling involves three phases: An initial dataset used as a reference solution are created by the knack of Adams numerical solver in phase one, formulation of two-layer framework of NNs-BBRS in phase two, NNs is trained through Bayesian regularization to calculate the approximate solution in phase three.

3.1 Adams method

The following section presents the Adams predictor corrector technique [80, 81] for the system (1). In order to enhance the accuracy level of the results, we have utilized the Adams technique. The accuracy was initially determined by using predictor solutions, and then numerical corrections are carried out using yardsticks obtained by the predictor solutions. The predictor corrector technique based on system (1) can be expressed in the following manner:

$$ \begin{aligned} & \frac{{{\text{d}}S}}{{{\text{d}}t}} = f\left( {t,\,S,\,Y,\,I} \right),\,\,\,\,\,\,\,\,\,\,\,\,S\left( {t_{0} } \right) = S_{0} \\ & \frac{{{\text{d}}I}}{{{\text{d}}t}} = g\left( {t,\,I,\,S,\,Y} \right),\,\,\,\,\,\,\,\,\,\,\,\,\,I\left( {t_{0} } \right) = I_{0} \\ & \frac{{{\text{d}}X}}{{{\text{d}}t}} = g\left( {t,\,X,\,P,\,I} \right),\,\,\,\,\,\,\,\,\,X\left( {t_{0} } \right) = X_{0} \\ & \frac{{{\text{d}}Y}}{{{\text{d}}t}} = g\left( {t,\,Y,\,P,\,X,\,I} \right),\,\,\,\,\,Y\left( {t_{0} } \right) = Y_{0} \\ & \frac{{{\text{d}}P}}{{{\text{d}}t}} = g\left( {t,\,P,\,Y,\,X} \right),\,\,\,\,\,\,\,\,\,P\left( {t_{0} } \right) = P_{0} \\ \end{aligned} $$
(4)

The following relationship can be used to calculate a two-step predictor formula for first equation in system (4):

$$ S_{n} = S_{n - 1} + \frac{3}{2}hg\left( {t_{n - 1} ,\,S_{n - 1} } \right) - \frac{1}{2}hg\left( {t_{n - 2} ,\,S_{n - 2} } \right). $$

Similarly, one may deduce the following two-step corrector relationship formula for first equation in system (4) as follows:

$$ S_{n} = S_{n - 1} + \frac{1}{2}hg\left( {t_{n} ,\,S_{n} } \right) + g\left( {t_{n - 1} ,\,S_{n - 1} } \right). $$

We follow the same procedure for the remaining equations in system (4) to develop the Adam’s predictor and corrector formulas. Adams method is used to generate the reference dataset for the nonlinear PVP-SD model for the set of inputs 0 to 10 using 0.01 step size for each case using NDSolve routine in Mathematica software. Moreover, the reference dataset are produced by applying the variation in plants bite rate due to vectors, vector bite rate due to plants, plant’s recovery rate, predator contact rate with healthy insects, predator contact rate with infected insects and death rate caused by insecticides. MATLAB’s “nftool” command is used to implement the proposed NNs-BBRS, while the Bayesian regularization is used for training of weights. The description of the step-by-step procedure of the neural networks is shown in Fig. 2. In addition, the mathematical model is executed for eight sundry scenarios consisting of twenty-four cases of the nonlinear PVP-SD model as provided in Table 2 with and without seasonality.

Fig. 2
figure 2

Neural networks procedure for proposed NNs-BBRS

Table 2 Setting up scenarios for a nonlinear PVP-SD model

4 Analysis and discussion

In this section, numerical simulations and detailed interpretation of the results are presented for eight sundry scenarios, each based on three cases of system (1) representing the nonlinear PVP-SD model by applying the proposed NNs-BBRs. The flowchart of the detailed procedure of the designed NNs-BBRS is shown in Fig. 3. The neural networks toolbox “nftool” is used in the MATLAB software package for the NNs-BBRS implementation, while the Bayesian regularization scheme is used for the training of weights. The designed NNs-BBRS are conducted for eight sundry scenarios where first four scenarios are constructed in the absence of seasonality while other four scenarios including seasonality through the variation in the plant’s bite rate due to vectors, vector bite rate due to plants, plant’s recovery rate, predator contact rate with healthy insects, predator contact rate with infected insects and death rate caused by insecticides as provided in Table 2.

Fig. 3
figure 3

Flowchart of the proposed NNs-BBRS of nonlinear PVP-SD model

A dataset is generated for S(t), I(t), X(t), Y(t) and P(t) classes using the Adams method for all the 24 cases of eight scenarios of the nonlinear PVP-SD model for 10 days with step size 0.01. The NDSolve environment in Mathematica software is used for generating the reference dataset for S(t), I(t), X(t), Y(t) and P(t) classes through the variation in the plant’s bite rate due to vectors, vector bite rate due to plants, plant’s recovery rate, predator contact rate with healthy insects, predator contact rate with infected insects and death rate caused by insecticides of the nonlinear PVP-SD model. A dataset of 1001 input values classified arbitrarily as 70%, 15% and 15% for train, validation and test samples. The neural networks backpropagation with the Bayesian regularization scheme with 80 hidden layers are used to find the results of the S(t), I(t), X(t), Y(t) and P(t) classes for the nonlinear PVP-SD model as shown in Fig. 2.

4.1 Case study-I

Case study-I constitutes the four scenarios which are constructed through the variety of cases by variation in plants bite rate due to vectors, vector bite rate due to plants, plant’s recovery rate, predator contact rate with healthy insects, predator contact rate with infected insects and death rate caused by insecticides as given in Table 2 to investigate the nonlinear PVP-SD model dynamics. The default values with their description used for other parameters for system (1) for all cases are listed in Table 1. Furthermore, the PVP-SD model has no delay, \(\xi_{1} = 0\) and \(\xi_{2} = 0\), and no seasonal impact that is both \(\alpha \left( t \right)\) and \(\alpha_{1} \left( t \right)\) are constant \(\left( {l = 0} \right)\).

The results of NNs-BBRS for the nonlinear PVP-SD model based on the training states are graphically shows in Figs. 4 and 5, and the performance of fitness solution is shown in Fig. 6, while the regression curves are shown in Figs. 7 and 8 for scenarios 1 and 3, respectively, and the error histogram plots are shown in Fig. 9. Moreover, the results of mean squared error in terms of training, validation, testing, and performance, backpropagation indices, overall epochs and time for execution are provided in Table 3 for all cases of scenarios (1–4) of the nonlinear PVP-SD model by applying NNs-BBRS. By reviewing the time mentioned against each case, one can see the complexity of this scheme.

Fig. 4
figure 4

Training states of NNs-BBRS for the nonlinear PVP-SD model of scenario 1

Fig. 5
figure 5

Training states of NNs-BBRS for the nonlinear PVP-SD model of scenario 3

Fig. 6
figure 6

Fitness plots and error analysis of the nonlinear PVP-SD model

Fig. 7
figure 7

Regression curves of the nonlinear PVP-SD model for scenario 1

Fig. 8
figure 8

Regression curves of the nonlinear PVP-SD model for scenario 3

Fig. 9
figure 9

Error histogram of the nonlinear PVP-SD model for scenario 1 and scenario 3

Table 3 Results of NNs-BBRS for the nonlinear PVP-SD model

The values of backpropagation indices Mu step size and gradient are [500, 5000, 500, 5000, 500, and 50] and [\({2}{\text{.8642}} \times {10}^{{ - 07}}\),\(1.4863 \times 10^{ - 06}\), \(9.9812 \times 10^{ - 08}\), \(1.3579 \times 10^{ - 09}\), \(9.9566 \times 10^{ - 08}\) and \(5.0089 \times 10^{ - 09}\)] as provided in Figs. 4a–c and 5a–c for all cases of scenarios 1 and 3, respectively.

The results endorsed the convergence and precision of the proposed scheme for every case of the nonlinear PVP-SD model. The performance of fitness solutions along with respective errors based on the training and testing samples is portrayed for every case of scenarios 1 and 3 for the nonlinear PVP-SD model in Fig. 6a–l. The competency of the proposed scheme can be observed by the overlapping of the NNs-BBRS solutions with Adams method results along with negligible errors. The regression analysis is measured by using co-relation studies, and plots are shown in Figs. 7a–c and 8a–c for every case of scenarios 1 and 3, respectively. The value of regression, R = 1, represents the rigorous linear relation between targets and outputs which endorsed the accurate working of proposed NNs-BBRS for training and testing samples.

The dynamics of error are additionally evaluated by histograms error for all inputs, and results are plotted in Fig. 9a–f, respectively, of the nonlinear PVP-SD model. The error bars bounded to the “0” error line have the accuracy level around \(- 8.5 \times 10^{ - 08}\), \(- 1.9 \times 10^{ - 06}\), \(- 9.8 \times 10^{ - 07}\), \(1.81 \times 10^{ - 08}\), \(2.05 \times 10^{ - 07}\) and \(1.91 \times 10^{ - 06}\) indicating the best performance of the proposed NNs-BBRS. The convergence of the nonlinear PVP-SD model is further accessed in terms of MSE for the train and test samples and respective results are portrayed graphically in Fig. 10a–f for scenarios 1 and 3.

Fig. 10
figure 10

Performance of MSE for the nonlinear PVP-SD model

The results of NNs-BBRS are showing the best performance at epochs 1000, 1000, 988, 972, 553 and 466 with MSE around \(10^{ - 13}\), \(10^{ - 11}\), \(10^{ - 11}\), \(10^{ - 14}\), \(10^{ - 13}\) and \(10^{ - 12}\) for every case of scenarios 1 and 3, respectively.

The approximate results for the S(t) susceptible class, I(t) infected class, X(t) susceptible insect vectors, Y(t) infected insect vectors and P(t) predators are determined by applying the NNs-BBRS for the variety of cases in the plant’s bite rate due to vectors, vector bite rate due to plants, plant’s recovery rate, predator contact rate with healthy insects, predator contact rate with infected insects and death rate caused by insecticides to describe the dynamics corresponding to 10 days for the nonlinear PVP-SD model. The performance of NNs-BBRS generated results are analyzed with Adams method reference results for every case of all the scenarios for the nonlinear PVP-SD model and results graphically shown in Figs. 11, 13, 15, 17 and 19. It is clearly seen from these subfigures the curves overlap each other which approves the accuracy of results for inputs 0 to 10 with step size 0.01.

Fig. 11
figure 11

Numerical results for S

Therefore, the precision gauges of the designed NNs-BBRS are further accessed by calculating the absolute errors (AEs). The graphical representation of the results of AEs for all the five classes S(t), I(t), X(t), Y(t) and P(t) of the nonlinear PVP-SD model are portrayed, respectively, in Figs. 12, 14, 16, 18 and 20. The values of AEs for class S lie between \(10^{ - 4}\) and \(10^{ - 8}\), \(10^{ - 4}\) and \(10^{ - 10}\) for cases 1–3 of scenario 1 and 2, respectively, and \(10^{ - 5}\) and \(10^{ - 9}\) for cases 1–3 of scenario 3 and 4 as shown in Fig. 12a–d. The values of AEs for class I lie between \(10^{ - 4}\) and \(10^{ - 8}\), \(10^{ - 4}\) and \(10^{ - 10}\) for cases 1–3 of scenario 1 and 2, respectively, and \(10^{ - 5}\) and \(10^{ - 9}\), \(10^{ - 5}\) and \(10^{ - 10}\) for cases 1–3 of scenario 3 and 4, respectively, as presented in Fig. 14a–d. The values of AEs for class X lie between \(10^{ - 4}\) and \(10^{ - 8}\) for cases 1–3 of scenario 1 and 2, and \(10^{ - 5}\) and \(10^{ - 9}\), \(10^{ - 5}\) and \(10^{ - 8}\) for cases 1–3 of scenario 3 and 4, respectively, as portrayed in Fig. 16a–d. The values of AEs for class Y lie between \(10^{ - 4}\) and \(10^{ - 10}\) for cases 1–3 of scenario 1 and 2, and \(10^{ - 4}\) and \(10^{ - 12}\), \(10^{ - 4}\) and \(10^{ - 10}\) for cases 1–3 of scenario 3 and 4, respectively, as presented in Fig. 18a–d. The values of AEs for class P lie between \(10^{ - 5}\) and \(10^{ - 9}\) for cases 1–3 of scenario 1 and 3, and \(10^{ - 5}\) and \(10^{ - 10}\) for cases 1–3 of scenario 2 and 4 as presented in Fig. 19a–d. The competency of the results obtained by proposed NNs-BBRS can be notarized by overlapping the plots in all cases of the nonlinear PVP-SD model (Figs. 13, 14, 15, 16, 17, 18, 19, and 20).

Fig. 12
figure 12

Error analysis for S

Fig. 13
figure 13

Numerical results for I

Fig. 14
figure 14

Error Analysis for infected plants I

Fig. 15
figure 15

Numerical results for X

Fig. 16
figure 16

Error analysis for X

Fig. 17
figure 17

Numerical results for Y

Fig. 18
figure 18

Error analysis for Y

Fig. 19
figure 19

Numerical results for P

Fig. 20
figure 20

Error analysis for P

4.2 Case study-II

Case study-II consists of the four scenarios which are constructed through the variety of cases by varying the plants bite rate due to vectors, vector bite rate due to plants, plant’s recovery rate, predator contact rate with healthy insects, predator contact rate with infected insects and death rate caused by insecticides as listed in Table 2 to examine the dynamics of the nonlinear PVP-SD model. The description and values of default parameters used for system (1) for all cases are tabulated in Table 1. Furthermore, the PVP-SD model has delays, \(\xi_{1} = 1\) and \(\xi_{2} = 24\), and seasonal impacts \(\left( {l = 0.5} \right)\).

The results of NNs-BBRS for the nonlinear PVP-SD model in terms of training state are graphically presented in Figs. 21 and 22, and the performance of fitness solution is described in Fig. 23, while the regression curves are shown in Figs. 24 and 25, and plots of error histogram are shown in Fig. 26. In addition, the results of mean squared error in terms of training, validation, testing, and performance, backpropagation indices, overall epochs and time for execution are tabulated in Table 4 for all cases of scenarios (1–4) of the nonlinear PVP-SD model by applying NNs-BBRS. The intricacy of the proposed scheme can be observed by the time mentioned against each case for all the scenarios of the nonlinear PVP-SD model.

Fig. 21
figure 21

Training states of NNs-BBRS for the nonlinear PVP-SD model of scenario 2

Fig. 22
figure 22

Training states of NNs-BBRS for the nonlinear PVP-SD model of scenario 4

Fig. 23
figure 23

Fitness plots and error dynamics of the nonlinear PVP-SD model

Fig. 24
figure 24

Regression curves of the nonlinear PVP-SD model for scenario 2

Fig. 25
figure 25

Regression curves of the nonlinear PVP-SD model for scenario 4

Fig. 26
figure 26

Error histogram of the nonlinear PVP-SD model for scenario 2 and 4

Table 4 Results of NNs-BBRS for the nonlinear PVP-SD model

The values of backpropagation indices Mu step size and gradient are [500, 50,000, 500, 500, 500 and 50] and [\({6}{\text{.2345}} \times {10}^{{ - 07}}\),\(6.7348 \times 10^{ - 08}\), \(8.5943 \times 10^{ - 08}\), \(7.8924 \times 10^{ - 08}\), \(1.2923 \times 10^{ - 06}\) and \(1.8196 \times 10^{ - 06}\)] as provided in Figs. 21a–c and 22a–c for all cases of scenarios 2 and 4, respectively. The results endorsed the convergence and precision of the proposed scheme for every case of the nonlinear PVP-SD model. The performance of fitness solutions and respective error dynamics based on the training and testing samples is portrayed for every case of scenarios 2 and 4 for the nonlinear PVP-SD model in Fig. 23a–l. It is envisioned from these subfigures that the NNs-BBRS generated outcomes, and the referenced Adams results overlap each other with small amount of errors which proves the accuracy of the results.

Co-relation studies are consumed for regression analysis, and the corresponding results are portrayed graphically in Figs. 24a–c and 25a–c for each case of scenarios 2 and 4 of the nonlinear PVP-SD model. The rigorous linear relation between targets and output values can be found for the value of regression, R = 1, in these subfigures which verified the accurate working of training and testing samples of the proposed NNs-BBRS for the nonlinear PVP-SD model.

The dynamics of error are further determined by histogram error for all input points and corresponding results are portrayed graphically in Fig. 26a–f for each case of scenario 2 and 4 of the nonlinear PVP-SD model, respectively. The best performance of the proposed NNs-BBRS is indicated by the boundedness of error bars to the “0” error line as shown in subfigures, and the level of accuracy lies in \(- 1.5 \times 10^{ - 07}\), \(9.73 \times 10^{ - 07}\), \(- 4.4 \times 10^{ - 06}\), \(- 7.4 \times 10^{ - 06}\), \(- 6.98 \times 10^{ - 08}\) and \(2.85 \times 10^{ - 06}\) for cases 1–3 of scenarios 2 and 4, respectively. The results of MSE for the train and test samples are calculated to approve the convergence of the nonlinear PVP-SD model, and plots of respective results are provided in Fig. 27a–f for scenarios 2 and 4. The best performance of NNs-BBRS is obtained at epochs 464, 42, 173, 356, 821, and 413 with MSE around \(10^{ - 11}\) for every case of scenarios 2 and 4, respectively, for the nonlinear PVP-SD model.

Fig. 27
figure 27

Performance of MSE for the nonlinear PVP-SD model

The performance of the proposed NNs-BBRS generated results is examined with Adam’s method reference results for every case of all the scenarios of the nonlinear PVP-SD model, and graphical representation is presented in Figs. 28, 30, 32, 34 and 36. The curves overlap each other which approves the accuracy of results for inputs 0 to 10 with step size 0.01.

Fig. 28
figure 28

Numerical results for S

Therefore, the approximate results are determined by applying the NNs-BBRS for the S(t) susceptible class, I(t) infected class, R(t) recovered class, X(t) susceptible insect vectors, Y(t) infected insect vectors and P(t) predators for the variety of cases in the plant’s bite rate due to vectors, vector bite rate due to plants, plant’s recovery rate, predator contact rate with healthy insects, predator contact rate with infected insects and death rate caused by insecticides to describe the dynamics corresponding to 10 days of the nonlinear PVP-SD model. The comparison of the approximate results of NNs-BBRS and reference results of Adams method are graphically portrayed in Figs. 28, 30, 32, 34 and 36. The convergence of the proposed NNs-BBRS can be noticed through the overlapping of the plots for each case of all the scenarios of the nonlinear PVP-SD model.

Therefore, the AEs of the designed NNs-BBRS generated outcomes are also calculated in order to validate the precision gauges. The graphical representation of the results of AEs for all the five classes S(t), I(t), X(t), Y(t) and P(t) of the nonlinear PVP-SD model is portrayed, respectively in Figs. 29, 31, 33, 35 and 37. The values of AEs for class S lie between \(10^{ - 4}\) and \(10^{ - 10}\) for cases 1–3 of scenarios 1, 2 and 4, and \(10^{ - 4}\) and \(10^{ - 8}\) for cases 1–3 of scenarios 3 as shown in Fig. 29a–d. The values of AEs for class I lie between \(10^{ - 4}\) and \(10^{ - 8}\) for cases 1–3 of scenarios 1 and 4, and \(10^{ - 2}\) and \(10^{ - 10}\), \(10^{ - 4}\) and \(10^{ - 10}\) for cases 1–3 of scenarios 2 and 3, respectively as presented in Fig. 31a–d. The values of AEs for class X lie between \(10^{ - 4}\) and \(10^{ - 10}\) for cases 1–3 of scenarios 1 and 4, and \(10^{ - 2}\) and \(10^{ - 10}\), \(10^{ - 2}\) to \(10^{ - 8}\) for cases 1–3 of scenarios 2 and 3, respectively, as portrayed in Fig. 33a–d. The values of AEs for class Y lie between \(10^{ - 5}\) and \(10^{ - 10}\) for cases 1–3 of scenario 1, and \(10^{ - 4}\) and \(10^{ - 10}\) for cases 1–3 of scenarios 2, 3 and 4 as presented in Fig. 35a–d. The values of AEs for class P lie between \(10^{ - 5}\) and \(10^{ - 9}\) for cases 1–3 of scenarios 1 and 3, and \(10^{ - 5}\) and \(10^{ - 10}\) for cases 1–3 of scenario 2 and 4 as presented in Fig. 37a–d. The competency of the results obtained by proposed NNs-BBRS can be notarized by overlapping the plots in all cases of the nonlinear PVP-SD model (Figs. 30, 31, 32, 33, 34, 35, 36, and 37).

Fig. 29
figure 29

Error analysis for S

Fig. 30
figure 30

Numerical results for I

Fig. 31
figure 31

Error analysis for I

Fig. 32
figure 32

Numerical results for X

Fig. 33
figure 33

Error analysis for X

Fig. 34
figure 34

Numerical results for Y

Fig. 35
figure 35

Error analysis for Y

Fig. 36
figure 36

Numerical results for P

Fig. 37
figure 37

Error analysis for P

5 Conclusion

A stochastic paradigm based on an artificial intelligence is introduced by employing the knacks of neural networks as well as backpropagation of Bayesian regularization scheme for solving the mathematical model for plant virus propagation with the impact of seasonality and delays representing the dynamical behavior of plants bite rate due to vectors, vector bite rate due to plants, plant’s recovery rate, predator contact rate with healthy insects, predator contact rate with infected insects and death rate caused by insecticides. The reference dataset are generated with the help of Adams method for all five classes of the nonlinear PVP-SD model. The dataset for the nonlinear PVP-SD model is arbitrarily used as 75%, 5% and 10% for the training, validation and testing samples for the NNs-BBRS, respectively. Following are the remarkable ascertainments of the mathematical model for PVP-SD model based on the foregoing numerical simulation and analysis.

  • The design stochastic paradigm NNs-BBRS is used effectively to find the approximate solution of the governing ODEs system representing the nonlinear PVP-SD model.

  • The precision and convergence of the proposed NNs-BBRS are effectively examined by comparative studies of the referenced numerical solutions procured by the Adams method and the results of MSE lie approximately in \(10^{ - 12}\) to \(10^{ - 14}\) and \(10^{ - 11}\) for the variety of cases of different scenarios for case study-I and case study-II, respectively, that illustrate the best performance of testing, training as well as validation samples.

  • The designed NNs-BBRS is robust, efficient and stable computing platform as investigated by the illustrations of histogram errors, regression matrices and MSE learning curves by the execution of exhaustive simulations.

In future, one exploit such AI-based heuristic computing architectures to broad field of applied science and technology [82,83,84,85,86,87,88,89,90,91,92,93].