Medical insurance reimbursement anomaly detection method, device, computer equipment and storage medium

The random forest model trained by the machine learning algorithm is used to detect medical insurance data, which solves the problem of low efficiency of medical insurance reimbursement review, achieves efficient and accurate review results, and reduces the need for manual review.

CN109359669BActive Publication Date: 2024-10-18PING AN TECH (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201811051246.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-09-10
Publication Date
2024-10-18
Estimated Expiration
2038-09-10

AI Technical Summary

Technical Problem

The efficiency of medical insurance reimbursement review in the existing technology is low, mainly due to the limited professional manpower for manual review and the complexity and change of medical information, which leads to unreasonable loss of medical insurance funds.

Method used

The random forest model trained by the machine learning algorithm is used to detect the medical insurance data. By obtaining the medical insurance data to be detected, the medical insurance feature vector is generated and input into the trained random forest model to obtain the detection results and improve the efficiency of medical insurance reimbursement review.

Benefits of technology

By using the trained random forest model to detect medical insurance data, the efficiency of medical insurance reimbursement review is significantly improved, the time and human resource requirements for manual review are reduced, and the accuracy and efficiency of the review are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109359669B_ABST
    Figure CN109359669B_ABST
Patent Text Reader

Abstract

The present application relates to a method, device, computer equipment and storage medium for detecting anomalies in medical insurance reimbursement based on big data analysis. The method comprises: obtaining medical insurance data to be detected, and obtaining a medical insurance feature vector according to the medical insurance data; inputting the medical insurance feature vector into a trained medical insurance random forest model for detection, and obtaining a medical insurance output feature vector, wherein the trained medical insurance random forest model is obtained by training the historical medical insurance data and the corresponding historical test result data using a supervised machine learning algorithm random forest; and obtaining the test result according to the medical insurance output feature vector. The use of this method can improve the efficiency of medical insurance reimbursement review.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, apparatus, computer equipment and storage medium for detecting anomalies in medical insurance reimbursement. Background Art

[0002] In today's social medical system, medical insurance has been widely praised as a medical measure that benefits the country and the people. Among them, medical insurance refers to social medical insurance. Social medical insurance is a social insurance system established by the state and society in accordance with certain laws and regulations to provide basic medical needs protection for workers within the scope of protection when they are sick. However, due to the imperfection of the modern medical system, frauds such as over-medicalization, decentralized hospitalization, and split charges occur from time to time, resulting in unreasonable loss of medical insurance funds. At present, the supervision method is generally to manually review medical insurance reimbursement, but due to limited professional manpower, large number of medical visits, and complex and changeable medical information, manual review of medical insurance reimbursement is inefficient. Summary of the invention

[0003] Based on this, it is necessary to provide a medical insurance reimbursement anomaly detection method, device, computer equipment and storage medium that can improve the efficiency of medical insurance reimbursement review in response to the above technical problems.

[0004] A method for detecting anomalies in medical insurance reimbursement, the method comprising:

[0005] Obtain the medical insurance data to be tested, and obtain the medical insurance feature vector according to the medical insurance data;

[0006] Input the medical insurance feature vector into the trained medical insurance random forest model for testing to obtain the medical insurance output feature vector. The trained medical insurance random forest model is trained using the supervised machine learning algorithm random forest based on historical medical insurance data and corresponding historical test result data;

[0007] The detection result is obtained according to the medical insurance output feature vector.

[0008] In one embodiment, obtaining a medical insurance feature vector from medical insurance data includes:

[0009] Obtain a feature set corresponding to the target feature type based on the medical insurance data;

[0010] A feature selection algorithm is used to perform feature selection according to the feature set corresponding to the target feature type to obtain the medical insurance input features, and a medical insurance feature vector corresponding to the medical insurance input features is obtained from the medical insurance data.

[0011] In one embodiment, a feature selection algorithm is used to perform feature selection according to a feature set corresponding to a target feature type to obtain medical insurance input features, including:

[0012] Generate a feature subset using a heuristic search algorithm based on the feature set corresponding to the target feature type;

[0013] The evaluation function value corresponding to the feature subset is calculated. When the evaluation function value reaches the stopping criterion, the target feature subset is obtained and the target feature subset is used as the medical insurance input feature.

[0014] In one embodiment, the steps of generating a trained medical insurance random forest model include:

[0015] Obtain historical medical insurance data and corresponding historical test result data, obtain historical medical insurance feature vectors based on the historical medical insurance data, and obtain historical medical insurance output vectors based on the corresponding historical test results;

[0016] The historical medical insurance feature vector is used as input, and the corresponding historical medical insurance output vector is used as the label. The random forest algorithm is used for training. When the target conditions are met, the trained medical insurance random forest model is obtained.

[0017] In one embodiment, the historical medical insurance feature vector is used as input, the corresponding historical medical insurance output vector is used as a label, and a random forest algorithm is used for training. When the target condition is met, a trained medical insurance random forest model is obtained, including:

[0018] The initial sample set is obtained based on the historical medical insurance feature vectors and corresponding labels;

[0019] Randomly sample with replacement from the initial sample set to obtain the target training set;

[0020] Obtain the corresponding feature set according to the target training set, randomly extract some features from the feature set to obtain the target feature set, and use the Gini index algorithm to obtain the partitioning features from the target feature set;

[0021] Use the partitioning features to partition the target training set to obtain sub-training sets, and use the sub-training sets as the target training set;

[0022] Return the corresponding feature set according to the target training set, randomly extract some features from the feature set to obtain the target feature set, use the Gini index algorithm to obtain the steps of dividing the features from the target feature set, and when the target condition is met, obtain the target decision tree;

[0023] Return to the step of randomly sampling with replacement from the initial sample set to obtain the target training set. When the target number of target decision trees is reached, the trained medical insurance random forest model is obtained.

[0024] In one embodiment, the method further comprises:

[0025] The medical insurance feature vector is input into the trained medical insurance classification model for testing to obtain the medical insurance output feature vector. The medical insurance classification model is trained using the supervised machine learning algorithm support vector machine based on historical medical insurance data and corresponding historical test result data;

[0026] The detection result is obtained according to the medical insurance output feature vector.

[0027] In one embodiment, the steps of generating a trained medical insurance classification model include:

[0028] Obtain historical medical insurance data and corresponding historical test result data, obtain historical medical insurance feature vectors based on the historical medical insurance data, and obtain historical medical insurance output vectors based on the corresponding historical test results;

[0029] The historical medical insurance feature vector is used as input, and the corresponding historical medical insurance output vector is used as the label. The support vector machine algorithm is used for training. When the target conditions are met, the trained medical insurance classification model is obtained.

[0030] A device for detecting abnormality in medical insurance reimbursement, the device comprising:

[0031] A vector acquisition module is used to acquire the medical insurance data to be tested and obtain the medical insurance feature vector according to the medical insurance data;

[0032] A detection module is used to input the medical insurance feature vector into a trained medical insurance random forest model for detection to obtain a medical insurance output feature vector. The trained medical insurance random forest model is obtained by training the historical medical insurance data and the corresponding historical test result data using a supervised machine learning algorithm random forest;

[0033] The result acquisition module is used to obtain the detection result according to the medical insurance output feature vector.

[0034] A computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0035] Obtain the medical insurance data to be tested, and obtain the medical insurance feature vector according to the medical insurance data;

