Subject prediction method and system based on regression analysis

By using natural language processing, support vector machines, and random forests to build stacked regression models in subject prediction, and performing grid search and cross-validation optimization, the problems of nonlinear relationship processing and feature interference in the existing technology are solved, and predictions are improved. accuracy and efficiency, providing in-depth results interpretation and strategic recommendations.

CN118690928AInactive Publication Date: 2024-09-24JINAN QUANFANG TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411187349.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-09-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing techniques perform poorly in handling complex nonlinear relationships, and models are susceptible to interference from irrelevant or redundant features, resulting in insufficient prediction efficiency and accuracy.

Method used

Adopting a subject prediction method based on regression analysis, preprocessing data through natural language processing, combining support vector machines and random forests to build a stacked regression model, and optimizing the model through grid search, regularization and cross-validation to prevent overfitting and improve predictions accuracy and generalization ability.

Benefits of technology

Effectively handles complex nonlinear relationships, improves the accuracy and efficiency of subject prediction, reduces the risk of overfitting, and provides prediction results and strategy suggestions with more practical application value.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690928A
    Figure CN118690928A
Patent Text Reader

Abstract

The invention discloses a subject prediction method and system based on regression analysis, and belongs to the technical field of computer data analysis processing, and the method specifically comprises the steps: setting a prediction target, collecting a data set, and carrying out the preprocessing through natural language processing; on the basis of the prediction target data set, identifying independent variables by using a feature selection algorithm, and integrating into a prediction data set; constructing a stacked regression model by combining a support vector machine and a random forest method, and optimizing parameters through grid search; after the model is preliminarily optimized, regularization and cross validation are adopted to prevent overfitting, the model is further optimized, and the uncertainty of prediction is evaluated; the performance of the model is evaluated through comparison with actual data, and iterative optimization is carried out; regression coefficients are interpreted, prediction results are summarized, strategy suggestions are put forward, a long-term monitoring mechanism is established to update prediction data regularly, and prediction efficiency and accuracy are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of computer data analysis and processing, and specifically relates to a subject prediction method and system based on regression analysis. Background Art

[0002] With the rapid development of scientific research and the continuous accumulation of data, discipline prediction has become the focus of researchers and policy makers. Discipline prediction aims to predict the future development trends, research hotspots, and technological innovations of disciplines, which is of great significance for the optimal allocation of scientific research resources and the formulation of scientific research policies. The development of discipline prediction methods has evolved from ancient non-scientific predictions to modern quantitative predictions and diversified prediction technologies, providing accurate and effective support for scientific research decisions.

[0003] For example, the patent with publication number CN111222691A discloses a discipline prediction algorithm based on regression analysis, including: calculating the initial model coefficients of the system linear regression prediction model based on the system initial sampling data sequence and recording; obtaining a new system sampling data sequence with each increase in the system sampling point, determining the increased system sampling point data and the reduced system sampling point data; updating the model coefficients based on the increased / decreased system sampling point data and the current model coefficients; then updating the model coefficients again based on the reduced / increased system sampling point data and the updated model coefficients, as the model coefficients corresponding to each increase in the system sampling point and recording. This technical solution can avoid the large amount of server resources occupied during the calculation process, improve the efficiency of the calculation of the system linear regression model coefficients, and ensure the real-time calculation of the linear regression model coefficients.

[0004] The above existing technologies all have the following problems: 1) poor performance when dealing with complex nonlinear relationships; 2) the model is easily disturbed by irrelevant or redundant features. Summary of the invention

[0005] In view of the shortcomings of the prior art, the present invention proposes a discipline prediction method and system based on regression analysis, which sets prediction targets and collects data sets, which are preprocessed through natural language processing; based on the prediction target data set, a feature selection algorithm is used to identify independent variables and integrate them into a prediction data set; a stacked regression model is constructed by combining support vector machine and random forest methods, and parameters are optimized through grid search; after the initial optimization of the model, regularization and cross-validation are used to prevent overfitting, the model is further optimized, and the uncertainty of the prediction is evaluated; the model performance is evaluated by comparing with actual data, and iterative optimization is performed; the regression coefficients are interpreted, the prediction results are summarized, strategic recommendations are put forward, and a long-term monitoring mechanism is established to regularly update the prediction data, thereby improving the efficiency and accuracy of the prediction.

