Construction method of combined model for predicting tuberculosis morbidity

By constructing a combination of SARIMA, SVR and ELM models, combined with Sparrow search algorithm optimization parameters and spatial correlation analysis, the problems of slow training speed and large error of tuberculosis incidence prediction models in the existing technology are solved, achieving high accuracy and efficiency. prediction effect.

CN118737433APending Publication Date: 2024-10-01CHONGQING MEDICAL & PHARMA COLLEGE
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410752924.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing tuberculosis incidence prediction model is slow to train, requires manual configuration of model weights and biases, has large prediction results errors, and fails to effectively utilize the impact of the epidemic in surrounding areas, resulting in poor actual promotion and application effects.

Method used

A combination of SARIMA, SVR and ELM models is used, parameters are optimized through the Sparrow search algorithm, spatial correlation analysis is performed based on data from the target area and surrounding areas, and a SARIMA//SVR+ELM (SSA) combination model is constructed for prediction.

Benefits of technology

It improves the accuracy and speed of tuberculosis incidence prediction, simplifies the process of using the model, optimizes the allocation of prevention and treatment resources, and significantly improves the prediction effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118737433A_ABST
    Figure CN118737433A_ABST
Patent Text Reader

Abstract

The invention provides a construction method of a combined model for predicting tuberculosis morbidity. The method comprises the following steps: S1, collecting monthly morbidity data of tuberculosis in a target region and r peripheral regions; s2, weights of data of different regions are determined according to spatial correlation analysis, and a merged data matrix is formed; s3, constructing an SARIMA model, and training the SARIMA model by taking the merged data matrix as input and taking the real morbidity of the target region or a certain surrounding region as output to obtain a trained SARIMA model; s4, constructing an SVR model, and training the SVR model by taking the merged data matrix as input and taking the real morbidity of the target region or a certain surrounding region as output to obtain a trained SVR model; s5, performing equal weight addition on predicted values of the SAIMA models and the SVR models of the target region and the r surrounding regions, taking the added values as input of an ELM model, and taking the real morbidity of the target region as output to train the ELM model to obtain a trained ELM model; s6, optimizing ELM model parameters by adopting a sparrow search algorithm, and generating an SARIMA / / SVR + ELM (SSA) combined model; and S7, inputting the data into the combined model to obtain a tuberculosis morbidity prediction result. According to the method, a high-precision hybrid prediction model is established, the SARIMA and the SVR model are connected in parallel to serve as a first stage, output of the SARIMA and the SVR model is fed into the ELM model to serve as a second stage, and the hybrid structure enables the model to have flexibility and adaptability; a statistical model and a machine learning model are used in the hybrid model at the same time, the SARIMA model is suitable for processing a linear trend, the SVR model is suitable for processing a nonlinear trend of the tuberculosis morbidity, and results of the two models are integrated into the ELM model, so that the prediction precision is remarkably improved; in order to solve the problem of insufficient data volume, morbidity data of a target area and surrounding areas are collected at the same time, combined weights are determined through spatial correlation analysis, and a combined data matrix is formed to serve as input of a model; and optimizing parameters of the ELM model by using a sparrow search algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of tuberculosis incidence prediction, and in particular to a method for constructing a combined model based on a statistical method, a machine learning method and an optimization algorithm. Background Art