[0036] Input the medical insurance feature vector into the trained medical insurance random forest model for testing to obtain the medical insurance output feature vector. The trained medical insurance random forest model is trained using the supervised machine learning algorithm random forest based on historical medical insurance data and corresponding historical test result data;

[0037] The detection result is obtained according to the medical insurance output feature vector.

[0038] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0039] Obtain the medical insurance data to be tested, and obtain the medical insurance feature vector according to the medical insurance data;

[0040] Input the medical insurance feature vector into the trained medical insurance random forest model for testing to obtain the medical insurance output feature vector. The trained medical insurance random forest model is trained using the supervised machine learning algorithm random forest based on historical medical insurance data and corresponding historical test result data;

[0041] The detection result is obtained according to the medical insurance output feature vector.

[0042] The above-mentioned medical insurance reimbursement anomaly detection method, device, computer equipment and storage medium obtain the medical insurance data to be detected, obtain the medical insurance feature vector according to the medical insurance data; input the medical insurance feature vector into the trained medical insurance random forest model for detection, and obtain the medical insurance output feature vector. The trained medical insurance random forest model is trained based on historical medical insurance data and corresponding historical detection result data using the supervised machine learning algorithm random forest; and obtain the detection result according to the medical insurance output feature vector. By using the trained medical insurance random forest model to detect medical insurance data, the efficiency of medical insurance reimbursement review can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 This is an application scenario diagram of a medical insurance reimbursement anomaly detection method in an embodiment;

[0044] Figure 2 A schematic diagram of a process of detecting anomalies in medical insurance reimbursement in one embodiment;

[0045] Figure 3 A schematic diagram of a process for obtaining a medical insurance feature vector in one embodiment;

[0046] Figure 4 A schematic diagram of a process for obtaining medical insurance input characteristics in one embodiment;

[0047] Figure 5 A schematic diagram of a process for obtaining a trained medical insurance random forest model in one embodiment;

[0048] Figure 6 A schematic diagram of a process for obtaining a trained medical insurance random forest model in another embodiment;

[0049] Figure 7 A schematic diagram of a process of detecting anomalies in medical insurance reimbursement in another embodiment;

[0050] Figure 8A schematic diagram of a process for obtaining a trained medical insurance classification model in an embodiment;

[0051] Fig. 9 It is a structural block diagram of a device for detecting abnormal medical insurance reimbursement in one embodiment;

[0052] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0054] The medical insurance reimbursement anomaly detection method provided in this application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The server 104 obtains the medical insurance data to be tested sent by the terminal 102, and obtains the medical insurance feature vector according to the medical insurance data; the medical insurance feature vector is input into the trained medical insurance random forest model for detection to obtain the medical insurance output feature vector, and the trained medical insurance random forest model is obtained by training the supervised machine learning algorithm random forest based on the historical medical insurance data and the corresponding historical test result data; the test result is obtained according to the medical insurance output feature vector. Among them, the terminal 102 can be but is not limited to various personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the server 104 can be implemented with an independent server or a server cluster composed of multiple servers.

[0055] In one embodiment, Figure 2 As shown, a medical insurance reimbursement anomaly detection method is provided, and the method is applied to Figure 1 The server in the example is used to illustrate the following steps:

[0056] S202, obtaining medical insurance data to be tested, and obtaining a medical insurance feature vector according to the medical insurance data.

[0057] Among them, medical insurance data refers to the data used to describe the reimbursable data generated by patients receiving treatment in hospitals. Medical insurance data includes insured person information, diagnosis information, drug information, surgery information, fee settlement information, doctor and hospital information, etc. Medical insurance feature vectors are vector data corresponding to medical insurance features. Medical insurance features refer to features obtained through feature selection based on historical medical insurance data.

[0058] Specifically, the server obtains the medical insurance data to be tested sent by the terminal, and the server calculates the medical insurance feature vector corresponding to the medical insurance feature based on the medical insurance data, wherein the medical insurance feature is obtained by feature selection of historical medical insurance data in advance and saved in the server. When the medical insurance data to be tested is obtained, the server obtains the saved medical insurance feature and calculates the medical insurance feature vector corresponding to the medical insurance feature based on the medical insurance data. For example: the medical insurance feature obtained by the server includes the patient information feature. If the patient information in the medical insurance data to be tested includes "male, 18, civil servant", etc., the obtained patient information feature vector is [1,18,1]. If the patient information includes "female, 22, not a civil servant", etc., the obtained patient information feature vector is [0,20,0].

[0059] S204, inputting the medical insurance feature vector into the trained medical insurance random forest model for testing to obtain a medical insurance output feature vector. The trained medical insurance random forest model is trained based on historical medical insurance data and corresponding historical test result data using a supervised machine learning algorithm random forest.

[0060] Among them, the medical insurance random forest model is obtained after the random forest algorithm is trained in advance based on the historical medical insurance data and the corresponding historical test result data. The medical insurance output feature vector refers to the vector data corresponding to the medical insurance output feature. The medical insurance output feature is a feature obtained based on the audit results of the historical medical insurance data. The audit results include normal medical insurance data and abnormal medical insurance data. The obtained medical insurance output features include normal medical insurance data features and abnormal medical insurance data features. Each medical insurance output feature has a corresponding medical insurance output feature vector. For example, the medical insurance output feature vector corresponding to the normal medical insurance data feature is [1], and the medical insurance output feature vector corresponding to the abnormal medical insurance data feature is [0].

[0061] Specifically, the server inputs the obtained medical insurance feature vector into a trained medical insurance random forest model for detection, and obtains the output medical insurance output feature vector of the medical insurance random forest model.

[0062] S206, obtaining a detection result according to the medical insurance output feature vector.