[0006] To achieve the above object, the present invention provides the following technical solutions: A subject prediction method based on regression analysis, comprising: Step S1: Set the scientific research field as the prediction target, collect the prediction target data set, and use the natural language processing method to preprocess the prediction target data set; Step S2: Based on the prediction target data set, the dependent variable data is determined, and the independent variables of the prediction target data are identified using a feature selection algorithm, and integrated with the dependent variable data to form a prediction data set. According to the characteristics of the prediction data set and the prediction target, a stacked regression model is constructed using a support vector combined with a random forest method, and a grid search method is used to perform preliminary parameter tuning on the sub-models in the stacked regression model to find the best parameter combination; Step S3: Based on the initially optimized stacked regression model, a regularization method is used to prevent overfitting, and the stacked regression model is further optimized in combination with a cross-validation method. The optimized stacked regression model is used to predict scientific research development, and the uncertainty of the prediction is evaluated by calculating the prediction interval; Step S4: Compare the prediction results of the stacked regression model with the real-time prediction target data, evaluate the performance of the optimized stacked regression model, and perform iterative optimization based on the feedback; Step S5: Obtain the regression coefficient of the stacked regression model, summarize the prediction results of the stacked regression model, point out the driving factors of the prediction, and based on the prediction results of the stacked regression model and the driving factor analysis, put forward strategic recommendations. At the same time, establish a long-term monitoring mechanism and regularly update the prediction data of the stacked regression model.

[0007] Specifically, the specific steps of step S2 include: S2.1: Based on the preprocessed prediction target data set, an improved recursive feature elimination algorithm is used to identify the independent variables with the strongest correlation with the dependent variable, and the selected features are retained to obtain the prediction data set; S2.2: Select the support vector regression model and the random forest regression model as the base models, use the training set of the prediction data set to train the two base models, and use the prediction results of each base model on the training set as meta-features; S2.3: Integrate the meta-features with the dependent variables in the training set of the prediction data set to form a new training set, and use the new training set to train a logistic regression meta-model, integrate the prediction results of the logistic regression meta-model and the two base models, and obtain the integrated base model; S2.4: Use the grid search method to tune the parameters of the integrated base model to obtain the best parameter combination, and set the best parameter combination as the final parameters of the integrated base model; S2.5: According to the final parameters of the base model, the two base models are used as the first layer and the logistic regression meta-model is used as the second layer to build a stacked regression model. The stacked regression model is evaluated using the test set of the prediction dataset and the mean square error indicator is calculated.

[0008] Specifically, the specific steps of the two base model prediction process in S2.2 include: ; in, represents the prediction result of the support vector regression model, x represents the features identified by the recursive feature elimination algorithm, Denotes each support vector The weight coefficient of represents the i-th kernel function, represents the i-th mapping of the original feature x, represents the i-th support vector, Express The i-th mapping of Each additional feature The weight coefficient of represents the jth additional feature, b represents the bias term, and M represents the number of additional features added. represents the prediction result of the random forest regression model, represents the weight of the nth decision tree, represents the prediction result of the nth decision tree for x, represents adjustable parameters, represents the importance measure of the mth feature in the nth decision tree, N represents the number of decision trees in the random forest, and A represents the number of x identified by the recursive feature elimination algorithm.

[0009] Specifically, the specific steps of the logistic regression meta-model prediction process in S2.3 include: ; in, represents the prediction result of the logistic regression meta-model, Represents the feature data of the new training set, d represents The number of represents the intercept term, , represents the rth and the first feature data, Representation characteristics The linear coefficient of Representation characteristics and The coefficient of the interaction term is Representation characteristics The coefficient of the square term of represents the regularization parameter.

