Machine learning model-based quantitative evaluation method for infectious disease rebound severity

Through a quantitative assessment method based on machine learning models, combined with random forests and extreme gradient boosting models, the severity of infectious diseases is evaluated using incidence density, which solves the problem of failing to effectively consider urban factors and the duration of infectious diseases in the existing technology, and achieves More accurate assessment results.

CN118609845APending Publication Date: 2024-09-06JILIN UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311565660.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-22
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The existing technology fails to effectively consider the external and internal factors of the city when assessing the severity of the rebound of infectious diseases, and fails to consider the impact of the duration of the infectious disease when using the incidence rate to assess the severity of the infectious disease, resulting in inaccurate assessment results.

Method used

Using a quantitative evaluation method based on machine learning models, by collecting and decomposing socioeconomic or environmental factors, using the nearest neighbor algorithm for data interpolation, principal component analysis and clustering dimensionality reduction, building random forest and extreme gradient Boosting models, combined with GridSearchCV Hyperparameter optimization and cross-validation, using incidence density to assess infectious disease severity, eliminate collinearity and build synthetic indicators.

Benefits of technology

It improves the accuracy and practicality of assessing the severity of the rebound of infectious diseases, can better reflect the real situation of the city, takes into account time and population, and achieves more fine-grained modeling and assessment of the population.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118609845A
    Figure CN118609845A
Patent Text Reader

Abstract

According to the method, a random forest and an extreme gradient boost (XGBoost) model are adopted for model fitting. Hyper-parameter optimization and cross validation are carried out through GridSearchCV, so that excessive fitting is prevented, and the model precision is improved. According to the research, after correlation test is carried out, variables are not directly eliminated, colinearity is eliminated by adopting synthetic indexes, factors capable of explaining that all data changes exceed 20% in each dimension obtained from principal component analysis are defined as significant factors of the dimension, the significant factors of the same dimension are synthesized into a new index, and the correlation of the data is improved. The new synthetic index can more systematically and comprehensively evaluate the characteristic factors of a certain aspect of the city, and the obtained result is more practical and can better reflect the real level.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of infectious disease rebound assessment, and in particular relates to a quantitative assessment method for the severity of infectious disease rebound based on a machine learning model. Background Art

[0002] Machine learning model, by constructing a machine learning model, to achieve a quantitative assessment of the severity of infectious diseases and provide new insights for further formulating prevention and control measures. The present invention mainly considers the impact of external and internal factors of the city on the severity of the rebound of infectious diseases. External factors include the number of neighboring countries in the area where the city is located, the total number of infectious disease cases in neighboring countries, airport passenger throughput, cargo throughput, etc. Internal factors include the number of health institutions, the number of foreign tourists, the number of beds in health institutions, health beds, etc.

[0003] ChinaEnvironmentalScience established an XGBoost regression model in 2022. The SHAP interpretation model was used to quantitatively analyze the nonlinear characteristics of the impact of key factors in the XGBoost model on the incidence of infectious diseases.

[0004] When the SHAP method is used to analyze nonlinear relationships, the amount of data related to population density and economic development level is relatively small, and more data support is still needed to explore and discover the more general laws of factor effects. In addition, this study directly eliminated redundant variables after the correlation test and failed to make comprehensive use of all variables. It may eliminate important predictive variables and cannot better reflect the actual level. This study used the incidence rate to assess the severity of infectious diseases and failed to consider the impact of the duration of infectious diseases. Summary of the invention

[0005] To solve the above problems, the present invention provides the following technical solution: a quantitative assessment method for the severity of infectious disease rebound based on a machine learning model, comprising the following steps:

[0006] Step 1: The infectious disease infection case report data came from various official websites; a total of 0 factors such as socioeconomic or environmental factors were collected, and these factors were divided into external factors and internal factors;

[0007] Step 2: For variables with missing values, the nearest neighbor (KNN) algorithm is used for data interpolation. To reduce the impact of large features, we standardize these features by removing the mean and scaling to unit variance;