[0063] Specifically, the correspondence between the medical insurance output feature vector and the test result is set in advance when training the model. For example, the medical insurance output feature vector [1] corresponds to normal medical insurance data, and the medical insurance output feature vector [0] corresponds to abnormal medical insurance data. When the medical insurance output feature vector is obtained, the test result is obtained according to the correspondence between the medical insurance output feature vector and the test result. For example, the obtained medical insurance feature vector is input into the trained medical insurance random forest model for detection, and the output of the medical insurance random forest model is [1]. Then the test result corresponding to [1] obtained according to the correspondence is normal medical insurance data.

[0064] In the above-mentioned medical insurance reimbursement anomaly detection method, by obtaining the medical insurance data to be detected, a medical insurance feature vector is obtained according to the medical insurance data; the medical insurance feature vector is input into the trained medical insurance random forest model for detection to obtain a medical insurance output feature vector, and the trained medical insurance random forest model is trained based on historical medical insurance data and corresponding historical detection result data using a supervised machine learning algorithm random forest; the detection result is obtained according to the medical insurance output feature vector. By using the trained medical insurance random forest model to detect medical insurance data, the efficiency of medical insurance reimbursement review can be improved.

[0065] In one embodiment, Figure 3 As shown, step S202, i.e. obtaining a medical insurance feature vector from the medical insurance data, includes the following steps:

[0066] S302, obtaining a feature set corresponding to the target feature type according to the medical insurance data.

[0067] Among them, the target feature type refers to the feature type obtained by feature construction based on historical medical insurance data in advance, including the type of medical treatment behavior, the type of expenditure, the type of medical project, and the type of patient information. Feature construction refers to the process of establishing new features based on the original features of the data. The model trained with new features can obtain better performance. The type of medical treatment behavior is used to reflect the characteristics of the patient's medical treatment behavior, including the number of visits, the frequency of visits, the concentration of medical locations, and the self-consistency of medical treatment behavior. The type of expenditure is used to reflect the patient's expense-related information, including the amount of expenditure, the distribution of detailed items, and the rate. The type of medical project is used to reflect the characteristics of the information related to the three social security catalogues, including surgical information notification, drug information characteristics, and examination item characteristics. The patient information type is used to reflect the characteristics of the patient's socio-demographic information and other non-direct medical information, including age characteristics, gender characteristics, and whether or not a civil servant is a civil servant.

[0068] Specifically, feature construction is performed based on historical medical insurance data to obtain a target feature type, and the target feature type is saved. When medical insurance data to be detected is obtained, the saved target feature type is obtained, and then a feature set corresponding to the target feature type is calculated based on the medical insurance data.

[0069] S304, performing feature selection using a feature selection algorithm according to a feature set corresponding to the target feature type to obtain medical insurance input features, and obtaining a medical insurance feature vector corresponding to the medical insurance input features from the medical insurance data.

[0070] Among them, feature selection is also called feature subset selection, or attribute selection. It refers to selecting N features from the existing M features to optimize the specific indicators of the system. It is the process of selecting some of the most effective features from the original features to reduce the dimension of the data set. It is an important means to improve the performance of the learning algorithm and a key data preprocessing step in pattern recognition. For a learning algorithm, good learning samples are the key to training the model. The feature selection process generally includes the generation process, evaluation function, stopping criterion, and verification process. The general process of the feature selection algorithm includes four processes: feature subset generation process, evaluation function, stopping criterion, and verification process.

[0071] Specifically, a feature subset is randomly selected from the feature set corresponding to the target feature type, and a feature subset is provided for the evaluation function. The selected feature subset is evaluated using the evaluation function. When the evaluation function value reaches a certain threshold, the medical insurance input feature is obtained. Then, the medical insurance feature vector corresponding to the medical insurance input feature is obtained from the medical insurance data. For example, the obtained medical insurance input features are the number of visits, the concentration of the medical treatment location, and the gender feature. In the medical insurance data to be tested, the number of visits is 4, the concentration of the medical treatment location is 80%, the city of Shenzhen, and the gender is male, then the obtained medical insurance feature vector is [4, 0.8, 1].

[0072] In the above embodiment, a feature set corresponding to the target feature type is obtained according to the medical insurance data, and a feature selection algorithm is used to perform feature selection according to the feature set corresponding to the target feature type to obtain medical insurance input features, and a medical insurance feature vector corresponding to the medical insurance input features is obtained from the medical insurance data. By obtaining medical insurance input features through feature construction and feature selection, and obtaining the medical insurance feature vector corresponding to the medical insurance input features from the medical insurance data as the input of the model, the performance of the medical insurance random forest model can be improved, and the efficiency of medical insurance reimbursement review can be further improved.

[0073] In one embodiment, Figure 4 As shown, step S304, i.e., using a feature selection algorithm to perform feature selection according to a feature set corresponding to the target feature type to obtain a medical insurance input feature, includes the following steps:

[0074] S402: Generate a feature subset using a heuristic search algorithm according to a feature set corresponding to the target feature type.

[0075] S404, calculating the evaluation function value corresponding to the feature subset, when the evaluation function value reaches the stopping criterion, obtaining the target feature subset, and using the target feature subset as the medical insurance input feature.

[0076] Among them, the heuristic search algorithm assumes that the original feature set is F and the selected feature subset is f. The sequential forward search strategy first initializes the feature subset f to an empty set, and selects the feature x that makes the evaluation function J(f+x) optimal from Ff (the remaining feature set) at each step until the evaluation function J cannot be improved, and it is considered that the optimal feature subset is obtained. The evaluation function is used to evaluate the quality of a feature subset. The evaluation function can be divided into filters and wrappers, including correlation functions, distance functions, and information gain functions.

[0077] Specifically, the target feature subset is initialized to be empty, and any one feature is selected from the feature set corresponding to the preset feature type and added to the feature subset to obtain the first feature subset. The first feature subset is calculated using the correlation function as the evaluation function to obtain the first evaluation result value, and then any one feature is selected from the remaining features in the feature set and added to the first feature subset to obtain the second feature subset, and the second evaluation result value is calculated using the correlation function as the evaluation function to obtain the second evaluation result value, and the first evaluation result value and the second evaluation result value are compared. If the first evaluation result value is greater than the second evaluation result value, the first feature subset is used as the target feature subset, and if the first evaluation result value is less than the second evaluation result value, the second feature subset is used as the target feature subset. According to the above method, each feature in the feature set corresponding to the preset feature type is screened, and when the evaluation result value is less than the preset threshold, the target feature subset is obtained, and all the features in the target feature subset are used as medical insurance input features.