[0010] Specifically, the integrated base model formula in S2.3 is: ; in, represents the prediction result of the integrated base model, X represents the feature data of the integrated base model, , , They represent the weights of the prediction results of the support vector regression model, random forest regression model, and logistic regression meta-model respectively.

[0011] Specifically, the step of calculating the prediction interval in step S3 includes: S3.1: Prediction results based on the stacked regression model ,calculate With the true value The residual , , where Y represents the feature data input to the stacked regression model; S3.2: Set the prediction interval to .

[0012] Specifically, the independent variable in step S1 refers to the factors that affect the prediction target, and the dependent variable refers to the measurement indicator in the scientific research field.

[0013] A discipline prediction system based on regression analysis, comprising: a data processing module, a model building module, a prediction module, an evaluation and optimization module, and a result interpretation module; The data processing module is used to collect and preprocess the prediction target data set; The model building module is used to build a stacked regression model based on the preprocessed prediction target data set; The prediction module is used to predict the received new data using the constructed stacked regression model; The evaluation and optimization module is used to evaluate the performance of the stacked regression model and perform iterative optimization based on the evaluation results; The result interpretation module is used to visualize the prediction results and, based on the prediction results, put forward strategic suggestions or action guidelines for the development of the discipline.

[0014] Specifically, the model building module includes: a feature selection unit, a data integration unit, a model building unit, and a parameter tuning unit; The feature selection unit is used to identify the independent variable with the strongest correlation with the dependent variable using a feature selection algorithm based on statistical tests and domain knowledge; The data integration unit is used to integrate the independent variables and dependent variable data in the prediction target data set collected from different sources to form a prediction data set; The model building unit is used to build a stacked regression model based on support vector regression and random forest according to the characteristics of the prediction data set and the prediction target; The parameter tuning unit is used to perform preliminary parameter tuning on the sub-models in the stacked regression model using a grid search method to find the best parameter combination and reduce the risk of overfitting.

[0015] Specifically, an electronic device includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of a subject prediction method based on regression analysis when executing the computer program.

[0016] Compared with the prior art, the present invention has the following beneficial effects: 1. The present invention proposes a subject prediction system based on regression analysis, and optimizes and improves the architecture, operation steps and processes. The system has the advantages of simple process, low investment and operation costs, and low production work costs.

[0017] 2. The present invention proposes a discipline prediction method based on regression analysis, which uses a stacked regression model and combines algorithms such as support vector machines and random forests. It can handle more complex nonlinear relationships and improve the accuracy of predictions. It identifies key independent variables through a feature selection algorithm and integrates them with dependent variable data to form a more refined and targeted prediction data set, which helps to improve the performance of the prediction model. It adopts regularization and cross-validation optimization strategies to effectively prevent overfitting and improve the generalization ability of the model. It not only provides prediction results, but also conducts in-depth result interpretation and factor analysis, and puts forward strategic suggestions, making the prediction results more valuable for practical application. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of a subject prediction method based on regression analysis of the present invention; Figure 2 This is a flow chart of the working principle of a subject prediction method based on regression analysis of the present invention; Figure 3 The present invention is a flow chart for realizing the best parameter combination of a subject prediction method based on regression analysis; Figure 4 This is an architecture diagram of a subject prediction system based on regression analysis according to the present invention. DETAILED DESCRIPTION

[0019] Example 1 See also Figure 1-Figure 3, an embodiment provided by the present invention: a subject prediction method based on regression analysis, comprising the following steps: Step S1: Set the scientific research field as the prediction target, collect the prediction target data set, and use the natural language processing method to preprocess the prediction target data set; The sources for collecting prediction target data sets include: scientific research databases, academic conferences, expert interviews, academic reports, and industry association statistics.