[0002] Tuberculosis is an infectious disease mainly caused by the Mycobacterium tuberculosis complex, with lung infection as the main cause. At present, tuberculosis is still a major health problem in the world, bringing a heavy disease burden to various countries and regions. Predicting the incidence of tuberculosis can facilitate relevant government departments to take effective prevention and control measures in a timely manner, optimize the allocation of tuberculosis prevention and control resources, and reduce the harm of tuberculosis. At present, the prediction models of tuberculosis incidence mainly include statistical models, machine learning models, and combined models combining statistics and machine learning. Statistical methods can only fit and predict the linear part of time series data, and the short-term prediction effect is more advantageous. Machine learning algorithms have strong nonlinear fitting capabilities, but the fitting effect of the linear part of time series data is poor. The combined model of statistics and machine learning has many applications in the field of tuberculosis incidence prediction. However, the combined model of statistics and machine learning in the current research has a slow training speed, and requires manual configuration of the weights and biases of the prediction results of the statistical model and the machine learning model, which is more complicated for the end user to use, and the actual promotion and application effect is poor. In addition, during the construction process of the current combined model, the model parameters are not optimized, resulting in large errors in the prediction results. In addition, most of the current prediction models predict the tuberculosis incidence data in a specific area, and pulmonary tuberculosis is a respiratory infectious disease. The tuberculosis epidemic in the surrounding areas will also have a certain impact on the tuberculosis incidence in the local area to a certain extent. Therefore, the present invention proposes a tuberculosis incidence combined model prediction method using an SSA optimization algorithm to accurately predict the tuberculosis incidence in a specific area. Summary of the invention

[0003] The present invention aims to at least solve the technical problems existing in the prior art, and in particular innovatively proposes a method for constructing a combined model for predicting the incidence of tuberculosis.

[0004] In order to achieve the above-mentioned object of the present invention, the present invention provides a method for constructing a combined model for predicting the incidence of tuberculosis, comprising the following steps:

[0005] S1, collect monthly incidence data of tuberculosis;

[0006] S2, SARIMA model was constructed based on the monthly incidence data of tuberculosis;

[0007] S3, training the SARIMA model using the first training data set to obtain a trained SARIMA model;

[0008] S4, constructing the SVR model based on the monthly incidence data of tuberculosis;

[0009] S5, training the SVR model using the second training data set to obtain a trained SVR model;

[0010] S6, using the predicted values ​​of the SAIMA model and the SVR model as the input values ​​of the ELM model, and taking the actual incidence rate of the target area as the output value to train the ELM model, and obtaining a trained ELM model;

[0011] S7, using the sparrow search algorithm to optimize the ELM model parameters and generate the SARIMA / / SVR+ELM (SSA) combination model;

[0012] S8, input the data into the combined model to obtain the prediction results of tuberculosis incidence.

[0013] In a preferred embodiment of the present invention, the area for collecting monthly incidence data of tuberculosis is the target area or / and r surrounding areas. The target area may be Chongqing, or may be Guizhou, Sichuan, Hunan, Hubei, or Shaanxi. When the target area is Chongqing, the surrounding areas may be Guizhou, Sichuan, Hunan, Hubei, or Shaanxi.

[0014] In a preferred embodiment of the present invention, the surrounding area includes one or any combination of these r areas.

[0015] In a preferred embodiment of the present invention, the training data in the first training data set or / and the second training data set are the impact data corresponding to the historical monthly incidence data of tuberculosis in the target area and one or any combination of r surrounding areas. The impact data includes living environment data, physical data, work data, etc.

[0016] In a preferred embodiment of the present invention, steps S3 and / or S5 include:

[0017] S2-1, Stationarity test: Use the autocorrelation function (ACF), partial autocorrelation function (PACF) and augmented Dickey-Fuller (ADF) test to verify the stationarity of the time series data. If the time series data cannot pass the stationarity test, D-order difference is required.

[0018] S2-2, Ljung Box Test: Ljung Box test is used to verify the random noise in the SARIMA model by evaluating the p-value. The SARIMA model can be successfully constructed only if there is no random noise in the time series data.

[0019] S2-3, parameter determination: The grid search method is used to automatically find the appropriate parameters of the order. At the same time, the minimum Akaike information criterion is applied to select the optimal parameters to fit the SARIMA model.

[0020] S2-4, Model testing: Determine whether the SARIMA model is successfully fitted by residual white noise test.

[0021] In a preferred embodiment of the present invention, step S2 or / and S4 includes:

[0022] S4-1, preprocessing the initial time series data.

[0023] S4-2, Data normalization: All time series data were standardized and normalized using the z-score method.

[0024] In summary, due to the adoption of the above technical solution, the present invention can realize the prediction of tuberculosis and optimize the allocation of tuberculosis prevention and control resources. In addition, the present invention (1) establishes a high-precision hybrid prediction model, SARIMA and SVR models are connected in parallel as the first stage, and their output is fed into the ELM model as the second stage. This hybrid structure makes the model flexible and adaptable; (2) The hybrid model uses both statistical models and machine learning models. The SARIMA model is suitable for processing linear trends, and the SVR model is suitable for processing the nonlinear trend of tuberculosis incidence. The results of these two models are integrated into the ELM model, thereby significantly improving the prediction accuracy; (3) In order to solve the problem of insufficient data volume, the incidence data of the target area and the surrounding areas are collected at the same time, and the combination weights are determined by spatial correlation analysis to form a merged data matrix as the input of the model; (4) The parameters of the ELM model are optimized using the sparrow search algorithm.

[0025] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0027] Figure 1 It is a schematic diagram of merging adjacent area data of the present invention.

[0028] Figure 2 It is a flow chart of the combined model of the present invention.

[0029] Figure 3 It is a schematic diagram of the combined model of the present invention. DETAILED DESCRIPTION

[0030] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0031] This scheme uses the SARIMA / / SVR+ELM (SSA) combined model to accurately predict the incidence of tuberculosis, such as Figures 1 to 3 shown.

[0032] The Seasonal Autoregressive Integrated Moving Average (SARIMA) model is a statistical model used for time series analysis and forecasting. It is an extended model of the Autoregressive Integrated Moving Average (ARIMA) model. This model can more accurately capture the cyclical changes of these data in the time series.

[0033] The ARIMA model consists of autoregression (AR), integration (I), and moving average (MA).

[0034] The AR(p) model is expressed as follows:

[0035]

[0036] Among them, Y t , Y t-1 , Y t-2 , Y t-p , Y t-k It represents the stable value at time t, t-1, t-2, tp, and tk;

[0037] φ 0 ,φ 1 ,φ 2 ,φ p ,φ k represents the regression coefficient;

[0038] φ 0 represents a constant term, indicating the baseline level of the time series;

[0039] φ 1 Represents the stable value Y at time t-1 t-1 The corresponding regression coefficient;

[0040] φ 2 Represents the stable value Y at time t-2 t-2 The corresponding regression coefficient;

[0041] φ p Represents the stable value Y at time tpt-p The corresponding regression coefficient;

[0042] φ k Represents the stable value Y at time tk t-k The corresponding regression coefficient;

[0043] p represents the order of the AR model;

[0044] Y t-k represents the stable value at time tk;

[0045] The MA(q) model is expressed as follows:

[0046]

[0047] Among them, θ 1 ,θ 2 ,θ q ,θ k represents the regression coefficients of each order;

[0048] ε t , ε t-1 , ε t-2 , ε t-q , ε t-k represents a Gaussian white noise sequence with a mean of zero;

[0049] q represents the order of the MA model;

[0050] The ARIMA(p,d,q) model is expressed as follows:

[0051]

[0052] Where p represents the order of non-seasonal autoregression;

[0053] d represents the number of differences completed to make the time series stable;

[0054] q represents the order of the non-seasonal moving average.

[0055] The SARIMA model is an extension of the ARIMA model that defines the seasonal component of the ARIMA model by incorporating three additional parameters. The SARIMA model takes seasonal factors into account and then defines the seasonal difference operator as Based on the autoregressive polynomial φ(B) and the moving average polynomial θ(B), the seasonal autoregressive and moving average polynomials are defined as follows.

[0056] Seasonal autoregressive polynomial:

[0057] φ s (B) = 1-φ 1 B s -φ 2B 2s -···-φ p B ps ,