[0078] In the above embodiment, a feature subset is generated by using a heuristic search algorithm according to a feature set corresponding to a target feature type. The evaluation function value corresponding to the feature subset is calculated. When the evaluation function value reaches the stopping criterion, the target feature subset is obtained. The target feature subset is used as the medical insurance input feature, which can remove irrelevant features and redundant features in the feature set of the target feature type, improve the performance of the medical insurance random forest model, and further improve the efficiency of medical insurance reimbursement review.

[0079] In one embodiment, a target feature subset can be obtained by feature selection through a recursive feature elimination algorithm, which refers to a sequential backward selection algorithm based on the maximum margin principle of a support vector machine. It trains samples through a model, then sorts the scores of each feature, removes the feature with the smallest feature score, and then trains the model again with the remaining features, performs the next iteration, and finally selects the required number of features.

[0080] Specifically, historical medical insurance data and corresponding test result data are obtained to obtain a medical insurance training data set, and the feature set corresponding to the medical insurance training data set is initialized. The medical insurance training data set is input into the support vector machine to train the classifier, and then the feature score is calculated using the sorting criteria, and the feature set is sorted according to the score to obtain the feature with the smallest score, and the feature is removed from the feature set. The classifier is trained again using the sample data corresponding to the new feature set, and the next iteration is performed. When a preset number of features remain in the feature set, the obtained feature set is used as the target feature subset, and all the features in the target feature subset are used as medical insurance input features. The target feature subset is obtained by using a recursive feature elimination algorithm for feature selection, which can remove irrelevant and redundant features in the feature set of the target feature type, improve the performance of the medical insurance random forest model, and further improve the efficiency of medical insurance reimbursement review.

[0081] In one embodiment, Figure 5 As shown in the figure, the steps for generating the trained medical insurance random forest model include:

[0082] S502, obtaining historical medical insurance data and corresponding historical test result data, obtaining a historical medical insurance feature vector according to the historical medical insurance data, and obtaining a historical medical insurance output vector according to the corresponding historical test result.

[0083] Specifically, the server obtains historical medical insurance data and corresponding historical test result data, that is, historical normal medical insurance data and historical abnormal medical insurance data, obtains historical medical insurance features based on the historical medical insurance data, and obtains historical medical insurance feature vectors corresponding to the historical medical insurance features based on the historical medical insurance data, and then obtains historical medical insurance output vectors based on the corresponding historical test results, that is, obtains historical normal medical insurance output vectors corresponding to normal medical insurance data and abnormal medical insurance output vectors corresponding to abnormal medical insurance data.

[0084] S504, taking the historical medical insurance feature vector as input, taking the corresponding historical medical insurance output vector as a label, and using the random forest algorithm for training, when the target conditions are met, a trained medical insurance random forest model is obtained.

[0085] Among them, random forest refers to a classifier that uses multiple trees to train and predict samples. Random forest is a classifier that contains multiple decision trees, and its output category is determined by the majority of the categories output by individual trees. The target condition refers to the number of decision trees in the random forest that are set in advance.

[0086] Specifically, the server uses the obtained historical medical insurance feature vector as input, uses the corresponding historical medical insurance output vector as a label, and uses the random forest algorithm to train the target number of decision trees to obtain a random forest, that is, a trained medical insurance random forest model.

[0087] In one embodiment, new historical medical insurance data and corresponding historical test result data are obtained to obtain a test medical insurance data set, and the test medical insurance data set is used to test the trained medical insurance random forest model. Specifically, the new historical medical insurance data is used to obtain the corresponding medical insurance feature vector, and the medical insurance feature vector is input into the trained medical insurance random forest model for testing to obtain the corresponding test result, and the test result is compared with the corresponding historical test result to obtain the test accuracy. When the test accuracy reaches the preset accuracy, it means that the trained medical insurance random forest model is a model that meets the requirements. When the test accuracy does not reach the preset accuracy, the new historical medical insurance data and the medical insurance data used in training are merged again to obtain new training medical insurance data, and the new training medical insurance data is used to retrain the medical insurance random forest model. Using the trained medical insurance random forest model that has passed the test can ensure the accuracy of the medical insurance random forest model in reviewing the medical insurance data.

[0088] In one embodiment, historical medical insurance data and corresponding historical test result data are obtained to obtain medical insurance sample data, which are divided into training medical insurance sample data and testing medical insurance sample data using the holdout method, and the training medical insurance data are used to train the medical insurance random forest model, and the test sample data are used to test the trained medical insurance random forest model. The holdout method refers to dividing the data set D into two mutually exclusive sets S and T, so that the divided data sets satisfy S∪T=D and S∩T=Φ. This eliminates the need to re-collect new historical medical insurance data, facilitates quick testing, and ensures the accuracy of the random forest model review of medical insurance data.

[0089] Through the above embodiment, historical medical insurance data and corresponding historical test result data are obtained, a historical medical insurance feature vector is obtained according to the historical medical insurance data, a historical medical insurance output vector is obtained according to the corresponding historical test result, the historical medical insurance feature vector is used as input, and the corresponding historical medical insurance output vector is used as a label, and a random forest algorithm is used for training. When the target conditions are met, a trained medical insurance random forest model is obtained. By pre-training the medical insurance random forest model, it can be directly used when conducting medical insurance data review, thereby improving the efficiency of medical insurance data review.

[0090] In one embodiment, Figure 6 As shown, step S504, that is, taking the historical medical insurance feature vector as input and the corresponding historical medical insurance output vector as a label, using the random forest algorithm for training, when the target condition is met, a trained medical insurance random forest model is obtained, including the steps of:

[0091] S602, obtaining an initial sample set according to the historical medical insurance feature vectors and corresponding labels.

[0092] S604, randomly sample with replacement from the initial sample set to obtain a target training set.

[0093] Among them, the target training set refers to a set of samples with the same number of samples randomly selected with replacement from the sample set obtained according to the historical medical insurance feature vectors and corresponding labels.

[0094] Specifically, each historical medical insurance feature vector and the corresponding label are used to obtain a new sample vector to obtain an initial sample set, and random sampling with replacement is performed from the initial sample set to obtain a target training set. For example, if the historical medical insurance feature vector is [1, 0.8, 1], the corresponding label is [1], and the sample vector obtained is [1, 0.8, 1, 1]. Another historical medical insurance feature vector is [10, 0.7, 1], the corresponding label is [0], and the sample vector obtained is [10, 0.7, 1, 0]. The initial sample set is {[1, 0.8, 1, 1], [10, 0.7, 1, 0]}. Random sampling with replacement is performed from the initial sample set, and the target training set can be {[10, 0.7, 1, 0], [10, 0.7, 1, 0]}.