[0008] Step 3: Use principal component analysis (PCA) for dimensionality reduction and feature extraction. K-Means clusters the PCA results, and finally determine the number of clusters based on the silhouette coefficient;

[0009] Step 4: Eliminate collinearity through composite indicators. Define the factors that can explain more than 20% of the variation in all data variations on each dimension obtained by PCA as significant factors of that dimension. Combine the significant factors of the same dimension into a new composite indicator. The weight used in the synthesis is obtained by the composition ratio of the important factors on its dimension. Cities are divided into severe epidemics and ordinary epidemics according to the median incidence density. The incidence density is calculated as follows:

[0010]

[0011] Step 5: The data was randomly divided into 60% training dataset and 40% test dataset, and two decision tree-based methods, random forest (RF) and extreme gradient boosting (XGBoost), were used to model the incidence density features;

[0012] Step 6: Use GridSearchCV to perform hyperparameter optimization and cross-validation to prevent overfitting and improve model accuracy. Use area under the curve (AUC), accuracy, precision, F1-score, and recall values ​​to evaluate the model.

[0013] Step 7: Use the importance obtained from the model to identify the best features that contribute to the model and build a more concise model.

[0014] Technical effects:

[0015] The present invention adopts random forest and extreme gradient boosting (XGBoost) models for model fitting. Hyperparameter optimization and cross-validation are performed by GridSearchCV to prevent overfitting and improve model accuracy. After the correlation test, this study did not directly eliminate the variables, but adopted a synthetic index to eliminate collinearity. We defined the factors that can explain more than 20% of the data changes in each dimension obtained from the principal component analysis as the significant factors of the dimension, and integrated the significant factors of the same dimension into a new index. This new synthetic index can more systematically and comprehensively evaluate the characteristic factors of a certain aspect of the city, and the results obtained are more practical and can better reflect the real level. Compared with the study using the incidence rate to evaluate the severity of infectious diseases, we use the incidence density to evaluate the severity of infectious diseases, taking into account the time and population, and calculating the incidence rate with the observation time as the denominator. The rate with instantaneous frequency properties calculated in person-time can better reflect the severity of the city's morbidity. The present invention collected 32 socioeconomic or environmental factors and divided them into external factors and internal factors. Based on previous literature, this study also selected several potential factors that can reflect the level of medical resources, population characteristics, economic level and climate characteristics, thus achieving more fine-grained modeling and evaluation of the population. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0017] Figure 1 In order to perform PCA dimensionality reduction on external factors, the information of 32 features was finally simplified into a two-dimensional space (Figure A), and the data of multiple regions were clustered into 6 clusters. The clustering results showed that there were a large number of general cities and poor cities in clusters 1 and 6; most of the cities in clusters 2 and 5 were developed cities or general cities; A and B belonged to cluster 3; only the extremely backward belonged to cluster 4. Cities with case numbers (Figure B) or incidence density (Figure C) above the median were concentrated in clusters 1 and 6.

[0018] Figure 2 The correlation heat map results between rebound-related factors are shown (Figure A), and the correlation heat map after synthesizing the indicators is shown (Figure B).

[0019] Figure 3 A comparison chart of the RF model and the XGBoost model for predicting the severity of infectious diseases in cities. Figure 4 Compute feature importance score dendrograms for RF and XGBoost models.

[0020] Figure 5 This is a comparison chart of the simplified conventional logistic regression model, RF model, and XGBoost model. DETAILED DESCRIPTION

[0021] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the present invention is further explained below in conjunction with specific implementation methods.

[0022] See also Figure 1-5 , a quantitative assessment method for the severity of infectious disease rebound based on a machine learning model, comprising the following steps:

[0023] Step 1: The infectious disease infection case report data came from various official websites; a total of multiple factors such as socioeconomic or environmental factors were collected and divided into external factors and internal factors;