[0020] Step S2: Based on the prediction target data set, the dependent variable data is determined, and the independent variables of the prediction target data are identified using a feature selection algorithm, and integrated with the dependent variable data to form a prediction data set. According to the characteristics of the prediction data set and the prediction target, a stacked regression model is constructed using a support vector combined with a random forest method, and a grid search method is used to perform preliminary parameter tuning on the sub-models in the stacked regression model to find the best parameter combination; Step S3: Based on the initially optimized stacked regression model, a regularization method is used to prevent overfitting, and the stacked regression model is further optimized in combination with a cross-validation method. The optimized stacked regression model is used to predict scientific research development, and the uncertainty of the prediction is evaluated by calculating the prediction interval; Step S4: Compare the prediction results of the stacked regression model with the real-time prediction target data, evaluate the performance of the optimized stacked regression model, and perform iterative optimization based on the feedback; Step S5: Obtain the regression coefficient of the stacked regression model, summarize the prediction results of the stacked regression model, point out the driving factors of the prediction, and based on the prediction results of the stacked regression model and the driving factor analysis, put forward strategic recommendations. At the same time, establish a long-term monitoring mechanism and regularly update the prediction data of the stacked regression model.

[0021] The specific steps of step S2 include: S2.1: Based on the preprocessed prediction target data set, an improved recursive feature elimination algorithm is used to identify the independent variables with the strongest correlation with the dependent variable, and the selected features are retained to obtain the prediction data set; Furthermore, the specific steps of the recursive feature elimination algorithm include: (1) Training model: Train a model, such as random forest, on the complete dataset; (2) Evaluate feature importance: Calculate the model's importance score for each feature. For random forests, this score is usually calculated based on the reduction in impurity of the feature when the feature is split at a node in the tree. (3) Remove the least important features: Remove the least important features based on the importance score, such as removing the features with the lowest importance scores; (4) Recursion: Repeat steps (1)-(3) using the remaining feature sets until the preset number of features is reached or other stopping conditions are met.

[0022] S2.2: Select the support vector regression model and the random forest regression model as the base models, use the training set of the prediction data set to train the two base models, and use the prediction results of each base model on the training set as meta-features; Furthermore, the steps of training the support vector regression model include: (1) Select kernel function: Select a kernel function that is suitable for the data set, such as a linear kernel, a polynomial kernel, or a radial basis function kernel; (2) Determine hyperparameters: Use the cross-validation method to determine the hyperparameters of the support vector regression model, such as the regularization coefficient C and the penalty factor epsilon; (3) Training model: Train the support vector regression model using the selected kernel function and hyperparameters; (4) Predicting the training set: Use the trained support vector regression model to predict the training set and obtain the prediction results.

[0023] The specific steps for training a random forest regression model include: (1) Determine parameters: Determine the parameters of the random forest model, such as the number of decision trees and the number of features randomly selected at each node; (2) Training model: Train the random forest model using the training set and selected parameters; (3) Predict the training set: Use the trained random forest model to predict the training set and obtain the prediction results.

[0024] S2.3: Integrate the meta-features with the dependent variables in the training set of the prediction data set to form a new training set, and use the new training set to train a logistic regression meta-model, integrate the prediction results of the logistic regression meta-model and the two base models, and obtain the integrated base model; S2.4: Use the grid search method to tune the parameters of the integrated base model to obtain the best parameter combination, and set the best parameter combination as the final parameters of the integrated base model; S2.5: According to the final parameters of the base model, the two base models are used as the first layer and the logistic regression meta-model is used as the second layer to build a stacked regression model. The stacked regression model is evaluated using the test set of the prediction dataset and the mean square error indicator is calculated.

[0025] The specific steps of the prediction process of the two base models in S2.2 include: ; in, represents the prediction result of the support vector regression model, x represents the features identified by the recursive feature elimination algorithm, Denotes each support vector The weight coefficient of represents the i-th kernel function, represents the i-th mapping of the original feature x, represents the i-th support vector, Express The i-th mapping of Each additional feature The weight coefficient of represents the jth additional feature, b represents the bias term, and M represents the number of additional features added. represents the prediction result of the random forest regression model, represents the weight of the nth decision tree, represents the prediction result of the nth decision tree for x, represents adjustable parameters, represents the importance measure of the mth feature in the nth decision tree, N represents the number of decision trees in the random forest, and A represents the number of x identified by the recursive feature elimination algorithm.