[0095] S606, obtaining a corresponding feature set according to the target training set, randomly extracting some features from the feature set to obtain a target feature set, and obtaining partitioning features from the target feature set using a Gini index algorithm.

[0096] Specifically, the corresponding medical insurance features are obtained according to the medical insurance data in the target training set to obtain a feature set, some features are randomly extracted from the feature set as the target feature set, and the optimal features are selected from the target feature set using the Gini index to obtain the partitioning features, wherein the partitioning features can also be obtained using the information gain or information gain ratio.

[0097] S608, using the partitioning feature to partition the target training set to obtain sub-training sets, and using the sub-training sets as the target training set.

[0098] Specifically, the target training set is used as the current node. If the current node is the first node, it is the root node. The threshold corresponding to the partition feature is obtained, and partitioning is performed according to the threshold. Samples with partition features greater than the threshold are partitioned into left nodes to obtain a left node training set, and samples with partition features less than the threshold are partitioned into right nodes to obtain a right node training set. The left and right child node training sets are respectively used as the target training sets.

[0099] S610, determining whether the target condition is met.

[0100] Among them, the target condition means that the labels corresponding to the historical medical insurance feature vectors in the target training set are the same.

[0101] Specifically, it is determined whether the labels corresponding to the historical medical insurance feature vectors in the target training set are the same, that is, whether the labels in the left node training set and the right node training set are all labels corresponding to normal medical insurance data or labels corresponding to abnormal medical insurance data.

[0102] If yes, execute step S612, if no, execute step S606. Among them, if yes means when the labels of the left node training set are all labels corresponding to normal medical insurance data or labels corresponding to abnormal medical insurance data and the labels in the right node training set are all labels corresponding to normal medical insurance data or labels corresponding to abnormal medical insurance data, then the answer is yes. If no means when the labels in any of the left node training set or the right node training set are not all labels corresponding to normal medical insurance data or labels corresponding to abnormal medical insurance data, then the answer is no. At this time, the training set with labels that do not fully correspond to normal medical insurance data or labels that correspond to abnormal medical insurance data is used as the target training set, and step S606 is executed.

[0103] In one embodiment, if not all labels in the left node training set are labels corresponding to normal medical insurance data or labels corresponding to abnormal medical insurance data, the left node training set is used as the target training set to execute step S606.

[0104] In one embodiment, if not all labels in the right node training set are labels corresponding to normal medical insurance data or labels corresponding to abnormal medical insurance data, the right node training set is used as the target training set to execute step S606.

[0105] In one embodiment, if the labels in the left node training set and the right node training set are not all labels corresponding to normal medical insurance data or labels corresponding to abnormal medical insurance data, the left node training set and the right node training set are respectively used as target training sets to execute step S606.

[0106] S612, obtaining a target decision tree.

[0107] Specifically, when all labels in the target training set are labels corresponding to normal medical insurance data or labels corresponding to abnormal medical insurance data, a target decision tree is obtained. At this time, step S614 is executed.

[0108] S614, determining whether the target number of target decision trees has been reached.

[0109] Specifically, the target number refers to the number of target decision trees to be generated that is preset. When the target decision tree is generated, it is determined whether the number of generated target decision trees has reached the target number. If so, step S616 is executed; if not, step S604 is executed.

[0110] S616, obtain the trained medical insurance random forest model.

[0111] Specifically, when the target number of target decision trees is reached, a random forest is obtained, and the random forest is used as a trained medical insurance random forest model.

[0112] In the above embodiment, an initial sample set is obtained according to the historical medical insurance feature vector and the corresponding label; a target training set is obtained by randomly sampling with replacement from the initial sample set; a corresponding feature set is obtained according to the target training set, some features are randomly extracted from the feature set to obtain the target feature set, and the partitioning features are obtained from the target feature set using the Gini index algorithm; the target training set is divided using the partitioning features to obtain a sub-training set, and the sub-training set is used as the target training set; the step of obtaining the corresponding feature set according to the target training set, randomly extracting some features from the feature set to obtain the target feature set, and using the Gini index algorithm to obtain the partitioning features from the target feature set is returned, and when the target condition is reached, the target decision tree is obtained; the step of randomly sampling with replacement from the initial sample set to obtain the target training set is returned, and when the target number of target decision trees is reached, the trained medical insurance random forest model is obtained. Through the above method, each decision tree established can be different from each other, which improves the diversity of the random forest, thereby improving the performance of the medical insurance random forest model.

[0113] In one embodiment, Figure 7 As shown, the method further comprises the steps of:

[0114] S702, input the medical insurance feature vector into the trained medical insurance classification model for detection to obtain a medical insurance output feature vector. The medical insurance classification model is trained based on historical medical insurance data and corresponding historical test result data using a supervised machine learning algorithm support vector machine.

[0115] Among them, the medical insurance classification model refers to the classification model established using the support vector machine machine learning algorithm. The support vector machine is a supervised machine learning algorithm based on statistical theory and a two-class classification model. Its basic model is defined as the linear classifier with the largest interval in the feature space. Using the linear function g(x)=w T x+b and f(x)=sgn(g(x)) serve as classifiers.

[0116] Specifically, the medical insurance feature vector obtained from the medical insurance data to be tested is input into a trained medical insurance classification model obtained by training historical medical insurance data and corresponding historical test result data for testing, and the medical insurance classification model outputs a medical insurance output feature vector.

[0117] S704, obtaining a detection result according to the medical insurance output feature vector.

[0118] Specifically, the correspondence between the medical insurance output feature vector and the test result is set in advance when training the model. For example, the medical insurance output feature vector [1] corresponds to normal medical insurance data, and the medical insurance output feature vector [-1] corresponds to abnormal medical insurance data. When the medical insurance output feature vector is obtained, the test result is obtained according to the correspondence between the medical insurance output feature vector and the test result. For example, the obtained medical insurance feature vector is input into the trained medical insurance random forest model for detection, and the output of the medical insurance random forest model is [1]. Then the test result obtained according to the correspondence is normal medical insurance data.

[0119] In one embodiment, Figure 8 As shown, the steps for generating the trained medical insurance classification model include the following steps:

[0120] S802, obtaining historical medical insurance data and corresponding historical test result data, obtaining a historical medical insurance feature vector according to the historical medical insurance data, and obtaining a historical medical insurance output vector according to the corresponding historical test result.