[0058] Among them, φ s (B) represents seasonal autoregressive polynomial;

[0059] φ 1 ,φ 2 ,φ p Represents the 1st, 2nd and pth order regression coefficients of the seasonal autoregressive polynomial;

[0060] B s , B 2s , B ps represents the 1st, 2nd and pth order lag operators of seasonal autoregressive polynomials;

[0061] Seasonal moving average polynomial:

[0062] θ s (B) = 1-θ 1 B s -θ 2 B 2s -···-θ q B qs ,

[0063] Among them, θ s (B) represents the seasonal moving average polynomial;

[0064] θ 1 ,θ 2 ,θ q represents the 1st, 2nd and pth order regression coefficients of the seasonal moving average polynomial;

[0065] B s , B 2s , B ps represents the 1st, 2nd and pth order lag operators of the seasonal moving average polynomial;

[0066] Therefore, the SARIMA model can be represented by using the backshift operator and the difference operator.

[0067] The SARIMA(p,d,q)(P,D,Q,s) model is expressed as follows:

[0068]

[0069] Where φ(B) represents the autoregressive polynomial;

[0070] φ s (B) represents seasonal autoregressive polynomial;

[0071] represents the constant difference operator;

[0072] represents the seasonal difference operator;

[0073] Y t represents the MA(q) model;

[0074] θ(B) represents the moving average polynomial;

[0075] θ s (B) represents the seasonal moving average polynomial;

[0076] ε t represents a Gaussian white noise sequence with a mean of zero;

[0077] p represents the order of non-seasonal autoregression;

[0078] d represents the number of differences completed to make the time series stable;

[0079] q represents the order of the non-seasonal moving average.

[0080] (P,D,Q) indicates that the seasonal component introduces additional information specific to the seasonal behavior of the time series data;

[0081] s indicates the periodicity or seasonality of the data.

[0082] 2. Support Vector Regression (SVR) is a machine learning method for regression analysis, which is used to fit and predict the values ​​of continuous output variables. The goal of SVR is to make the predicted values ​​as close as possible to the actual observed values ​​while keeping the model as simple as possible. By adjusting the kernel function and regularization parameters, the model performance can be optimized to obtain the best possible results. It is applicable to a variety of problems, especially when dealing with nonlinear relationships and noisy data.

[0083] Kernel function plays an important role in transforming input data. The SVR function f(x) is represented as follows:

[0084]

[0085] Where f(x) represents the predicted value;

[0086] w represents the weight vector of the model;

[0087] w T represents the transpose of the weight vector;

[0088] represents the feature space obtained by mapping the input through the kernel function;

[0089] b represents the bias parameter.

[0090] If the training sample falls within the preset interval range, it can be considered a correct prediction. Therefore, the penalty function of SVR is:

[0091]

[0092] Among them, w represents the weight vector of the model;

[0093] || || 2 represents the square of the norm;

[0094] C represents the regularization parameter;

[0095] m is the number of samples;

[0096] ξ i represents the training error above ε;

[0097] ξ i * represents the training error below ε;

[0098] ε is the insensitive loss factor;

[0099] w represents the weight parameter;

[0100] b represents the bias parameter;

[0101] The constraints are:

[0102] f(x i )-y i ≤ε+ξ i ,

[0103] Among them, f(x i ) represents the predicted value;

[0104] y i represents the actual observed value;

[0105] ε is the insensitive loss factor;

[0106] ξ i represents the training error above ε;

[0107]

[0108] Among them, y i represents the actual observed value;

[0109] f(x i ) represents the predicted value;

[0110] ε is the insensitive loss factor;

[0111] represents the training error below ε;

[0112]

[0113] Among them, f(x i ) represents the predicted value;

[0114] y i represents the actual observed value;

[0115] ε is the insensitive loss factor;

[0116] m is the number of samples;

