Electronic information management method and platform
By splitting, filtering and upgrading the credit card usage record data, the target framework data for the credit card behavior recognition model is generated, which solves the problem of noise data affecting the recognition effect and improves the recognition accuracy of credit card usage behavior.
Patent Information
- Application Number
- CN202410965149.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-07-18
AI Technical Summary
In the existing technology, in the training of the credit card behavior recognition model, when the original recorded data is directly used, it is easily affected by the noise data, resulting in poor recognition results.
By obtaining the original framework data, splitting it into different data sets according to the characteristic behavior identification field, and performing data filtering and upgrading processing according to the data volume ratio, the target framework data is generated for model training, including data filtering, clustering and data Extension and other steps to improve the recognition accuracy of the model.
Through this method, the generated target frame data can improve the accuracy of the credit card usage behavior recognition model, reduce the model's bias to most types of samples, and enhance the recognition effect.
Smart Images

Figure CN118505380B
Abstract
Description
Technical Field
[0001] The present application relates to data processing technology, and in particular to an electronic information management method and platform. Background Art
[0002] Abnormal use of credit cards refers to the behavior of cardholders that deviate significantly from normal consumption habits or violate credit card management regulations. In order to protect the cardholders' funds, relevant behavior recognition models have gradually been introduced for automatic recognition.
[0003] When training a behavior recognition model, the existing technology usually directly uses the original credit card usage record data. However, the original credit card usage record data is prone to contain some data with unclear status, which in turn affects the recognition effect of the trained model. Summary of the invention
[0004] The present application provides an electronic information management method and platform to solve the technical problem in the prior art of directly using original target object usage record data, which causes noise data in the original target object usage record data to affect the recognition effect of the trained model.
[0005] In a first aspect, the present application provides an electronic information management method, comprising:
[0006] Acquire original framework data, wherein the original framework data includes target object usage record data, wherein the target object usage record data includes a usage behavior identification field for characterizing the target object usage behavior;
[0007] Splitting the original framework data into a first data set and a second data set according to the first characteristic behavior identification field, wherein the first data set is target object usage record data including the first characteristic behavior identification field, and the second data set is a difference set between the original framework data and the first data set;
[0008] If it is determined that the ratio between the first data volume corresponding to the first type of data set and the second data volume corresponding to the second type of data set is less than a preset ratio threshold, data screening is performed on the second type of data set according to the second characteristic behavior identification field to determine a third type of data set, where the third type of data set is a data set of target object usage record data including the second characteristic behavior identification field;
[0009] If it is determined that the ratio between the first data volume corresponding to the first type of data set and the third data volume corresponding to the third type of data set is greater than the preset ratio threshold, the original framework data is upgraded according to the first type of data set and the third type of data set to generate first target framework data, and the first target framework data is used for iterative training of a preset target object using a behavior recognition model.
[0010] Optionally, after screening the second type of data set according to the second characteristic behavior identification field to determine the third type of data set, the method further includes:
[0011] If it is determined that the ratio between the first data volume corresponding to the first type of data set and the third data volume corresponding to the third type of data set is less than the preset ratio threshold, data is filtered from the second type of data set according to a preset data filtering model to form a fourth type of data set, and a fourth data volume corresponding to the fourth type of data set is less than the second data volume corresponding to the second type of data set;
[0012] The original framework data is upgraded according to the first type of data set and the fourth type of data set to generate second target framework data, and the second target framework data is used for iterative training of the preset target object using a behavior recognition model.
[0013] Optionally, the filtering data from the second type of data set according to a preset data filtering model to form a fourth type of data set includes:
[0014] Using the preset vector machine and according to the first type of data set And the second type of data set Generate sample decision boundary ,in, is the first data amount, is the second data amount, For the first type of data set Middle The first type of data, For the second type of data set Middle The second type of data, is the normal vector, is the intercept, The feature vector of the first feature behavior identification field after being processed by the preset vector machine;
[0015] Using formula 1, and according to the second type of data set And the sample decision boundary Determine the second type of data distance set ,in, for to the sample decision boundary The distance, Formula 1 is:
[0016] ;
[0017] Filter the second type of data distance set Less than the preset first distance threshold to generate the fourth type of data set according to the corresponding second type of data.
[0018] Optionally, data is filtered from the second type of data set according to a preset data filtering model to form a fourth type of data set, including:
[0019] Using the preset vector machine and according to the first type of data set And the second type of data set Generate sample decision boundary ,in, is the first data amount, is the second data amount, For the first type of data set Middle The first type of data, For the second type of data set Middle The second type of data, is the normal vector, is the intercept, The feature vector of the first feature behavior identification field after being processed by the preset vector machine;
[0020] According to the preset clustering algorithm, the first type of data set Perform clustering to generate the first type of data clusters ,in, The first type of data cluster The number of first-class data clusters in The first type of data cluster Middle The first type of data clusters;
[0021] According to the preset clustering algorithm, the second type of data set Perform clustering to generate the second type of data clusters ,in, The second type of data cluster The number of the second type of data clusters in The second type of data cluster Middle The second type of data clusters;
[0022] Using formula 2, and according to the second type of data clustering And the sample decision boundary Determine the distance set of the second type of data cluster ,in, for to the sample decision boundary The distance, Formula 2 is:
[0023] ;
[0024] in, for The cluster center of
[0025] According to the second type of data cluster distance set Determine the number of deleted clusters of the second type ,in, The second type of data cluster The The second type of data cluster The corresponding amount of data deleted;
[0026] According to the second type of data cluster, the number set is deleted And the second type of data clusters Determine the second type of data update clusters ,in, For the general to the sample decision boundary The distance is sorted in the back A second type of data update cluster formed after deleting the second type of data;
[0027] Update the clusters based on the second type of data Generate the fourth type of data set.
[0028] Optionally, in the updating of the cluster according to the second type of data After generating the fourth type of data set, the method further includes:
[0029] If it is determined that the ratio of the first data volume corresponding to the first category of data sets to the fourth data volume corresponding to the fourth category of data sets is less than the preset ratio threshold, the first category of data sets is expanded according to a preset data expansion model to form a fifth category of data sets, and the fifth data corresponding to the fifth category of data sets is greater than the first data volume corresponding to the first category of data sets.
[0030] Optionally, the step of performing data expansion on the first type of data set according to a preset data expansion model to form a fifth type of data set includes:
[0031] According to the first type of data cluster And the sample decision boundary Determine the first type of data cluster distance set ,in, for to the sample decision boundary distance;
[0032] According to the first type of data cluster distance set Determining a first data distance boundary and a second data distance boundary;
[0033] The first type of data set is divided into The first data group is divided into a first data group, a second data group and a third data group, wherein the first data group is smaller than the second data distance boundary. The second data group is a data group consisting of the first type of data, and the second data group is a data group whose distance is greater than or equal to the second data distance boundary and is smaller than the first data distance boundary The third data group is a data group consisting of the first type of data, the distance of which is greater than the distance boundary of the second data A data group consisting of the first type of data;
[0034] Generate a first extended data group according to the first data group and a preset random data generation algorithm, and generate a second extended data group according to the second data group and the preset random data generation algorithm, wherein the data amount difference between the first extended data group and the first data group is greater than the data amount difference between the second extended data group and the second data group;
[0035] A sixth category of data sets is generated according to the first extended data group, the second extended data group and the third data group, and the original framework data is upgraded according to the sixth category of data sets and the fourth category of data sets to generate third target framework data, and the third target framework data is used for iterative training of the preset target object using a behavior recognition model.
[0036] Optionally, before generating a first extended data group according to the first data group and a preset random data generation algorithm, and generating a second extended data group according to the second data group and the preset random data generation algorithm, the method further includes:
[0037] A first extension quantity and a second extension quantity are determined according to the first data amount and the fourth data amount. The first extension quantity is the data amount difference between the first extension data group and the first data group, and the second extension quantity is the data amount difference between the second extension data group and the second data group.
[0038] In a second aspect, the present application provides an electronic information management platform, including:
[0039] An acquisition module, used to acquire original framework data, wherein the original framework data includes target object usage record data, wherein the target object usage record data includes a usage behavior identification field for characterizing the target object usage behavior;
[0040] A splitting module, used for splitting the original framework data into a first type of data set and a second type of data set according to a first characteristic behavior identification field, wherein the first type of data set is target object usage record data including the first characteristic behavior identification field, and the second type of data set is a difference set between the original framework data and the first type of data set;
[0041] a screening module, configured to screen the second type of data set according to the second characteristic behavior identification field to determine a third type of data set when it is determined that the ratio between the first data volume corresponding to the first type of data set and the second data volume corresponding to the second type of data set is less than a preset ratio threshold, wherein the third type of data set is a data set of target object usage record data including the second characteristic behavior identification field;
[0042] A processing module is used to upgrade the original framework data according to the first category of data sets and the third category of data sets when it is determined that the ratio between the first data volume corresponding to the first category of data sets and the third data volume corresponding to the third category of data sets is greater than the preset ratio threshold, so as to generate target framework data, and the target framework data is used for iterative training of the preset target object using a behavior recognition model.
[0043] Optionally, the screening module is further configured to, when it is determined that the ratio between the first data volume corresponding to the first data volume corresponding to the third data volume corresponding to the third data volume is less than the preset ratio threshold, screen data from the second data volume according to a preset data screening model to form a fourth data volume, wherein the fourth data volume corresponding to the fourth data volume is less than the second data volume corresponding to the second data volume;
[0044] The processing module is also used to upgrade the original framework data according to the first type of data set and the fourth type of data set to generate second target framework data, and the second target framework data is used to iteratively train the preset target object using a behavior recognition model.
[0045] Optionally, the screening module is specifically used for:
[0046] Using the preset vector machine and according to the first type of data set And the second type of data set Generate sample decision boundary ,in, is the first data amount, is the second data amount, For the first type of data set Middle The first type of data, For the second type of data set Middle The second type of data, is the normal vector, is the intercept, The feature vector of the first feature behavior identification field after being processed by the preset vector machine;
[0047] Using formula 1, and according to the second type of data set And the sample decision boundary Determine the second type of data distance set ,in, for to the sample decision boundary The distance, formula 1 is:
[0048] ;
[0049] Filter the second type of data distance set Less than the preset first distance threshold to generate the fourth type of data set according to the corresponding second type of data.
[0050] Optionally, the screening module is specifically used for:
[0051] Using the preset vector machine and according to the first type of data set And the second type of data set Generate sample decision boundary ,in, is the first data amount, is the second data amount, For the first type of data set Middle The first type of data, For the second type of data set Middle The second type of data, is the normal vector, is the intercept, The feature vector of the first feature behavior identification field after being processed by the preset vector machine;
[0052] According to the preset clustering algorithm, the first type of data set Perform clustering to generate the first type of data clusters ,in, The first type of data cluster The number of first-class data clusters in The first type of data cluster Middle The first type of data clusters;
[0053] According to the preset clustering algorithm, the second type of data set Perform clustering to generate the second type of data clusters ,in, The second type of data cluster The number of the second type of data clusters in The second type of data cluster Middle The second type of data clusters;
[0054] Using formula 2, and according to the second type of data clustering And the sample decision boundary Determine the distance set of the second type of data cluster ,in, for to the sample decision boundary The distance, Formula 2 is:
[0055] ;
[0056] in, for The cluster center of
[0057] According to the second type of data cluster distance set Determine the number of deleted clusters of the second type ,in, The second type of data cluster The The second type of data cluster The corresponding amount of data deleted;
[0058] According to the second type of data cluster, the number set is deleted And the second type of data clusters Determine the second type of data update clusters ,in, For the general to the sample decision boundary The distance is sorted in the back A second type of data update cluster formed after deleting the second type of data;
[0059] Update the clusters based on the second type of data Generate the fourth type of data set.
[0060] Optionally, the electronic information management platform further includes:
[0061] An expansion module is used to expand the first category of data sets according to a preset data expansion model to form a fifth category of data sets when it is determined that the ratio between the first data volume corresponding to the first category of data sets and the fourth data volume corresponding to the fourth category of data sets is less than the preset ratio threshold, wherein the fifth data corresponding to the fifth category of data sets is greater than the first data volume corresponding to the first category of data sets.
[0062] Optionally, the expansion module is specifically used to:
[0063] According to the first type of data cluster And the sample decision boundary Determine the first type of data cluster distance set ,in, for to the sample decision boundary distance;
[0064] According to the first type of data cluster distance set Determining a first data distance boundary and a second data distance boundary;
[0065] The first type of data set is divided into The first data group is divided into a first data group, a second data group and a third data group, wherein the first data group is smaller than the second data distance boundary. The second data group is a data group consisting of the first type of data, and the second data group is a data group whose distance is greater than or equal to the second data distance boundary and is smaller than the first data distance boundary The third data group is a data group consisting of the first type of data, the distance of which is greater than the distance boundary of the second data A data group consisting of the first type of data;
[0066] Generate a first extended data group according to the first data group and a preset random data generation algorithm, and generate a second extended data group according to the second data group and the preset random data generation algorithm, wherein the data amount difference between the first extended data group and the first data group is greater than the data amount difference between the second extended data group and the second data group;
[0067] A sixth category of data sets is generated according to the first extended data group, the second extended data group and the third data group, and the original framework data is upgraded according to the sixth category of data sets and the fourth category of data sets to generate third target framework data, and the third target framework data is used for iterative training of the preset target object using a behavior recognition model.
[0068] Optionally, the expansion module is also used to determine a first expansion quantity and a second expansion quantity based on the first data volume and the fourth data volume, the first expansion quantity being the data volume difference between the first expansion data group and the first data group, and the second expansion quantity being the data volume difference between the second expansion data group and the second data group.
[0069] In a third aspect, the present application provides an electronic device, including:
[0070] processor; and,
[0071] A memory, configured to store executable instructions of the processor;
[0072] The processor is configured to perform any possible method described in the first aspect by executing the executable instructions.
[0073] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement any possible method described in the first aspect.
[0074] The present application provides an electronic information management method and platform, which obtains original framework data and splits the original framework data into a first data set and a second data set according to a first characteristic behavior identification field. When it is determined that the ratio between the first data volume corresponding to the first data set and the second data volume corresponding to the second data set is less than a preset ratio threshold, the second data set is screened according to the second characteristic behavior identification field to determine a third data set, and when it is determined that the ratio between the first data volume corresponding to the first data set and the third data volume corresponding to the third data set is greater than the preset ratio threshold, the original framework data is upgraded according to the first data set and the third data set to generate first target framework data, thereby generating reliable target framework data that can be used for iterative training of a preset target object usage behavior recognition model, so as to iteratively train and update the preset target object usage behavior recognition model, thereby improving the accuracy of subsequent target object usage behavior recognition. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0076] Figure 1 This is a flowchart of an electronic information management method according to an exemplary embodiment of the present application;
[0077] Figure 2 This is a flowchart of an electronic information management method according to another exemplary embodiment of the present application;
[0078] Figure 3 is a schematic diagram of the structure of an electronic information management platform according to an exemplary embodiment of the present application;
[0079] Figure 4 It is a schematic diagram of the structure of an electronic device according to an exemplary embodiment of the present application.
[0080] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0081] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0082] Figure 1 FIG. 1 is a flow chart of an electronic information management method according to an exemplary embodiment of the present application. Figure 1 As shown, the method provided in this embodiment includes:
[0083] S101, obtaining original framework data.
[0084] In this step, the original framework data may be obtained, the original framework data includes credit card usage record data, and the credit card usage record data includes a usage behavior identification field for characterizing credit card usage behavior. Optionally, the above usage behavior identification field may be used to identify whether the credit card usage behavior is abnormal usage behavior.
[0085] S102: Split the original framework data into a first data set and a second data set according to the first characteristic behavior identification field.
[0086] In this step, the original framework data may be split into a first data set and a second data set according to the first characteristic behavior identification field, wherein the first data set is the credit card usage record data including the first characteristic behavior identification field, and the second data set is the difference between the original framework data and the first data set. Optionally, the first characteristic behavior identification field is used to identify the credit card usage behavior as abnormal usage behavior.
[0087] S103: Screen the second type of data set according to the second characteristic behavior identification field to determine the third type of data set.
[0088] If it is determined that the ratio between the first data volume corresponding to the first data set and the second data volume corresponding to the second data set is less than a preset ratio threshold, the second data set is screened according to the second characteristic behavior identification field to determine a third data set, which is a data set of credit card usage record data including the second characteristic behavior identification field. Optionally, the second characteristic behavior identification field can be used to identify the credit card usage behavior as normal usage behavior, thereby eliminating the data of the credit card usage behavior in the second data set that is pending usage behavior.
[0089] S104: Upgrade the original framework data according to the first type of data set and the third type of data set to generate first target framework data.
[0090] If it is determined that the ratio between the first data volume corresponding to the first type of data set and the third data volume corresponding to the third type of data set is greater than a preset ratio threshold, the original framework data is upgraded according to the first type of data set and the third type of data set to generate first target framework data, and the first target framework data is used for iterative training of the preset credit card usage behavior recognition model.
[0091] In this embodiment, by acquiring original framework data, the original framework data is split into a first type of data set and a second type of data set according to a first characteristic behavior identification field. When it is determined that the ratio between the first data amount corresponding to the first type of data set and the second data amount corresponding to the second type of data set is less than a preset ratio threshold, the second type of data set is screened according to the second characteristic behavior identification field to determine a third type of data set. Moreover, when it is determined that the ratio between the first data amount corresponding to the first type of data set and the third data amount corresponding to the third type of data set is greater than the preset ratio threshold, the original framework data is upgraded according to the first type of data set and the third type of data set to generate first target framework data, thereby generating reliable target framework data that can be used for iterative training of a preset credit card usage behavior recognition model, so as to iteratively train and update the preset credit card usage behavior recognition model, thereby improving the accuracy of subsequent credit card usage behavior recognition.
[0092] Figure 2 FIG. 1 is a flow chart of an electronic information management method according to another exemplary embodiment of the present application. Figure 2 As shown, the electronic information management method provided in this embodiment includes:
[0093] S201, obtaining original framework data.
[0094] In this step, the original framework data may be obtained, the original framework data includes credit card usage record data, and the credit card usage record data includes a usage behavior identification field for characterizing credit card usage behavior. Optionally, the above usage behavior identification field may be used to identify whether the credit card usage behavior is abnormal usage behavior.
[0095] S202: Split the original framework data into a first data set and a second data set according to the first characteristic behavior identification field.
[0096] In this step, the original framework data may be split into a first data set and a second data set according to the first characteristic behavior identification field, wherein the first data set is the credit card usage record data including the first characteristic behavior identification field, and the second data set is the difference between the original framework data and the first data set. Optionally, the first characteristic behavior identification field is used to identify the credit card usage behavior as abnormal usage behavior.
[0097] S203: Screen the second type of data set according to the second characteristic behavior identification field to determine the third type of data set.
[0098] If it is determined that the ratio between the first data volume corresponding to the first data set and the second data volume corresponding to the second data set is less than a preset ratio threshold, the second data set is screened according to the second characteristic behavior identification field to determine a third data set, which is a data set of credit card usage record data including the second characteristic behavior identification field. Optionally, the second characteristic behavior identification field can be used to identify the credit card usage behavior as normal usage behavior, thereby eliminating the data of the credit card usage behavior in the second data set that is pending usage behavior.
[0099] S204: Filter data from the second type of data set according to a preset data screening model to form a fourth type of data set.
[0100] If it is determined that the ratio between the first data volume corresponding to the first category of data sets and the third data volume corresponding to the third category of data sets is less than a preset ratio threshold, data is filtered from the second category of data sets according to a preset data filtering model to form a fourth category of data sets, and the fourth data volume corresponding to the fourth category of data sets is less than the second data volume corresponding to the second category of data sets.
[0101] In a possible implementation, a preset vector machine may be used and based on the first type of data set And the second dataset Generate sample decision boundary ,in, is the first data volume, is the second data volume, The first type of data set Middle The first type of data, For the second type of data set Middle The second type of data, is the normal vector, is the intercept, The feature vector of the first feature behavior identification field after being processed by a preset vector machine;
[0102] Using formula 1, and according to the second type of data set And the sample decision boundary Determine the second type of data distance set ,in, for To the sample decision boundary The distance, formula 1 is:
[0103] ;
[0104] Screening the second type of data distance set Less than the preset first distance threshold distance to generate the fourth type of data set based on the corresponding second type of data.
[0105] In another possible implementation, a preset vector machine may be used, and according to the first type of data set And the second dataset Generate sample decision boundary ,in, is the first data volume, is the second data volume, The first type of data set Middle The first type of data, For the second type of data set Middle The second type of data, is the normal vector, is the intercept, The feature vector of the first feature behavior identification field after being processed by a preset vector machine;
[0106] According to the preset clustering algorithm, the first type of data set Perform clustering to generate the first type of data clusters ,in, The first type of data cluster The number of first-class data clusters in The first type of data cluster Middle The first type of data clusters;
[0107] According to the preset clustering algorithm, the second type of data set Perform clustering to generate the second type of data clusters ,in, The second type of data cluster The number of the second type of data clusters in The second type of data cluster Middle The second type of data clusters;
[0108] Using formula 2, and based on the second type of data clustering And the sample decision boundary Determine the distance set of the second type of data cluster ,in, for To the sample decision boundary The distance, formula 2 is:
[0109] ;
[0110] in, for The cluster center of
[0111] Using formula 3, and according to the distance set of the second type of data cluster Determine the number of deleted clusters of the second type ,in, The second type of data cluster The The second type of data cluster The corresponding amount of data deletion, formula 3 is:
[0112] ;
[0113] in, is the first characteristic parameter, is the second characteristic parameter, , ; for The number of the second type of data in ;
[0114] Delete the quantity set according to the second type of data cluster And the second type of data cluster Determine the second type of data update clusters ,in, For the general Medium to Sample Decision Boundary The distance is sorted in the back A second type of data update cluster formed after deleting the second type of data;
[0115] Update clusters based on the second type of data Generate the fourth type of data set.
[0116] Among them, the above-mentioned preset vector machine can be a support vector machine (SVM), which can be used to determine the distance classification hyperplane of the sample, thereby determining the position of the hyperplane, and in this embodiment, the above-mentioned sample decision boundary can be the classification hyperplane determined by the support vector machine. In addition, the above-mentioned preset clustering algorithm can be a clustering algorithm based on one or more combinations of K-Means, hierarchical clustering, spectral clustering, etc.
[0117] S205 , upgrading the original framework data according to the first type of data set and the fourth type of data set to generate second target framework data.
[0118] The original framework data is upgraded according to the first and fourth data sets to generate second target framework data, and the second target framework data is used for iterative training of a preset credit card usage behavior recognition model.
[0119] It is worth noting that, since the amount of abnormal usage data in the credit card usage record data is usually much smaller than the normal usage data, the method of directly using the credit card usage record data to train the model in the traditional training method is likely to cause the classification results to be offset to the majority class samples. In the generation process of the above-mentioned second target framework data, data clustering is first performed, and then the distance between each cluster data cluster and the sample decision boundary is determined to determine the amount of data to be deleted. As a result, the amount of data between the normal usage data and the abnormal usage data in the generated second target framework data is close, thereby avoiding the phenomenon that the classification results of the trained model are offset to the majority class samples. In addition, since the amount of data deleted in each of the above-mentioned cluster data clusters is related to the distance between the cluster data cluster and the sample decision boundary, the reliability of the normal usage data in the second target framework data can also be guaranteed, further improving the accuracy of the trained recognition model.
[0120] On the basis of the above embodiment, if it is determined that the ratio between the first data amount corresponding to the first category of data sets and the fourth data amount corresponding to the fourth category of data sets is less than a preset ratio threshold, the first category of data sets can also be expanded according to a preset data expansion model to form a fifth category of data sets, and the fifth data corresponding to the fifth category of data sets is greater than the first data amount corresponding to the first category of data sets.
[0121] Specifically, formula 4 can be used, and according to the first type of data clustering And the sample decision boundary Determine the first type of data cluster distance set ,in, for To the sample decision boundary The distance, formula 4 is:
[0122] ;
[0123] in, for The cluster center of
[0124] Using formula 5, and according to the first type of data cluster distance set Determine the first data distance boundary And the second data distance boundary , Formula 5 is:
[0125] ;
[0126] According to the first data distance boundary And the second data distance boundary The first type of data set The first data group is divided into a first data group, a second data group and a third data group, wherein the first data group is smaller than the distance boundary of the second data group. The first type of data is a data group, and the second data group is a data group whose distance is greater than or equal to the second data distance boundary and is smaller than the first data distance boundary The third data group is a data group consisting of the first type of data, and the distance of the third data group is greater than the distance boundary of the second data The data group consisting of the first type of data;
[0127] A first extended data group is generated according to the first data group and a preset random data generation algorithm, and a second extended data group is generated according to the second data group and a preset random data generation algorithm, wherein the data volume difference between the first extended data group and the first data group is greater than the data volume difference between the second extended data group and the second data group. Optionally, the above-mentioned random data generation algorithm can be a uniform distribution random number generator, a normal distribution (Gaussian distribution) random number generator, a Poisson distribution random number generator, a polynomial distribution random number generator, a joint distribution random sampling, etc.
[0128] A sixth type of data set is generated according to the first extended data group, the second extended data group and the third data group, and the original framework data is upgraded according to the sixth type of data set and the fourth type of data set to generate third target framework data, and the third target framework data is used for iterative training of a preset credit card usage behavior recognition model.
[0129] Before generating the first extended data group according to the first data group and the preset random data generation algorithm, and generating the second extended data group according to the second data group and the preset random data generation algorithm, the method may further include:
[0130] Formula 6 is used to determine the first expansion quantity according to the first data quantity and the fourth data quantity. And the second expansion quantity , the first expansion number is the data volume difference between the first extended data group and the first data group, the second extended data group is the data volume difference between the second extended data group and the second data group, and Formula 6 is:
[0131] ;
[0132] in, is the first data volume and It is the fourth data amount.
[0133] It is worth noting that in the generation process of the third target framework data mentioned above, the first data set, i.e., the data corresponding to the abnormal use behavior of the credit card, is grouped by using the first data distance boundary and the second data distance boundary, and then the first extended data group and the second extended data group that are closer to the sample decision boundary are data expanded, while the third extended data group that is farther away is not data expanded, so that the data volume between the normal use data and the abnormal use data in the generated second target framework data is close, thereby avoiding the phenomenon that the classification result of the trained model is offset to the majority class sample. In addition, since the data expansion is only performed on the first extended data group and the second extended data group that are closer to the sample decision boundary, and the data expansion quantity for the first extended data group is greater than the data expansion quantity for the second extended data group, in addition, the data expansion is not performed on the third extended data group that is farther away, thereby ensuring the reliability of the normal use data in the second target framework data, and further improving the accuracy of the trained recognition model.
[0134] Figure 3 FIG. 1 is a schematic diagram of the structure of an electronic information management platform according to an exemplary embodiment of the present application. Figure 3 As shown, the electronic information management platform 300 provided in this embodiment includes:
[0135] An acquisition module 310 is used to acquire original framework data, wherein the original framework data includes target object usage record data, wherein the target object usage record data includes a usage behavior identification field for characterizing the target object usage behavior;
[0136] A splitting module 320 is used to split the original framework data into a first type of data set and a second type of data set according to the first characteristic behavior identification field, wherein the first type of data set is target object usage record data including the first characteristic behavior identification field, and the second type of data set is a difference set between the original framework data and the first type of data set;
[0137] A screening module 330 is used to screen the second type of data set according to the second characteristic behavior identification field to determine a third type of data set when it is determined that the ratio between the first data volume corresponding to the first type of data set and the second data volume corresponding to the second type of data set is less than a preset ratio threshold, wherein the third type of data set is a data set of target object usage record data including the second characteristic behavior identification field;
[0138] The processing module 340 is used to upgrade the original framework data according to the first category of data sets and the third category of data sets when it is determined that the ratio between the first data volume corresponding to the first category of data sets and the third data volume corresponding to the third category of data sets is greater than the preset ratio threshold, so as to generate target framework data, and the target framework data is used for iterative training of the preset target object using the behavior recognition model.
[0139] Optionally, the screening module 330 is further configured to, when it is determined that the ratio between the first data volume corresponding to the first data volume corresponding to the third data volume corresponding to the third data volume is less than the preset ratio threshold, screen data from the second data volume according to a preset data screening model to form a fourth data volume, wherein the fourth data volume corresponding to the fourth data volume is less than the second data volume corresponding to the second data volume;
[0140] The processing module 340 is also used to upgrade the original framework data according to the first type of data set and the fourth type of data set to generate second target framework data, and the second target framework data is used to iteratively train the preset target object using a behavior recognition model.
[0141] Optionally, the screening module 330 is specifically used to:
[0142] Using the preset vector machine and according to the first type of data set And the second type of data set Generate sample decision boundary ,in, is the first data amount, is the second data amount, For the first type of data set Middle The first type of data, For the second type of data set Middle The second type of data, is the normal vector, is the intercept, The feature vector of the first feature behavior identification field after being processed by the preset vector machine;
[0143] Using formula 1, and according to the second type of data set And the sample decision boundary Determine the second type of data distance set ,in, for to the sample decision boundary The distance, Formula 1 is:
[0144] ;
[0145] Filter the second type of data distance set Less than the preset first distance threshold to generate the fourth type of data set according to the corresponding second type of data.
[0146] Optionally, the screening module 330 is specifically used to:
[0147] Using the preset vector machine and according to the first type of data set And the second type of data set Generate sample decision boundary ,in, is the first data amount, is the second data amount, For the first type of data set Middle The first type of data, For the second type of data set Middle The second type of data, is the normal vector, is the intercept, The feature vector of the first feature behavior identification field after being processed by the preset vector machine;
[0148] According to the preset clustering algorithm, the first type of data set Perform clustering to generate the first type of data clusters ,in, The first type of data cluster The number of first-class data clusters in The first type of data cluster Middle The first type of data clusters;
[0149] According to the preset clustering algorithm, the second type of data set Perform clustering to generate the second type of data clusters ,in, The second type of data cluster The number of the second type of data clusters in The second type of data cluster Middle The second type of data clusters;
[0150] Using formula 2, and according to the second type of data clustering And the sample decision boundary Determine the distance set of the second type of data cluster ,in, for to the sample decision boundary The distance, Formula 2 is:
[0151] ;
[0152] in, for The cluster center of
[0153] According to the second type of data cluster distance set Determine the number of deleted clusters of the second type ,in, The second type of data cluster The The second type of data cluster The corresponding amount of data deleted;
[0154] According to the second type of data cluster, the number set is deleted And the second type of data clusters Determine the second type of data update clusters ,in, For the general to the sample decision boundary The distance is sorted in the back A second type of data update cluster formed after deleting the second type of data;
[0155] Update the clusters based on the second type of data Generate the fourth type of data set.
[0156] Optionally, the electronic information management platform further includes:
[0157] The expansion module 350 is used to expand the first category of data sets according to a preset data expansion model to form a fifth category of data sets when it is determined that the ratio between the first data volume corresponding to the first category of data sets and the fourth data volume corresponding to the fourth category of data sets is less than the preset ratio threshold, wherein the fifth data corresponding to the fifth category of data sets is greater than the first data volume corresponding to the first category of data sets.
[0158] Optionally, the expansion module 350 is specifically used for:
[0159] According to the first type of data cluster And the sample decision boundary Determine the first type of data cluster distance set ,in, for to the sample decision boundary distance;
[0160] According to the first type of data cluster distance set Determining a first data distance boundary and a second data distance boundary;
[0161] The first type of data set is divided into The first data group is divided into a first data group, a second data group and a third data group, wherein the first data group is smaller than the second data distance boundary. The second data group is a data group consisting of the first type of data, and the second data group is a data group whose distance is greater than or equal to the second data distance boundary and is smaller than the first data distance boundary The third data group is a data group consisting of the first type of data, the distance of which is greater than the distance boundary of the second data The data group consisting of the first type of data;
[0162] Generate a first extended data group according to the first data group and a preset random data generation algorithm, and generate a second extended data group according to the second data group and the preset random data generation algorithm, wherein the data amount difference between the first extended data group and the first data group is greater than the data amount difference between the second extended data group and the second data group;
[0163] A sixth category of data sets is generated according to the first extended data group, the second extended data group and the third data group, and the original framework data is upgraded according to the sixth category of data sets and the fourth category of data sets to generate third target framework data, and the third target framework data is used for iterative training of the preset target object using a behavior recognition model.
[0164] Optionally, the expansion module 350 is also used to determine a first expansion quantity and a second expansion quantity based on the first data volume and the fourth data volume, the first expansion quantity being the data volume difference between the first expansion data group and the first data group, and the second expansion quantity being the data volume difference between the second expansion data group and the second data group.
[0165] Figure 4 is a schematic diagram of the structure of an electronic device according to an exemplary embodiment of the present application. Figure 4 As shown, an electronic device 400 provided in this embodiment includes: a processor 401 and a memory 402; wherein:
[0166] The memory 402 is used to store computer programs, and the memory may also be a flash memory.
[0167] The processor 401 is used to execute the execution instructions stored in the memory to implement each step in the above method. For details, please refer to the relevant description in the above method embodiment.
[0168] Optionally, the memory 402 may be independent or integrated with the processor 401 .
[0169] When the memory 402 is a device independent of the processor 401, the electronic device 400 may further include:
[0170] The bus 403 is used to connect the memory 402 and the processor 401 .
[0171] This embodiment further provides a readable storage medium, in which a computer program is stored. When at least one processor of an electronic device executes the computer program, the electronic device executes the methods provided in the above-mentioned various implementation modes.
[0172] This embodiment also provides a program product, which includes a computer program stored in a readable storage medium. At least one processor of the electronic device can read the computer program from the readable storage medium, and at least one processor executes the computer program so that the electronic device implements the methods provided in the above various embodiments.
[0173] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.
[0174] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. An electronic information management method, characterized in that: include: Acquire original framework data, wherein the original framework data includes target object usage record data, wherein the target object usage record data includes a usage behavior identification field for characterizing the target object usage behavior; Splitting the original framework data into a first data set and a second data set according to the first characteristic behavior identification field, wherein the first data set is target object usage record data including the first characteristic behavior identification field, and the second data set is a difference set between the original framework data and the first data set; If it is determined that the ratio between the first data volume corresponding to the first type of data set and the second data volume corresponding to the second type of data set is less than a preset ratio threshold, data screening is performed on the second type of data set according to the second characteristic behavior identification field to determine a third type of data set, where the third type of data set is a data set of target object usage record data including the second characteristic behavior identification field; If it is determined that the ratio between the first data volume corresponding to the first type of data set and the third data volume corresponding to the third type of data set is greater than the preset ratio threshold, the original framework data is upgraded according to the first type of data set and the third type of data set to generate first target framework data, and the first target framework data is used for iterative training of a preset target object using a behavior recognition model; After screening the second type of data set according to the second characteristic behavior identification field to determine the third type of data set, the method further includes: If it is determined that the ratio between the first data volume corresponding to the first type of data set and the third data volume corresponding to the third type of data set is less than the preset ratio threshold, data is filtered from the second type of data set according to a preset data filtering model to form a fourth type of data set, and a fourth data volume corresponding to the fourth type of data set is less than the second data volume corresponding to the second type of data set; Upgrading the original framework data according to the first data set and the fourth data set to generate second target framework data, wherein the second target framework data is used to iteratively train the preset target object using a behavior recognition model; The step of screening data from the second type of data set according to a preset data screening model to form a fourth type of data set includes: Using the preset vector machine and according to the first type of data set And the second type of data set Generate sample decision boundary ,in, is the first data amount, is the second data amount, For the first type of data set Middle The first type of data, For the second type of data set Middle The second type of data, is the normal vector, is the intercept, The feature vector of the first feature behavior identification field after being processed by the preset vector machine; Using formula 1, and according to the second type of data set And the sample decision boundary Determine the second type of data distance set ,in, for to the sample decision boundary The distance, Formula 1 is: ; Filter the second type of data distance set Less than the preset first distance threshold to generate the fourth type of data set according to the corresponding second type of data.
2. The electronic information management method according to claim 1, characterized in that: The data is filtered from the second type of data set according to a preset data filtering model to form a fourth type of data set, including: Using the preset vector machine and according to the first type of data set And the second type of data set Generate sample decision boundary ,in, is the first data amount, is the second data amount, For the first type of data set Middle The first type of data, For the second type of data set Middle The second type of data, is the normal vector, is the intercept, The feature vector of the first feature behavior identification field after being processed by the preset vector machine; According to the preset clustering algorithm, the first type of data set Perform clustering to generate the first type of data clusters ,in, The first type of data cluster The number of first-class data clusters in The first type of data cluster Middle The first type of data clusters; According to the preset clustering algorithm, the second type of data set Perform clustering to generate the second type of data clusters ,in, The second type of data cluster The number of the second type of data clusters in The second type of data cluster Middle The second type of data clusters; Using formula 2, and according to the second type of data clustering And the sample decision boundary Determine the distance set of the second type of data cluster ,in, for to the sample decision boundary The distance, Formula 2 is: ; in, for The cluster center of According to the second type of data cluster distance set Determine the number of deleted clusters of the second type ,in, The second type of data cluster The The second type of data cluster The corresponding amount of data deleted; According to the second type of data cluster, the number set is deleted And the second type of data clusters Determine the second type of data update clusters ,in, For the general to the sample decision boundary The distance is sorted in the back A second type of data update cluster formed after deleting the second type of data; Update the clusters based on the second type of data Generate the fourth type of data set.
3. The electronic information management method according to claim 2, characterized in that: In the step of updating the cluster according to the second type of data After generating the fourth type of data set, the method further includes: If it is determined that the ratio of the first data volume corresponding to the first category of data sets to the fourth data volume corresponding to the fourth category of data sets is less than the preset ratio threshold, the first category of data sets is expanded according to a preset data expansion model to form a fifth category of data sets, and the fifth data corresponding to the fifth category of data sets is greater than the first data volume corresponding to the first category of data sets.
4. The electronic information management method according to claim 3, characterized in that: The step of expanding the first type of data set according to a preset data expansion model to form a fifth type of data set includes: According to the first type of data cluster And the sample decision boundary Determine the first type of data cluster distance set ,in, for to the sample decision boundary distance; According to the first type of data cluster distance set Determining a first data distance boundary and a second data distance boundary; The first type of data set is divided into The first data group is divided into a first data group, a second data group and a third data group, wherein the first data group is smaller than the second data distance boundary. The second data group is a data group consisting of the first type of data, and the second data group is a data group whose distance is greater than or equal to the second data distance boundary and is smaller than the first data distance boundary The third data group is a data group consisting of the first type of data, the distance of which is greater than the distance boundary of the second data A data group consisting of the first type of data; Generate a first extended data group according to the first data group and a preset random data generation algorithm, and generate a second extended data group according to the second data group and the preset random data generation algorithm, wherein the data amount difference between the first extended data group and the first data group is greater than the data amount difference between the second extended data group and the second data group; A sixth category of data sets is generated according to the first extended data group, the second extended data group and the third data group, and the original framework data is upgraded according to the sixth category of data sets and the fourth category of data sets to generate third target framework data, and the third target framework data is used for iterative training of the preset target object using a behavior recognition model.
5. The electronic information management method according to claim 4, characterized in that: Before generating a first extended data group according to the first data group and a preset random data generation algorithm, and generating a second extended data group according to the second data group and the preset random data generation algorithm, the method further includes: A first extension quantity and a second extension quantity are determined according to the first data amount and the fourth data amount. The first extension quantity is the data amount difference between the first extension data group and the first data group, and the second extension quantity is the data amount difference between the second extension data group and the second data group.
6. An electronic information management platform, characterized in that: include: An acquisition module, used to acquire original framework data, wherein the original framework data includes target object usage record data, wherein the target object usage record data includes a usage behavior identification field for characterizing the target object usage behavior; A splitting module, used for splitting the original framework data into a first type of data set and a second type of data set according to a first characteristic behavior identification field, wherein the first type of data set is target object usage record data including the first characteristic behavior identification field, and the second type of data set is a difference set between the original framework data and the first type of data set; a screening module, configured to screen the second type of data set according to the second characteristic behavior identification field to determine a third type of data set when it is determined that the ratio between the first data volume corresponding to the first type of data set and the second data volume corresponding to the second type of data set is less than a preset ratio threshold, wherein the third type of data set is a data set of target object usage record data including the second characteristic behavior identification field; a processing module, configured to upgrade the original framework data according to the first category of data sets and the third category of data sets to generate target framework data when it is determined that the ratio between the first data volume corresponding to the first category of data sets and the third data volume corresponding to the third category of data sets is greater than the preset ratio threshold, wherein the target framework data is used to perform iterative training on a preset target object using a behavior recognition model; The screening module is further configured to screen data from the second type of data set according to a preset data screening model to form a fourth type of data set, when it is determined that the ratio between the first data volume corresponding to the first type of data set and the third data volume corresponding to the third type of data set is less than the preset ratio threshold, wherein the fourth data volume corresponding to the fourth type of data set is less than the second data volume corresponding to the second type of data set; The processing module is further used to upgrade the original framework data according to the first type of data set and the fourth type of data set to generate second target framework data, and the second target framework data is used to iteratively train the preset target object using the behavior recognition model; Optionally, the screening module is specifically used to: Using the preset vector machine and according to the first type of data set And the second type of data set Generate sample decision boundary ,in, is the first data amount, is the second data amount, For the first type of data set Middle The first type of data, For the second type of data set Middle The second type of data, is the normal vector, is the intercept, The feature vector of the first feature behavior identification field after being processed by the preset vector machine; Using formula 1, and according to the second type of data set And the sample decision boundary Determine the second type of data distance set ,in, for to the sample decision boundary The distance, Formula 1 is: ; Filter the second type of data distance set Less than the preset first distance threshold to generate the fourth type of data set according to the corresponding second type of data.
7. An electronic device, characterized in that: include: processor; as well as, A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 5 by executing the executable instructions.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 5 when executed by a processor.
Citation Information
Patent Citations
Data type recognition, model training and risk recognition method and device and equipment
CN107391569A
Industrial unbalanced data classification method and device, electronic equipment and storage medium
CN115099356A
Medical unbalanced data classification method based on biased random forest model
CN116072302A
Oversampling method based on support vector machine and evolutionary computation
CN117892209A