[0121] Specifically, the server obtains historical medical insurance data and corresponding historical test result data, that is, obtains historical normal medical insurance data and historical abnormal medical insurance data, obtains historical medical insurance features based on the historical medical insurance data, and obtains historical medical insurance feature vectors corresponding to the historical medical insurance features based on the historical medical insurance data, and then sets the corresponding relationship between the historical test results and the historical medical insurance output vectors, and obtains the historical medical insurance output vectors according to the corresponding historical test results based on the corresponding relationship.

[0122] S804, taking the historical medical insurance feature vector as input, taking the corresponding historical medical insurance output vector as a label, and using the support vector machine algorithm for training, when the target conditions are met, a trained medical insurance classification model is obtained.

[0123] Specifically, the historical medical insurance feature vector is used as input, and the corresponding historical medical insurance output vector is used as a label input to g(x)=w T x+b and f(x)=sgn(g(x)) are trained to obtain the parameters of the medical insurance classification model. When the maximum number of iterations is reached or the preset error is reached, the calculation is stopped to obtain the trained medical insurance classification model.

[0124] In one embodiment, the trained medical insurance classification model can be tested using test medical insurance data, and when the test reaches a preset accuracy rate, the corresponding medical insurance classification model is used as the final medical insurance classification model.

[0125] It should be understood that although Figure 2-8The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-8 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0126] In one embodiment, Fig. 9 As shown, a medical insurance reimbursement anomaly detection device 900 is provided, including: a vector obtaining module 902, a detection module 904 and a result obtaining module 906, wherein:

[0127] The vector obtaining module 902 is used to obtain the medical insurance data to be detected and obtain the medical insurance feature vector according to the medical insurance data;

[0128] A detection module 904 is used to input the medical insurance feature vector into a trained medical insurance random forest model for detection to obtain a medical insurance output feature vector, where the trained medical insurance random forest model is trained using a supervised machine learning algorithm random forest based on historical medical insurance data and corresponding historical test result data;

[0129] The result obtaining module 906 is used to obtain the detection result according to the medical insurance output feature vector.

[0130] In one embodiment, the vector obtaining module 902 includes:

[0131] A feature set acquisition module is used to obtain a feature set corresponding to a target feature type based on medical insurance data;

[0132] The feature selection module is used to perform feature selection using a feature selection algorithm according to a feature set corresponding to a target feature type, obtain medical insurance input features, and obtain a medical insurance feature vector corresponding to the medical insurance input features from medical insurance data.

[0133] In one embodiment, the feature selection module includes:

[0134] A feature subset generation module is used to generate a feature subset using a heuristic search algorithm according to a feature set corresponding to a target feature type;

[0135] The target feature subset acquisition module is used to calculate the evaluation function value corresponding to the feature subset. When the evaluation function value reaches the stopping criterion, the target feature subset is obtained and the target feature subset is used as the medical insurance input feature.

[0136] In one embodiment, the medical insurance reimbursement anomaly detection device 900 further includes:

[0137] A historical vector acquisition module is used to acquire historical medical insurance data and corresponding historical test result data, obtain historical medical insurance feature vectors according to the historical medical insurance data, and obtain historical medical insurance output vectors according to the corresponding historical test results;

[0138] The random forest training module is used to take the historical medical insurance feature vector as input, the corresponding historical medical insurance output vector as a label, and use the random forest algorithm for training. When the target conditions are met, a trained medical insurance random forest model is obtained.

[0139] In one embodiment, the random forest training module includes:

[0140] An initial sample set acquisition module is used to acquire an initial sample set based on historical medical insurance feature vectors and corresponding labels;

[0141] The target training set acquisition module is used to randomly sample with replacement from the initial sample set to obtain the target training set;

[0142] The partition feature acquisition module is used to obtain the corresponding feature set according to the target training set, randomly extract some features from the feature set to obtain the target feature set, and use the Gini index algorithm to obtain the partition feature from the target feature set;

[0143] A partitioning module is used to partition the target training set using the partitioning features to obtain sub-training sets, and use the sub-training sets as the target training set;

[0144] The target decision tree acquisition module is used to return the corresponding feature set according to the target training set, randomly extract some features from the feature set to obtain the target feature set, and use the Gini index algorithm to obtain the steps of dividing the features from the target feature set. When the target condition is met, the target decision tree is obtained;

[0145] The random forest model acquisition module is used to return the steps of randomly sampling with replacement from the initial sample set to obtain the target training set. When the target number of target decision trees is reached, the trained medical insurance random forest model is obtained.

[0146] In one embodiment, the medical insurance reimbursement anomaly detection device 900 further includes:

[0147] The classification detection module is used to input the medical insurance feature vector into the trained medical insurance classification model for detection to obtain the medical insurance output feature vector. The medical insurance classification model is trained based on the historical medical insurance data and the corresponding historical test result data using the supervised machine learning algorithm support vector machine;

[0148] The test result acquisition module is used to obtain the test result based on the medical insurance output feature vector.

[0149] In one embodiment, the medical insurance reimbursement anomaly detection device 900 further includes:

[0150] A medical insurance feature vector obtaining module is used to obtain historical medical insurance data and corresponding historical test result data, obtain historical medical insurance feature vectors according to the historical medical insurance data, and obtain historical medical insurance output vectors according to the corresponding historical test results;

[0151] The medical insurance classification model training module is used to take the historical medical insurance feature vector as input, the corresponding historical medical insurance output vector as a label, and use the support vector machine algorithm for training. When the target conditions are met, a trained medical insurance classification model is obtained.

[0152] For the specific definition of the medical insurance reimbursement anomaly detection device, please refer to the definition of the medical insurance reimbursement anomaly detection method above, which will not be repeated here. Each module in the above-mentioned medical insurance reimbursement anomaly detection device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0153] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.10 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store medical insurance data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a medical insurance reimbursement anomaly detection method is implemented.

[0154] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0155] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the following steps when executing the computer program: obtaining medical insurance data to be tested, and obtaining a medical insurance feature vector based on the medical insurance data; inputting the medical insurance feature vector into a trained medical insurance random forest model for testing to obtain a medical insurance output feature vector, wherein the trained medical insurance random forest model is trained based on historical medical insurance data and corresponding historical test result data using a supervised machine learning algorithm random forest; and obtaining a test result based on the medical insurance output feature vector.

[0156] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining a feature set corresponding to the target feature type based on the medical insurance data; performing feature selection using a feature selection algorithm based on the feature set corresponding to the target feature type to obtain medical insurance input features, and obtaining a medical insurance feature vector corresponding to the medical insurance input features from the medical insurance data.