[0026] The specific steps of the logistic regression meta-model prediction process in S2.3 include: ; in, represents the prediction result of the logistic regression meta-model, Represents the feature data of the new training set, d represents The number of represents the intercept term, , represents the rth and the first feature data, Representation characteristics The linear coefficient of Representation characteristics and The coefficient of the interaction term is Representation characteristics The coefficient of the square term of represents the regularization parameter.

[0027] The integrated base model formula in S2.3 is: ; in, represents the prediction result of the integrated base model, X represents the feature data of the integrated base model, , , They represent the weights of the prediction results of the support vector regression model, random forest regression model, and logistic regression meta-model respectively.

[0028] The steps of calculating the prediction interval in step S3 include: S3.1: Prediction results based on the stacked regression model ,calculate With the true value The residual , , where Y represents the feature data input to the stacked regression model; Furthermore, the specific steps of stacking regression models for prediction include: (1) Data partitioning: The collected prediction target data set is divided into a training set and a test set, where the training set is further divided into K subsets; (2) Base model training: K different regression models are trained using K subsets, namely base models. Each base model is trained using K-1 subsets other than its own subset. (3) Base model prediction: Use each base model to predict the test set and generate K prediction results; (4) Meta-model training: The prediction results of the K base models are used as new features together with the actual target variables of the test set to train the meta-regression model; (5) Final prediction: Use the meta-model to predict new unknown data and obtain the final prediction result.

[0029] S3.2: Then set the prediction interval to , where 1.96 is determined based on a 95% confidence interval for a normal distribution.

[0030] The independent variable in step S1 refers to the factors that affect the prediction target, and the dependent variable refers to the measurement index in the field of scientific research.

[0031] Among them, the dependent variables include: number of papers published, number of citations, number of patents, and technology maturity; the independent variables include: scientific research investment, policy support, scientific research team building, international cooperation, and technological development.

[0032] Example 2 See also Figure 4 Another embodiment provided by the present invention is a subject prediction system based on regression analysis, comprising: Data processing module, model building module, prediction module, evaluation and optimization module, and result interpretation module; Data processing module, used to collect prediction target data set and perform preprocessing; A model building module is used to build a stacked regression model based on the preprocessed prediction target data set; The prediction module is used to predict the received new data using the constructed stacked regression model; Evaluation and optimization module, used to evaluate the performance of the stacked regression model and perform iterative optimization based on the evaluation results; The result interpretation module is used to visualize the prediction results and, based on the prediction results, put forward strategic recommendations or action guidelines for discipline development.

[0033] The data processing module includes: a prediction target setting unit, a data collection unit, and a natural language processing unit; The prediction target setting unit is used to set specific scientific research fields as prediction targets according to needs, including the number of papers published in the discipline, influence indicators, etc., and to set the prediction time range and accuracy requirements; The data collection unit is used to collect prediction target data sets from web crawling, databases, and public APIs, including academic publication records and policy documents; The natural language processing unit is used to clean, segment, remove stop words, and perform word vector representation operations on text data using the NLP method in order to extract feature information and convert it into a form that can be processed by the model.

[0034] The model building module includes: feature selection unit, data integration unit, model building unit, and parameter tuning unit.

[0035] A feature selection unit is used to identify the independent variables that are most strongly correlated with the dependent variable using feature selection algorithms based on statistical tests and domain knowledge; A data integration unit is used to integrate the independent variables and dependent variable data in the prediction target data set collected from different sources to form a prediction data set; A model building unit, used to build a stacked regression model based on support vector regression and random forest according to the characteristics of the prediction data set and the prediction target; The parameter tuning unit is used to perform preliminary parameter tuning on the sub-models in the stacked regression model using the grid search method to find the best parameter combination and reduce the risk of overfitting.