[0024] Step 2: For variables with missing values, the nearest neighbor (KNN) algorithm is used for data interpolation. To reduce the impact of large features, we standardize these features by removing the mean and scaling to unit variance;

[0025] Step 3: Use principal component analysis (PCA) for dimensionality reduction and feature extraction. K-Means clusters the PCA results, and finally determine the number of clusters based on the silhouette coefficient;

[0026] Step 4: Eliminate collinearity through composite indicators. Define the factors that can explain more than 20% of the variation in all data variations on each dimension obtained by PCA as significant factors of that dimension. Combine the significant factors of the same dimension into a new composite indicator. The weight used in the synthesis is obtained by the composition ratio of the important factors on its dimension. Cities are divided into severe epidemics and ordinary epidemics according to the median incidence density. The incidence density is calculated as follows:

[0027]

[0028] Step 5: The data was randomly divided into 60% training dataset and 40% test dataset, and two decision tree-based methods, random forest (RF) and extreme gradient boosting (XGBoost), were used to model the incidence density features.

[0029] Step 6: Use GridSearchCV to perform hyperparameter optimization and cross-validation to prevent overfitting and improve model accuracy. Use area under the curve (AUC), accuracy, precision, F1-score, and recall values ​​to evaluate the model.

[0030] Step 7: Use the importance obtained from the model to identify the best features that contribute to the model and build a more concise model.

[0031] Implementation examples:

[0032] We included 122 infectious disease rebound events caused by heterovirulent strains between A year B month C and A1 year B2 month C3, involving multiple regions. A total of multiple factors such as socioeconomic or environmental factors were collected, and these factors were divided into external factors and internal factors. External factors include the number of neighboring countries in the city area, the total number of cases in neighboring countries, airport passenger throughput, cargo throughput, etc., and internal factors include the number of health institutions, the number of foreign tourists, the number of beds in health institutions, and health beds.

[0033] We perform PCA dimensionality reduction on external factors and finally simplify the information of multiple features into a two-dimensional space.

[0034] (Figure A) clusters data from multiple regions into 6 clusters. The clustering results show that there are a large number of general cities and poor cities in clusters 1 and 6; most of the cities in clusters 2 and 5 are developed cities or general cities; A and B belong to cluster 3; only the extremely backward belong to cluster 4. Cities with case numbers (Figure B) or incidence density (Figure C) above the median are concentrated in clusters 1 and 6, indicating that the degree of development of these cities may determine the intensity of the epidemic. The results are as follows Figure 1 shown.

[0035] In the correlation study between rebound-related factors, the following technical effects can be obtained:

[0036] The results of the correlation heat map show (Figure A) that there is a significant correlation between the factors. In order to reduce the problem of multicollinearity, we synthesize the strongly correlated indicators. The correlation heat map after synthesizing the indicators shows (Figure B) that the correlation between the characteristics is significantly reduced. We found that service (serve), sex ratio (sexratio) and cargo (cargo) are negatively correlated with the incidence density, while urban ratio (urbanratio), elderly (older) and foreign infectious diseases (foreign) are positively correlated with the incidence density. The results are as follows Figure 2 shown.

[0037] The best features we obtained by building the model are as follows:

[0038] Based on 9 comprehensive features, we established RF model and XGBoost model to predict the severity of infectious diseases in cities. The auc of RF model and XGBoost model were 0.816 and 0.711 respectively. The accuracy of each classification model was about 0.744 and 0.667 respectively. The recall of random forest model and XGBoost model was 0.744 and 0.667 respectively. The F1 score of RF model was 0.744 and the F1 score of XGBoost model was 0.66. The results are shown in Figure 3 shown.

[0039] To determine the most effective features, we calculated the feature importance scores using the RF model and the XGBoost model. We selected the five best features because the feature importance scores of these five features in at least one model were greater than 0.1. The results are shown in Figure 2. Figure 4 shown.