[0117] The training error above ε is ξ i , and the training error below ε is

[0118] After solving the quadratic optimization problem with inequality constraints, the parameter vector w is calculated as shown below. and parameter α i represents the Lagrange multiplier.

[0119]

[0120] Where N represents the number of samples;

[0121] α i represents the Lagrange multiplier;

[0122] Represents the feature space obtained by mapping the input x through the kernel function.

[0123] Finally, the SVR regression function is derived as the following equation:

[0124]

[0125] Where N represents the number of samples

[0126] α i represents the Lagrange multiplier;

[0127] K(x i ,x) represents the kernel function;

[0128] b represents bias;

[0129] The kernel function can be calculated by the inner product of xi and xj;

[0130] In the feature space,

[0131] It means that the input x is mapped by the kernel function i The obtained feature space;

[0132] It means that the input x is mapped by the kernel function j The obtained feature space.

[0133] 3. The Extreme Learning Machine (ELM) model is a fast single-layer feedforward neural network that is commonly used for regression and classification problems and can also be applied to time series data prediction. Due to its fast training and strong generalization performance, the ELM model is usually good at time series data prediction. Therefore, ELM performs well in machine learning tasks, especially when speed is critical for both training and prediction purposes.

[0134] ELM is a simple and effective algorithm for training single hidden layer feedforward neural networks (SLFNs). The architecture of SLFN can be described by a triple (d, m, k).

[0135] d represents the dimension of the input data;

[0136] m represents the number of hidden nodes;

[0137] k is the number of input data classes.

[0138] The training formula is:

[0139] D={(x i ,y i )|x i ∈R d ,y i ∈R k}, 1≤i≤n,

[0140] Where n represents the number of training samples;

[0141] x i Represents the characteristics of the training samples;

[0142] y i Represents the label of the training sample;

[0143] R d represents a d-dimensional real vector space;

[0144] R k represents a k-dimensional real vector space;

[0145] The output function of SLFN can be expressed as:

[0146]

[0147] Where m represents the number of hidden nodes;

[0148] β j Represents the weight vector connecting the jth hidden node and the output node;

[0149] g(·) is the activation function;

[0150] w j represents the weight vector connecting the jth hidden node and the input node;

[0151] b j represents the bias parameter of the jth hidden node;

[0152] x i Represents the characteristics of the i-th training sample;

[0153] w j and b j is randomly selected. j It can be determined by the linear system shown below:

[0154]

[0155] m represents the number of hidden nodes;

[0156] β j Represents the weight vector connecting the jth hidden node and the output node;

[0157] g(·) is the activation function;

[0158] w j represents the weight vector connecting the jth hidden node and the input node;

[0159] x i Represents the characteristics of the i-th training sample;

[0160] b j represents the bias parameter of the jth hidden node;

[0161] y i Represents the label of the i-th training sample;

[0162] In order to make the previous linear system formula more intuitive, the linear system can also be written in matrix form. In the matrix formula, H is the output matrix of the input layer of SLFN, which is usually a non-square matrix. The expansion of H, β and Y can be expressed as:

[0163]

[0164] 4. Sparrow Search Algorithm (SSA) is a new type of heuristic optimization algorithm. SSA is inspired by the foraging behavior of birds in nature and is used to solve complex optimization problems. It has been widely used in feature selection, energy consumption, scheduling, engineering problems, communication problems, etc. SSA has good global search capabilities and convergence, and can be applied to solve a variety of optimization problems. SSA has been proven in practical applications, especially in solving the deactivation problem in extreme learning machines (ELMs) for time series prediction.

[0165] SSA operates an iterative calculation process to update the position of each sparrow, which represents each feasible solution in the solution space. In each iteration, the fitness value (corresponding to the objective function value of each feasible solution) should be calculated first.

[0166]