[0157] In one embodiment, when the processor executes the computer program, the following steps are also implemented: generating a feature subset using a heuristic search algorithm based on a feature set corresponding to the target feature type; calculating an evaluation function value corresponding to the feature subset, and when the evaluation function value reaches a stopping criterion, obtaining the target feature subset, and using the target feature subset as a medical insurance input feature.

[0158] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining historical medical insurance data and corresponding historical test result data, obtaining a historical medical insurance feature vector based on the historical medical insurance data, and obtaining a historical medical insurance output vector based on the corresponding historical test results; using the historical medical insurance feature vector as input and the corresponding historical medical insurance output vector as a label, using a random forest algorithm for training, and when the target conditions are met, obtaining a trained medical insurance random forest model.

[0159] In one embodiment, the processor also implements the following steps when executing the computer program: obtaining an initial sample set based on historical medical insurance feature vectors and corresponding labels; randomly sampling with replacement from the initial sample set to obtain a target training set; obtaining a corresponding feature set based on the target training set, randomly extracting some features from the feature set to obtain a target feature set, and using the Gini index algorithm to obtain partition features from the target feature set; using the partition features to partition the target training set to obtain sub-training sets, and using the sub-training sets as the target training set; returning to the step of obtaining the corresponding feature set based on the target training set, randomly extracting some features from the feature set to obtain a target feature set, and using the Gini index algorithm to obtain partition features from the target feature set, and when the target condition is met, obtaining a target decision tree; returning to the step of randomly sampling with replacement from the initial sample set to obtain a target training set, and when the target number of target decision trees is reached, a trained medical insurance random forest model is obtained.

[0160] In one embodiment, when the processor executes the computer program, the following steps are also implemented: the medical insurance feature vector is input into a trained medical insurance classification model for detection to obtain a medical insurance output feature vector, the medical insurance classification model is trained based on historical medical insurance data and corresponding historical test result data using a supervised machine learning algorithm support vector machine; the test result is obtained based on the medical insurance output feature vector.

[0161] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining historical medical insurance data and corresponding historical test result data, obtaining a historical medical insurance feature vector based on the historical medical insurance data, and obtaining a historical medical insurance output vector based on the corresponding historical test results; using the historical medical insurance feature vector as input and the corresponding historical medical insurance output vector as a label, and using a support vector machine algorithm for training, and when the target conditions are met, a trained medical insurance classification model is obtained.

[0162] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: obtaining medical insurance data to be tested, and obtaining a medical insurance feature vector based on the medical insurance data; inputting the medical insurance feature vector into a trained medical insurance random forest model for testing to obtain a medical insurance output feature vector, wherein the trained medical insurance random forest model is trained based on historical medical insurance data and corresponding historical test result data using a supervised machine learning algorithm random forest; and obtaining a test result based on the medical insurance output feature vector.

[0163] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining a feature set corresponding to the target feature type based on the medical insurance data; performing feature selection using a feature selection algorithm based on the feature set corresponding to the target feature type to obtain medical insurance input features, and obtaining a medical insurance feature vector corresponding to the medical insurance input features from the medical insurance data.

[0164] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: generating a feature subset using a heuristic search algorithm based on the feature set corresponding to the target feature type; calculating the evaluation function value corresponding to the feature subset, and when the evaluation function value reaches the stopping criterion, obtaining the target feature subset, and using the target feature subset as the medical insurance input feature.

[0165] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining historical medical insurance data and corresponding historical test result data, obtaining a historical medical insurance feature vector based on the historical medical insurance data, and obtaining a historical medical insurance output vector based on the corresponding historical test results; using the historical medical insurance feature vector as input and the corresponding historical medical insurance output vector as a label, using a random forest algorithm for training, and when the target conditions are met, obtaining a trained medical insurance random forest model.

[0166] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining an initial sample set based on historical medical insurance feature vectors and corresponding labels; randomly sampling with replacement from the initial sample set to obtain a target training set; obtaining a corresponding feature set based on the target training set, randomly extracting some features from the feature set to obtain a target feature set, and using the Gini index algorithm to obtain partition features from the target feature set; using the partition features to partition the target training set to obtain sub-training sets, and using the sub-training sets as the target training set; returning to the step of obtaining the corresponding feature set based on the target training set, randomly extracting some features from the feature set to obtain a target feature set, and using the Gini index algorithm to obtain partition features from the target feature set, and when the target condition is met, a target decision tree is obtained; returning to the step of randomly sampling with replacement from the initial sample set to obtain a target training set, and when the target number of target decision trees is reached, a trained medical insurance random forest model is obtained.

[0167] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: the medical insurance feature vector is input into a trained medical insurance classification model for detection to obtain a medical insurance output feature vector, the medical insurance classification model is trained based on historical medical insurance data and corresponding historical test result data using a supervised machine learning algorithm support vector machine; the test result is obtained based on the medical insurance output feature vector.

[0168] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining historical medical insurance data and corresponding historical test result data, obtaining a historical medical insurance feature vector based on the historical medical insurance data, and obtaining a historical medical insurance output vector based on the corresponding historical test results; using the historical medical insurance feature vector as input and the corresponding historical medical insurance output vector as a label, using a support vector machine algorithm for training, and when the target conditions are met, obtaining a trained medical insurance classification model.

[0169] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0170] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0171] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for detecting anomalies in medical insurance reimbursement, the method comprising: Obtaining medical insurance data to be detected, and obtaining a medical insurance feature vector according to the medical insurance data, including: obtaining historical medical insurance data and corresponding historical test result data to obtain a medical insurance training data set, initializing a feature set corresponding to the medical insurance training data set, inputting the medical insurance training data set into a support vector machine to train a classifier, using a sorting criterion to calculate feature scores, sorting the feature set according to the scores to obtain a feature with the smallest score, removing the feature with the smallest score from the feature set to obtain a new feature set, using sample data corresponding to the new feature set to train the classifier again, and performing the next iteration, when a preset number of features remain in the feature set, using the obtained feature set as a target feature subset, using all features in the target feature subset as medical insurance input features, and obtaining a medical insurance feature vector corresponding to the medical insurance input feature from the medical insurance data; Inputting the medical insurance feature vector into a trained medical insurance random forest model for testing to obtain a medical insurance output feature vector, wherein the trained medical insurance random forest model is obtained by training the historical medical insurance data and the corresponding historical test result data using a supervised machine learning algorithm random forest, including: acquiring the historical medical insurance data and the corresponding historical test result data to obtain medical insurance sample data, dividing the medical insurance sample data into mutually exclusive training medical insurance sample data and testing medical insurance sample data using a holdout method, training the medical insurance random forest model using the training medical insurance sample data, and testing the trained medical insurance random forest model using the testing medical insurance sample data; Obtaining a detection result according to the medical insurance output feature vector; The steps of generating the trained medical insurance random forest model include: Obtain historical medical insurance data and corresponding historical test result data, obtain historical medical insurance feature vectors according to the historical medical insurance data, and obtain historical medical insurance output vectors according to the corresponding historical test results; obtain an initial sample set according to the historical medical insurance feature vectors and corresponding labels; randomly sample with replacement from the initial sample set to obtain a target training set; obtain a corresponding feature set according to the target training set, randomly extract some features from the feature set to obtain a target feature set, and use the Gini index algorithm to obtain partition features from the target feature set; use the partition features to partition the target training set to obtain sub-training sets, and use the sub-training sets as the target training set; return to the step of obtaining the corresponding feature set according to the target training set, randomly extracting some features from the feature set to obtain a target feature set, and using the Gini index algorithm to obtain partition features from the target feature set, and when the target condition is met, obtain a target decision tree; return to the step of randomly sampling with replacement from the initial sample set to obtain a target training set, and when the target number of target decision trees is reached, obtain the trained medical insurance random forest model.