[0036] The prediction module includes: a regularization unit, a cross-validation unit, a prediction execution unit, and a prediction interval calculation unit; Regularization unit, used to apply regularization methods, such as L1 or L2 regularization, during model training to prevent overfitting and improve the generalization ability of the model; The cross-validation unit is used to evaluate the stability of the model using the cross-validation method to ensure the performance of the prediction model on unseen data; The prediction execution unit is used to predict the scientific research development using the optimized stacked regression model and generate prediction results by inputting new independent variable data; The prediction interval calculation unit is used to calculate the prediction interval based on the uncertainty and confidence level of the model, evaluate the uncertainty of the prediction, and provide a confidence range for the prediction results.

[0037] The evaluation and optimization module includes: result comparison unit, performance evaluation unit, and iterative optimization unit; The result comparison unit is used to compare the model prediction results with the actual scientific research development data and evaluate the prediction deviation; A performance evaluation unit, which is used to calculate error metrics, such as mean square error, to evaluate model performance; The iterative optimization unit is used to iteratively improve the model based on the evaluation feedback, which may include adjusting the model structure, feature selection or parameter setting until a satisfactory prediction effect is achieved.

[0038] Example 3 An electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of a subject prediction method based on regression analysis when executing the computer program.

[0039] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in the field may also change, modify, replace and modify the above-mentioned embodiments without departing from the purpose and scope of protection of the present invention, and all of these are within the protection of the present invention.

Claims

1. A subject prediction method based on regression analysis, characterized in that: include: Step S1: Set the scientific research field as the prediction target, collect the prediction target data set, and use the natural language processing method to preprocess the prediction target data set; Step S2: Based on the prediction target data set, the dependent variable data is determined, and the independent variables of the prediction target data are identified using a feature selection algorithm, and integrated with the dependent variable data to form a prediction data set. According to the characteristics of the prediction data set and the prediction target, a stacked regression model is constructed using a support vector combined with a random forest method, and a grid search method is used to perform preliminary parameter tuning on the sub-models in the stacked regression model to find the best parameter combination; Step S3: Based on the initially optimized stacked regression model, a regularization method is used to prevent overfitting, and the stacked regression model is further optimized in combination with a cross-validation method. The optimized stacked regression model is used to predict scientific research development, and the uncertainty of the prediction is evaluated by calculating the prediction interval; Step S4: Compare the prediction results of the stacked regression model with the real-time prediction target data, evaluate the performance of the optimized stacked regression model, and perform iterative optimization based on the feedback; Step S5: Obtain the regression coefficient of the stacked regression model, summarize the prediction results of the stacked regression model, point out the driving factors of the prediction, and based on the prediction results of the stacked regression model and the driving factor analysis, put forward strategic recommendations. At the same time, establish a long-term monitoring mechanism and regularly update the prediction data of the stacked regression model.

2. A subject prediction method based on regression analysis as claimed in claim 1, characterized in that: The specific steps of step S2 include: S2.1: Based on the preprocessed prediction target data set, an improved recursive feature elimination algorithm is used to identify the independent variables with the strongest correlation with the dependent variable, and the selected features are retained to obtain the prediction data set; S2.2: Select the support vector regression model and the random forest regression model as the base models, use the training set of the prediction data set to train the two base models, and use the prediction results of each base model on the training set as meta-features; S2.3: Integrate the meta-features with the dependent variables in the training set of the prediction data set to form a new training set, and use the new training set to train a logistic regression meta-model, integrate the prediction results of the logistic regression meta-model and the two base models, and obtain the integrated base model; S2.4: Use the grid search method to tune the parameters of the integrated base model to obtain the best parameter combination, and set the best parameter combination as the final parameters of the integrated base model; S2.5: According to the final parameters of the base model, the two base models are used as the first layer and the logistic regression meta-model is used as the second layer to construct a stacked regression model. The stacked regression model is evaluated using the test set of the prediction dataset and the mean square error indicator is calculated.