[0167] The matrix X is a set of sparrow positions, and each row of X represents a feasible solution. Specifically, X represents the (j) and b (j) (0<j<k+1). m is the number of sparrows; n represents the number of values ​​to be optimized. Each row of FX represents the fitness value corresponding to each sparrow.

[0168] During the search process, the best individuals in the group will get food first. As explorers, they have a larger foraging range than followers. In each iteration, the position of the producer is updated as follows:

[0169]

[0170] in, is the jth variable of the i-th sparrow at iteration t+1;

[0171] is the jth variable of the i-th sparrow at iteration t;

[0172] α is a random number in (0,1];

[0173] iter max Indicates the maximum number of iterations;

[0174] R 2 is the warning value, R 2 ∈[0,1];

[0175] ST is the safety threshold, ST∈[0.5,1];

[0176] Q is a random number that follows a normal distribution;

[0177] L is a 1×d matrix where each element is 1.

[0178] where t is the current iteration number; is the j-th variable of the i-th sparrow at iteration t. itermax represents the maximum number of iterations; α is a random number in [0,1]; R2 (R2∈[0,1]) and ST (ST∈[0.5,1]) are the warning value and safety threshold respectively. In addition, Q is a random number following a normal distribution; L is a 1×d matrix where each element is 1.

[0179] When R2 < ST, it means there are no predators around and the explorers can conduct a global search. On the contrary, when R2 > ST, it means some sparrows have detected predators and all sparrows need to take action. In each iteration, the update rule for the position of the searchers is described as follows:

[0180]

[0181] where, is the j-th variable of the i-th sparrow at iteration t + 1;

[0182] Q is a random number following a normal distribution;

[0183] is the worst position in the current iteration;

[0184] is the j-th variable of the i-th sparrow at iteration t;

[0185] n represents the population size;

[0186] A is a 1×d vector and each element of A is randomly set to 1 or -1;

[0187] represents the best position held by the producer at the (t + 1)-th iteration;

[0188] L is a 1×d matrix where each element is 1;

[0189] where Xp is the best position held by the producer, is the worst position in the current iteration. A is a 1×d vector and each element of A is randomly set to 1 or -1.

[0190] When i > n / 2, the followers with lower fitness values are in a worse state and need to fly to other places to feed. In SSA, the initial positions of the individuals aware of danger are randomly generated among the population. The update function for sparrows aware of danger can be written as:

[0191]

[0192] in, is the jth variable of the i-th sparrow at iteration t+1;

[0193] It is the best position at the moment;

[0194] β is the control parameter of the step size and follows a standard normal distribution;

[0195] is the jth variable of the i-th sparrow at iteration t;

[0196] f i is the current sparrow’s fitness value;

[0197] f g is the global optimal fitness value of the current sparrow;

[0198] K represents the direction of the sparrow's movement, which is also the step control parameter and is a random number in the interval [-1.1];

[0199] is the worst position in the current iteration;

[0200] f w is the worst fitness value of the current sparrow;

[0201] ε is a constant to avoid zero denominator;

[0202] in is the current best position; β is the control parameter of the step length, which follows the standard normal distribution. K represents the direction of the sparrow's movement, which is also the step control parameter and is a random number in the interval [-1.1]; in addition, ε is a constant to avoid the denominator being zero; fi, fg and fw are the fitness value of the current sparrow, the current global best fitness value and the worst fitness value respectively.

[0203] When fi>fg, the sparrow is at the edge of the group. In addition, when fi=fg, the sparrows in the middle of the group are aware of the danger and need to get close to other sparrows to avoid being preyed upon.

[0204] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

[0205] 5. Spatial correlation analysis

[0206] Tuberculosis virus is mainly transmitted through the air. This characteristic of tuberculosis virus makes the incidence of tuberculosis geographically correlated. Therefore, spatial correlation analysis is a necessary means to improve prediction accuracy. Spatial autocorrelation analysis can determine whether the variable has spatial correlation with the target area. However, the spatial distribution characteristics of variables in different regions within the study area may be different, so it is necessary to compare and analyze the spatial distribution characteristics of variables in different regions through local spatial autocorrelation analysis. Spatial correlation analysis is to find the relationship between adjacent regions and the target region. The degree of spatial correlation is measured by Moran's index. When the predicted value vector of the region matches the predicted data vector well, the predicted value vector of the region will be assigned a higher weight.