2. The method according to claim 1, characterized in that The obtaining of the medical insurance feature vector according to the medical insurance data comprises: Obtaining a feature set corresponding to a target feature type according to the medical insurance data; A feature selection algorithm is used to perform feature selection according to a feature set corresponding to the target feature type to obtain a medical insurance input feature, and a medical insurance feature vector corresponding to the medical insurance input feature is obtained from the medical insurance data.

3. The method according to claim 2, characterized in that The step of performing feature selection using a feature selection algorithm according to the feature set corresponding to the target feature type to obtain the medical insurance input feature includes: Generate a feature subset using a heuristic search algorithm according to the feature set corresponding to the target feature type; The evaluation function value corresponding to the feature subset is calculated, and when the evaluation function value reaches the stopping criterion, the target feature subset is obtained, and the target feature subset is used as the medical insurance input feature.

4. The method according to claim 1, characterized in that: The method further comprises: Inputting the medical insurance feature vector into a trained medical insurance classification model for detection to obtain a medical insurance output feature vector, wherein the trained medical insurance classification model is trained using a supervised machine learning algorithm support vector machine based on historical medical insurance data and corresponding historical test result data; A detection result is obtained according to the medical insurance output feature vector.

5. The method according to claim 1, characterized in that The steps of generating the trained medical insurance classification model include: Obtain historical medical insurance data and corresponding historical test result data, obtain a historical medical insurance feature vector based on the historical medical insurance data, and obtain a historical medical insurance output vector based on the corresponding historical test result; The historical medical insurance feature vector is used as input, the corresponding historical medical insurance output vector is used as a label, and training is performed using a support vector machine algorithm. When the target condition is met, the trained medical insurance classification model is obtained.

6. A medical insurance reimbursement anomaly detection device, characterized in that: The device comprises: A vector obtaining module is used to obtain the medical insurance data to be detected, and obtain a medical insurance feature vector according to the medical insurance data, including: obtaining historical medical insurance data and corresponding historical test result data to obtain a medical insurance training data set, initializing a feature set corresponding to the medical insurance training data set, inputting the medical insurance training data set into a support vector machine to train a classifier, using a sorting criterion to calculate feature scores, sorting the feature set according to the scores, obtaining the feature with the smallest score, removing the feature with the smallest score from the feature set, obtaining a new feature set, using the sample data corresponding to the new feature set to train the classifier again, and performing the next iteration, when a preset number of features remain in the feature set, using the obtained feature set as a target feature subset, using all the features in the target feature subset as medical insurance input features, and obtaining a medical insurance feature vector corresponding to the medical insurance input feature from the medical insurance data; A detection module, used for inputting the medical insurance feature vector into a trained medical insurance random forest model for detection to obtain a medical insurance output feature vector, wherein the trained medical insurance random forest model is obtained by training the historical medical insurance data and the corresponding historical test result data using a supervised machine learning algorithm random forest, including: acquiring the historical medical insurance data and the corresponding historical test result data to obtain medical insurance sample data, dividing the medical insurance sample data into mutually exclusive training medical insurance sample data and testing medical insurance sample data using a holdout method, training the medical insurance random forest model using the training medical insurance sample data, and testing the trained medical insurance random forest model using the testing medical insurance sample data; A result obtaining module, used for obtaining a detection result according to the medical insurance output feature vector; The device further comprises: A historical vector acquisition module is used to acquire historical medical insurance data and corresponding historical test result data, obtain historical medical insurance feature vectors according to the historical medical insurance data, and obtain historical medical insurance output vectors according to the corresponding historical test results; a random forest training module is used to obtain an initial sample set according to the historical medical insurance feature vectors and corresponding labels; randomly sample with replacement from the initial sample set to obtain a target training set; obtain a corresponding feature set according to the target training set, randomly extract some features from the feature set to obtain a target feature set, and use the Gini index algorithm to obtain partition features from the target feature set; use the partition features to partition the target training set to obtain sub-training sets, and use the sub-training sets as the target training set; return to the step of obtaining the corresponding feature set according to the target training set, randomly extracting some features from the feature set to obtain a target feature set, and using the Gini index algorithm to obtain partition features from the target feature set, and when the target condition is met, obtain a target decision tree; return to the step of randomly sampling with replacement from the initial sample set to obtain a target training set, and when the target number of target decision trees is reached, obtain the trained medical insurance random forest model.

7. The device according to claim 6, characterized in that The vector obtaining module comprises: A feature set obtaining module, used to obtain a feature set corresponding to a target feature type according to the medical insurance data; A feature selection module is used to perform feature selection using a feature selection algorithm according to a feature set corresponding to the target feature type to obtain a medical insurance input feature, and obtain a medical insurance feature vector corresponding to the medical insurance input feature from the medical insurance data.

8. The device according to claim 7, characterized in that The feature selection module comprises: A feature subset generation module, used to generate a feature subset using a heuristic search algorithm according to the feature set corresponding to the target feature type; The target feature subset obtaining module is used to calculate the evaluation function value corresponding to the feature subset. When the evaluation function value reaches the stopping criterion, the target feature subset is obtained and the target feature subset is used as the medical insurance input feature.

9. A computer 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 the method according to any one of claims 1 to 5 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Method and system for predicting cardiovascular and cerebrovascular disease risk

    CN106874663A