3. A subject prediction method based on regression analysis as claimed in claim 2, characterized in that: The specific steps of the two base model prediction process in S2.2 include: ; in, represents the prediction result of the support vector regression model, x represents the features identified by the recursive feature elimination algorithm, Denotes each support vector The weight coefficient of represents the i-th kernel function, represents the i-th mapping of the original feature x, represents the i-th support vector, Express The i-th mapping of Each additional feature The weight coefficient of represents the jth additional feature, b represents the bias term, and M represents the number of additional features added. represents the prediction result of the random forest regression model, represents the weight of the nth decision tree, represents the prediction result of the nth decision tree for x, represents adjustable parameters, represents the importance measure of the mth feature in the nth decision tree, N represents the number of decision trees in the random forest, and A represents the number of x identified by the recursive feature elimination algorithm.

4. A subject prediction method based on regression analysis as claimed in claim 3, characterized in that: The specific steps of the logistic regression meta-model prediction process in S2.3 include: ; in, represents the prediction results of the logistic regression meta-model, Represents the feature data of the new training set, d represents The number of represents the intercept term, , represents the rth and the first feature data, Representation characteristics The linear coefficient of Representation characteristics and The coefficient of the interaction term is Representation characteristics The coefficient of the square term of represents the regularization parameter.

5. A subject prediction method based on regression analysis as claimed in claim 4, characterized in that: The integrated base model formula in S2.3 is: ; in, represents the prediction result of the integrated base model, X represents the feature data of the integrated base model, , , They represent the weights of the prediction results of the support vector regression model, random forest regression model, and logistic regression meta-model respectively.

6. A subject prediction method based on regression analysis as claimed in claim 5, characterized in that: The step of calculating the prediction interval in step S3 includes: S3.1: Prediction results based on the stacked regression model ,calculate With the true value The residual , , where Y represents the feature data input to the stacked regression model; S3.2: Set the prediction interval to .

7. A subject prediction method based on regression analysis as claimed in claim 6, characterized in that: The independent variable in step S1 refers to the factors that affect the prediction target, and the dependent variable refers to the measurement index in the field of scientific research.

8. A subject prediction system based on regression analysis, which is used to implement a subject prediction method based on regression analysis as claimed in any one of claims 1 to 7, characterized in that: include: Data processing module, model building module, prediction module, evaluation and optimization module, and result interpretation module; The data processing module is used to collect and preprocess the prediction target data set; The model building module is used to build a stacked regression model based on the preprocessed prediction target data set; The prediction module is used to predict the received new data using the constructed stacked regression model; The evaluation and optimization module is used to evaluate the performance of the stacked regression model and perform iterative optimization based on the evaluation results; The result interpretation module is used to visualize the prediction results and, based on the prediction results, put forward strategic suggestions or action guidelines for the development of the discipline.

9. A subject prediction system based on regression analysis as claimed in claim 8, characterized in that: The model building module includes: a feature selection unit, a data integration unit, a model building unit, a parameter Tuning unit; The feature selection unit is used to identify the independent variable with the strongest correlation with the dependent variable using a feature selection algorithm based on statistical tests and domain knowledge; The data integration unit is used to integrate the independent variables and dependent variable data in the prediction target data set collected from different sources to form a prediction data set; The model building unit is used to build a stacked regression model based on support vector regression and random forest according to the characteristics of the prediction data set and the prediction target; The parameter tuning unit is used to perform preliminary parameter tuning on the sub-models in the stacked regression model using a grid search method to find the best parameter combination and reduce the risk of overfitting.

10. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of a subject prediction method based on regression analysis as described in any one of claims 1-7 are implemented.

Citation Information

Patent Citations

  • Hot subject prediction method and device based on multiple evaluation dimensions, terminal and medium

    CN110705821A

  • Subject prediction algorithm based on regression analysis

    CN111222691A