[0207] The calculation formula of Moran Index is:

[0208]

[0209] Where a is the number of regions covered by the study;

[0210] x i represents the tuberculosis incidence rate in the i-th region;

[0211] represents the average incidence of tuberculosis in the entire study area;

[0212] S 2 is the variance of tuberculosis incidence in the entire study area;

[0213] W ij is the element in the i-th row and j-th column of the spatial weight matrix.

Claims

1. A method for constructing a combined model for predicting tuberculosis incidence, It is characterized in that The following steps are involved: S1, collect monthly incidence data of tuberculosis in the target area and r surrounding areas; S2, determine the weights of data from different regions based on spatial correlation analysis to form a merged data matrix; S3, constructing a SARIMA model, taking the merged data matrix as input, and taking the actual incidence rate of the target area or a surrounding area as output to train the SARIMA model, and obtaining a trained SARIMA model; S4, constructing an SVR model, taking the merged data matrix as input, and taking the actual incidence rate of the target area or a surrounding area as output to train the SVR model, thereby obtaining a trained SVR model; S5, adding the predicted values ​​of the SAIMA model and the SVR model of the target area and r surrounding areas with equal weights as the input of the ELM model, and taking the actual incidence rate of the target area as the output to train the ELM model to obtain a trained ELM model; S6, using the sparrow search algorithm to optimize the ELM model parameters and generate the SARIMA / / SVR+ELM (SSA) combination model; S7, input the data into the combined model to obtain the prediction results of tuberculosis incidence.

2. The method for constructing a combined model for predicting tuberculosis incidence according to claim 1, It is characterized in that The surrounding areas are areas adjacent to the target area.

3. The method for constructing a combined model for predicting tuberculosis incidence according to claim 1, It is characterized in that The data in the dataset are the historical monthly incidence data of tuberculosis in the target area and one or any combination of r surrounding areas.

4. The method for constructing a combined model for predicting tuberculosis incidence according to claim 1, It is characterized in that Step S3 includes: S3-1, Stationarity test: Use autocorrelation function graph, autocorrelation function curve graph and augmented Dickey-Fuller test to verify the stationarity of time series data; if the time series data cannot pass the stationarity test, D-order difference is required; S3-2, Ljung Box test: The Ljung Box test is used to verify the random noise in the SARIMA model by evaluating the p-value; the SARIMA model can be successfully constructed only if there is no random noise in the time series data; S3-3, parameter determination: the grid search method is used to find the optimal parameters; at the same time, the minimum Akaike information criterion is applied to select the optimized parameters to fit the SARIMA model; S3-4, Model testing: Determine whether the SARIMA model is successfully fitted by residual white noise test.

5. The method for constructing a combined model for predicting tuberculosis incidence according to claim 1, It is characterized in that Step S4 includes: S4-1, preprocessing the initial time series data, including filling missing values ​​and / or removing outliers; S4-2, Data normalization: All time series data were standardized and normalized using the z-score method; S4-3, parameter determination: Use grid search method to find the optimal parameters.

6. The method for constructing a combined model for predicting tuberculosis incidence according to claim 1, It is characterized in that Step S5 includes: S5-1, the SARIMA model and the SVR model are parallel structures, and the inputs of the two will be spliced ​​into a new data matrix as the input of ELM; S5-2, ELM is a series structure with SARIMA model and SVR model. ELM takes the output of SARIMA and SVR as input and outputs the incidence data of the target area.

Citation Information

Cited By

  • Multi-scale tuberculosis morbidity prediction method and system

    CN121768692A