[0040] Based on these five optimal features, we constructed three concise models: conventional logistic regression model, RF model and XGBoost model. The conventional logistic regression model showed poor discrimination ability with an auc of 0.666; the RF model and XGBoost model both showed better discrimination ability with aucs of 0.795 and 0.747, respectively. The accuracy of the conventional logistic regression model, RF model and XGBoost model were approximately 0.590, 0.744 and 0.692, respectively. The precision of the conventional logistic regression model, RF model and XGBoost model were 0.590, 0.748 and 0.697, respectively. The recall rates of the conventional logistic regression model, RF model and XGBoost model were 0.590, 0.744 and 0.692, respectively. In addition, the F1 scores of the conventional logistic regression model, RF model and XGBoost model were 0.590, 0.744 and 0.693, respectively. The results are shown in Figure 5 shown.

[0041] After the correlation test, redundant variables were directly eliminated, and all variables were not comprehensively utilized. Important predictive variables may be eliminated, and the real level cannot be well reflected. This study uses the incidence rate to assess the severity of infectious diseases, but fails to consider the social impact of the duration of infectious diseases. In response to these problems, the present invention proposes a series of optimization schemes: 1. Use random forest and extreme gradient boosting (XGBoost) models for model fitting. Hyperparameter optimization and cross-validation are performed through GridSearchCV to prevent overfitting and improve model accuracy. 2. After the correlation test, this study did not directly eliminate the variables, but used synthetic indicators to eliminate collinearity. We define the factors that can explain more than 20% of all data changes in each dimension obtained from the principal component analysis as the significant factors of the dimension, and synthesize the significant factors of the same dimension into a new indicator. This new synthetic indicator can more systematically and comprehensively evaluate the characteristic factors of a certain aspect of the city, and the results obtained are more in line with reality and can better reflect the real level. 3. Compared with the study that used the incidence rate to evaluate the severity of infectious diseases, we used the incidence density to evaluate the severity of infectious diseases, taking into account time and population, and calculated the incidence rate with observation time as the denominator. The rate with instantaneous frequency properties calculated with person-time as the unit can better reflect the severity of the city's morbidity. 4. The present invention collected 32 socioeconomic or environmental factors and divided these factors into external factors and internal factors. Based on previous literature, this study also selected several potential factors that can reflect the level of medical resources, population characteristics, economic level and climate characteristics, realizing a more fine-grained modeling and evaluation of the population.

[0042] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary examples, and the present invention can be implemented in other specific forms without departing from the spirit or basic features of the present invention. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is defined by the attached claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved.

[0043] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A quantitative assessment method for the severity of infectious disease rebound based on a machine learning model, characterized by: The following steps are involved: Step 1: The infectious disease infection case report data came from various official websites; a total of multiple factors such as socioeconomic or environmental factors were collected and divided into external factors and internal factors; Step 2: For variables with missing values, the nearest neighbor (KNN) algorithm is used for data interpolation. To reduce the impact of large features, we standardize these features by removing the mean and scaling to unit variance; Step 3: Use principal component analysis (PCA) for dimensionality reduction and feature extraction. K-Means clusters the PCA results, and finally determine the number of clusters based on the silhouette coefficient; Step 4: Eliminate collinearity through composite indicators. Define the factors that can explain more than 20% of the variation in all data variations on each dimension obtained by PCA as significant factors of that dimension. Combine the significant factors of the same dimension into a new composite indicator. The weight used in the synthesis is obtained by the composition ratio of the important factors on its dimension. Cities are divided into severe epidemics and ordinary epidemics according to the median incidence density. The incidence density is calculated as follows: Step 5: The data was randomly divided into 60% training dataset and 40% test dataset, and two decision tree-based methods, random forest (RF) and extreme gradient boosting (XGBoost), were used to model the incidence density features. Step 6: Use GridSearchCV to perform hyperparameter optimization and cross-validation to prevent overfitting and improve model accuracy. Use area under the curve (AUC), accuracy, precision, F1-score, and recall values ​​to evaluate the model. Step 7: Use the importance obtained from the model to identify the best features that contribute to the model and build a more concise model.