A medical record information management method based on artificial intelligence
By calculating the economic lower bound and particle swarm search strategy, the problem of waste of clustering computing resources and improper parameter selection in medical record information management is solved, and more efficient and accurate clustering of medical record information is achieved.
Patent Information
- Application Number
- CN202410294748.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-15
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-03-15
AI Technical Summary
Existing medical record information management methods waste computing resources and time during the clustering process. The large impact of outliers leads to poor clustering results. Improper parameter selection leads to inaccurate clustering results and poor convergence.
A computationally economical lower bound is used to avoid unnecessary Euclidean distance calculations. The lower bound calculation method of block vector, segment mean and nonlinear embedding is combined to enhance clustering robustness. The particle swarm is designed to adaptively reduce the movement parameters to excite particles through cubic mapping initialization. Dense search, weighing local and global search strategies.
The computational complexity is reduced, the robustness and search accuracy of clustering are enhanced, and the efficiency and accuracy of clustering are improved.
Smart Images

Figure CN117936010B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a medical record information management method based on artificial intelligence. Background Art
[0002] Medical record information management methods refer to a series of management measures and methods for collecting, organizing, storing, analyzing and utilizing medical record information generated in medical institutions. Clustering algorithms are often used to group and classify medical record information. However, general information organization methods have the problems of expensive calculations during clustering, resulting in a waste of resources and time, and outliers have a large impact on clustering results, resulting in poor clustering effects; general information organization methods have the problems of improper parameter selection during clustering, resulting in inaccurate clustering results, and poor convergence of search methods. Summary of the invention
[0003] In view of the above situation, in order to overcome the defects of the prior art, the present invention provides a medical record information management method based on artificial intelligence. In view of the problem that the general information sorting method has expensive calculations during clustering, resulting in a waste of resources and time, and the outliers have too much influence on the clustering results, resulting in poor clustering effect, this scheme avoids unnecessary calculation of Euclidean distance by calculating the economical lower bound, thereby reducing the computational complexity; the lower bound calculation method based on fast vector, segment mean and nonlinear embedding considers data characteristics more comprehensively and enhances the robustness of clustering; weighs multiple lower bounds to better adapt to data distribution; in view of the problem that the general information sorting method has improper parameter selection during clustering, resulting in inaccurate clustering results and poor convergence of the search method, this scheme initializes the particle swarm based on cubic mapping, designs adaptive reduction of movement parameters to encourage intensive particle search, accelerates convergence, and improves search efficiency; weighs local search and global search to design movement strategies and improve search accuracy.
[0004] The technical solution adopted by the present invention is as follows: The present invention provides a medical record information management method based on artificial intelligence, the method comprising the following steps:
[0005] Step S1: data collection;
[0006] Step S2: data preprocessing;
[0007] Step S3: define the lower bound of the economy;
[0008] Step S4: parameter search;
[0009] Step S5: Clustering.
[0010] Furthermore, in step S1, the data collection includes collecting basic information of the user, medical history information, patient symptoms, treatment plan and medical institution information.
[0011] Furthermore, in step S2, the data preprocessing is to perform data cleaning, data conversion and data standardization on the collected data; the data cleaning includes missing value processing and outlier processing; the data conversion is to perform one-hot encoding processing on the data type as the dimension of the feature, and convert the text data into a vector; the data standardization processing is to use Z-Score standardization to normalize the data of each dimension.
[0012] Furthermore, in step S3, the step of defining the lower bound of the economy specifically includes the following steps:
[0013] Step S31: Predefine, given a data point x, bsf represents the Euclidean distance between x and the nearest cluster center; let c be the next cluster center to be checked; before calculating the Euclidean distance ED(x,c), first calculate the economic lower bound LB(x,c); if LB(x,c)>bsf, then ; Therefore, c cannot be the cluster center of x without computing the expensive ED(x,c);
[0014] Step S32: defining a lower bound based on a block vector, including:
[0015] Step S321: Given a data point , where x1, x2 and x d is the value of each dimension of the data point; divide it into b blocks evenly; the size of each block is s, that is, the size of each block dimension is s; if d cannot be divided by s, fill it; get the i-th block ; where (i-1)×s+1 is the starting dimension index of the block and i×s is the ending dimension index of the block; the data point x is rewritten as ;
[0016] Step S322: Normalize the data points. The block vector BV of the normalized data point x is expressed as ,in , and These are all normalized data points. The normalization formula is as follows:
[0017] ;
[0018] In the formula, is the i-th data point after normalization; j is the dimension index;
[0019] Step S323: Calculate the lower bound based on the block vector, using the following formula:
[0020] ;
[0021] Where, LBBV(x,y) is a lower bound based on the block vector BV(x) and the block vector (y); ED(·) is the Euclidean distance;
[0022] Step S33: define a lower bound based on the segment mean, including:
[0023] Step S331: segment averaging of data points, and obtaining the segment mean of data point x as ,in , and All of them are segment averaged data, the number of segments b is the same as the number of blocks; the formula used for segment averaging is as follows:
[0024] ;
[0025] In the formula, is the mean of the i-th segment of data; s1 is the dimension size of each segment, and j is the dimension index;
[0026] Step S332: Calculate the lower bound based on the segment mean using the following formula:
[0027] ;
[0028] Where, LB SM(x,y) It is a lower bound based on the segment mean SM(x) and the segment mean SM(y);
[0029] Step S34: defining a lower bound based on nonlinear embedding, including:
[0030] Step S341: Calculate the data variance, pre-set the i-th segment data
[0031] , the formula used is as follows:
[0032] ;
[0033] In the formula, is the variance in the i-th segment of data;
[0034] Step S342: Nonlinear embedding representation: Based on the arithmetic mean and variance value, the nonlinear embedding representation of the data point x is: ;
[0035] Step S343: Calculate the lower bound of nonlinear embedding, using the following formula:
[0036] ;
[0037] Where, LB NE(x,y) It is a lower bound based on nonlinear embedding; and are the mean and variance of the i-th segment in the nonlinearly embedded vector y;
[0038] Step S35: Calculate the lower bound of the economy using the following formula:
[0039] LB(x,y)=αLB BV(x,y) +βLB SM(x,y) +γLB NE(x,y) ;
[0040] where LB(·) is the economic lower bound; α, β, and γ are the economic weights of the lower bound based on block vectors, the lower bound based on segment mean, and the lower bound based on nonlinear embedding, respectively.
[0041] Furthermore, in step S4, the parameter search is to search for the clustering k value and the economic weight, which specifically includes the following steps:
[0042] Step S41: Initialize the particle swarm with chaos. Generate the particle swarm based on the cubic mapping. Use the Calinski-Harabasz index of the clustering result based on the particle position as the individual fitness value. The formula used to initialize the particle swarm is as follows:
[0043] ;
[0044] In the formula, and are the positions of the n+1th and nth particles in d dimension respectively; is the control parameter;
[0045] Step S42: Design movement parameters. When the particle fitness value is higher than the average fitness value of the particle group, the movement parameters are adaptively reduced. Otherwise, the search randomness is increased based on the random number. The formula used is as follows:
[0046] ;
[0047] ;
[0048] ;
[0049] In the formula, is the moving parameter at the kth iteration; and are the maximum movement parameter and the minimum movement parameter respectively; is the fitness value of the i-th particle at the k-th iteration; and are the average fitness value and the maximum fitness value of the particle swarm; c1 and c2 are the local learning factor and the global learning factor respectively; and are the initial local learning factor and the final local learning factor respectively; k max is the maximum number of iterations; and They are the starting global learning factor and the ending global learning factor respectively;
[0050] Step S43: Design a mobile strategy, the formula used is as follows:
[0051] ;
[0052] ;
[0053] In the formula, and are the velocities of the i-th particle at the k+1th iteration and the kth iteration in dimension d, respectively; r1 and r2 are random numbers between 0 and 1 and are independent of each other; is the best historical position of the individual particle; is the optimal position of the particle swarm; and are the positions of the i-th particle at the k+1th iteration and the kth iteration in dimension d; a is the acceleration factor;
[0054] Step S44: Movement determination, a fitness threshold is pre-set, and when there is a particle whose fitness value is higher than the fitness threshold, the parameter search is completed; if the maximum number of iterations is reached, the particle swarm search parameters are reinitialized; otherwise, the iterative movement search parameters are continued.
[0055] Furthermore, in step S5, the clustering specifically includes the following steps:
[0056] Step S51: data preparation, obtaining the data set D = {x1, x2, ..., xN}, the number of cluster centers k, the initial cluster center set C = {c1, c2, ..., ck} and the lower bound function LB(·); initializing the number of iterations I = 0, the maximum number of iterations MaxItr;
[0057] Step S52: Initialize cluster centers, randomly select cluster centers, and obtain cluster center set C;
[0058] Step S53: Iterative clustering, when I≤MaxItr or not converged, execute the following loop:
[0059] Step S531: For each data point x in the data set, perform the following steps:
[0060] Step S5311: Set A(x)=None, bsf=+∞, where A(x) is the cluster center to which the data point belongs;
[0061] Step S532: For each cluster center c, perform the following steps:
[0062] Step S5321: Calculate the lower bound LB(x, c);
[0063] Step S533: If LB(x, c) ≤ bsf, then perform the following steps:
[0064] Step S5331: Calculate the Euclidean distance ED(x, c);
[0065] Step S534: If ED(x, c) < bsf, then perform the following steps:
[0066] Step S5341: Update bsf = ED(x, c), A(x) = c;
[0067] Step S535: Update the set C of cluster centers;
[0068] Step S536: Increase the iteration count I;
[0069] Step S54: Return the final set C of cluster centers;
[0070] Step S55: Data arrangement, and perform medical record information arrangement and statistics based on the clustering result.
[0071] The beneficial effects achieved by the present invention using the above solution are as follows:
[0072] (1) Aiming at the problems of waste of resources and time caused by expensive calculations during clustering and poor clustering effects due to excessive influence of outliers on clustering results in general information arrangement methods, this solution avoids unnecessary Euclidean distance calculations by calculating an economical lower bound, reducing the computational complexity; the lower bound calculation method based on fast vectors, segment means, and non-linear embedding comprehensively considers data characteristics, enhancing the robustness of clustering; weighing multiple lower bounds better adapts to the data distribution.
[0073] (2) Aiming at the problems of inaccurate clustering results caused by improper parameter selection during clustering and poor convergence of search methods in general information arrangement methods, this solution initializes the particle swarm based on triple mapping, designs an adaptive reduction of the movement parameter to encourage dense search of particles, accelerates convergence, and improves the search efficiency; weighs local search and global search to design a movement strategy, improving the search accuracy. Brief Description of the Drawings
[0074] Figure 1 It is a schematic flowchart of a medical record information management method based on artificial intelligence provided by the present invention;
[0075] Figure 2 It is a schematic flowchart of Step S3;
[0076] Figure 3 It is a schematic diagram of the process of step S4.
[0077] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention. DETAILED DESCRIPTION
[0078] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0079] In the description of the present invention, it is necessary to understand that terms such as “upper”, “lower”, “front”, “back”, “left”, “right”, “top”, “bottom”, “inside” and “outside” indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred system or element must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as a limitation on the present invention.
[0080] Example 1, see Figure 1 The present invention provides a medical record information management method based on artificial intelligence, which comprises the following steps:
[0081] Step S1: Data collection, collecting basic information of the user, medical history information, patient symptoms, treatment plan and medical institution information;
[0082] Step S2: Data preprocessing, data cleaning, data conversion and data standardization of the collected data;
[0083] Step S3: defining the lower bound of the economy, by calculating and weighing the lower bounds based on fast vectors, segment means, and nonlinear embedding, thereby defining the lower bound of the economy;
[0084] Step S4: Parameter search, initializing the particle swarm based on the three-dimensional mapping, designing adaptive reduction movement parameters; weighing local search and global search to design movement strategies;
[0085] Step S5: Clustering.
[0086] Example 2, see Figure 1This embodiment is based on the above embodiment. In step S2, the data cleaning includes missing value processing and outlier processing; the data conversion is to perform one-hot encoding processing on the data type as the dimension of the feature, and convert the text data into a vector; the data standardization processing is to use Z-Score standardization to normalize the data of each dimension.
[0087] Example 3, see Figure 1 and Figure 2 This embodiment is based on the above embodiment. In step S3, defining the lower bound of the economy specifically includes the following steps:
[0088] Step S31: Predefine, given a data point x, bsf represents the Euclidean distance between x and the nearest cluster center; let c be the next cluster center to be checked; before calculating the Euclidean distance ED(x,c), first calculate the economic lower bound LB(x,c); if LB(x,c)>bsf, then ; Therefore, c cannot be the cluster center of x without computing the expensive ED(x,c);
[0089] Step S32: defining a lower bound based on a block vector, including:
[0090] Step S321: Given a data point , where x1, x2 and x d is the value of each dimension of the data point; divide it into b blocks evenly; the size of each block is s, that is, the size of each block dimension is s; if d cannot be divided by s, fill it; get the i-th block ; where (i-1)×s+1 is the starting dimension index of the block and i×s is the ending dimension index of the block; the data point x is rewritten as ;
[0091] Step S322: Normalize the data points. The block vector BV of the normalized data point x is expressed as ,in , and These are all normalized data points. The normalization formula is as follows:
[0092] ;
[0093] In the formula, is the i-th data point after normalization; j is the dimension index;
[0094] Step S323: Calculate the lower bound based on the block vector, using the following formula:
[0095] ;
[0096] Where, LB BV(x,y) is a lower bound based on the block vector BV(x) and the block vector (y); ED(·) is the Euclidean distance;
[0097] Step S33: define a lower bound based on the segment mean, including:
[0098] Step S331: segment averaging of data points, and obtaining the segment mean of data point x as ,in , and All of them are segment averaged data, the number of segments b is the same as the number of blocks; the formula used for segment averaging is as follows:
[0099] ;
[0100] In the formula, is the mean of the i-th segment of data; s1 is the dimension size of each segment, and j is the dimension index;
[0101] Step S332: Calculate the lower bound based on the segment mean using the following formula:
[0102] ;
[0103] Where, LB SM(x,y) It is a lower bound based on the segment mean SM(x) and the segment mean SM(y);
[0104] Step S34: defining a lower bound based on nonlinear embedding, including:
[0105] Step S341: Calculate the data variance, pre-set the i-th segment data
[0106] , the formula used is as follows:
[0107] ;
[0108] In the formula, is the variance in the i-th segment of data;
[0109] Step S342: Nonlinear embedding representation: Based on the arithmetic mean and variance value, the nonlinear embedding representation of the data point x is: ;
[0110] Step S343: Calculate the lower bound of nonlinear embedding, using the following formula:
[0111] ;
[0112] Where, LB NE(x,y) It is a lower bound based on nonlinear embedding; and are the mean and variance of the i-th segment in the nonlinearly embedded vector y;
[0113] Step S35: Calculate the lower bound of the economy using the following formula:
[0114] LB(x,y)=αLB BV(x,y) +βLB SM(x,y) +γLB NE(x,y) ;
[0115] where LB(·) is the economic lower bound; α, β, and γ are the economic weights of the lower bound based on block vectors, the lower bound based on segment mean, and the lower bound based on nonlinear embedding, respectively.
[0116] By performing the above operations, in order to solve the problems that the general information organization methods have expensive calculations during clustering, resulting in a waste of resources and time, and the outliers have too much influence on the clustering results, resulting in poor clustering effect, this scheme avoids unnecessary calculations of Euclidean distances by calculating the economical lower bound, thereby reducing the computational complexity; the lower bound calculation method based on fast vectors, segment means and nonlinear embedding takes data characteristics into account more comprehensively, enhancing the robustness of clustering; and weighs multiple lower bounds to better adapt to data distribution.
[0117] Example 4, see Figure 1 and Figure 3 This embodiment is based on the above embodiment. In step S4, the parameter search is to search for the clustering k value and the economic weight, which specifically includes the following steps:
[0118] Step S41: Initialize the particle swarm with chaos. Generate the particle swarm based on the cubic mapping. Use the Calinski-Harabasz index of the clustering result based on the particle position as the individual fitness value. The formula used to initialize the particle swarm is as follows:
[0119] ;
[0120] In the formula, and are the positions of the n+1th and nth particles in d dimension respectively; is the control parameter;
[0121] Step S42: Design movement parameters. When the particle fitness value is higher than the average fitness value of the particle group, the movement parameters are adaptively reduced. Otherwise, the search randomness is increased based on the random number. The formula used is as follows:
[0122] ;
[0123] ;
[0124] ;
[0125] In the formula, is the moving parameter at the kth iteration; and are the maximum movement parameter and the minimum movement parameter respectively; is the fitness value of the i-th particle at the k-th iteration; and are the average fitness value and the maximum fitness value of the particle swarm; c1 and c2 are the local learning factor and the global learning factor respectively; and are the initial local learning factor and the final local learning factor respectively; k max is the maximum number of iterations; and They are the starting global learning factor and the ending global learning factor respectively;
[0126] Step S43: Design a mobile strategy, the formula used is as follows:
[0127] ;
[0128] ;
[0129] In the formula, and are the velocities of the i-th particle at the k+1th iteration and the kth iteration in dimension d, respectively; r1 and r2 are random numbers between 0 and 1 and are independent of each other; is the best historical position of the individual particle; is the optimal position of the particle swarm; and are the positions of the i-th particle at the k+1th iteration and the kth iteration in dimension d; a is the acceleration factor;
[0130] Step S44: Movement determination, a fitness threshold is pre-set, and when there is a particle whose fitness value is higher than the fitness threshold, the parameter search is completed; if the maximum number of iterations is reached, the particle swarm search parameters are reinitialized; otherwise, the iterative movement search parameters are continued.
[0131] By performing the above operations, in order to solve the problems of inaccurate clustering results and poor convergence of search methods caused by improper parameter selection during clustering in general information organization methods, this scheme initializes the particle swarm based on cubic mapping, designs adaptive reduction movement parameters to encourage intensive particle search, accelerates convergence, and improves search efficiency; balances local search and global search to design movement strategies and improve search accuracy.
[0132] dian Example 5, see Figure 1, this embodiment is based on the above embodiment. In step S5, the clustering specifically includes the following steps: Step S51: Data preparation, obtaining a data set D = {x1, x2,..., xN}, the number of clustering centers k, an initial set of clustering centers C = {c1, c2,..., ck}, and a lower bound function LB(·); initializing the iteration count I = 0 and the maximum number of iterations MaxItr;
[0133] Step S52: Initialize the clustering centers, randomly select the clustering centers, and obtain the set of clustering centers C;
[0134] Step S53: Iterative clustering, when I ≤ MaxItr or not converged, execute the following loop:
[0135] Step S531: For each data point x in the data set, execute the following steps:
[0136] Step S5311: Set A(x) = None, bsf = +∞, where A(x) is the clustering center to which the data point belongs;
[0137] Step S532: For each clustering center c, execute the following steps:
[0138] Step S5321: Calculate the lower bound LB(x, c);
[0139] Step S533: If LB(x, c) ≤ bsf, then execute the following steps:
[0140] Step S5331: Calculate the Euclidean distance ED(x, c);
[0141] Step S534: If ED(x, c) < bsf, then execute the following steps:
[0142] Step S5341: Update bsf = ED(x, c), A(x) = c;
[0143] Step S535: Update the set of clustering centers C;
[0144] Step S536: Increase the iteration count I;
[0145] Step S54: Return the final set of clustering centers C
[0146] Step S55: Data arrangement, realizing the arrangement and statistics of medical record information based on the clustering result.
[0147] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0148] While the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that many changes, modifications, substitutions and variations can be made to the embodiments without departing from the principles and spirit of the invention.
[0149] The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.
Claims
1. A medical record information management method based on artificial intelligence, characterized in that: The method comprises the following steps: Step S1: Data collection: collecting basic user information, medical history information, patient symptoms, treatment plans and medical institution information; Step S2: Data preprocessing: data cleaning, data conversion and data standardization are performed on the collected data; Step S3: defining the lower bound of the economy; defining the lower bound of the economy by calculating and weighing the lower bounds based on the fast vector, the segment mean, and the nonlinear embedding; Step S4: parameter search; initialize the particle swarm based on the three-dimensional mapping, design the adaptive reduction movement parameters; weigh the local search and global search to design the movement strategy; Step S5: clustering; In step S4, the parameter search is to search for the clustering k value and economic weight, which specifically includes the following steps: Step S41: Initialize the particle swarm with chaos. Generate the particle swarm based on the cubic mapping. Use the Calinski-Harabasz index of the clustering result based on the particle position as the individual fitness value. The formula used to initialize the particle swarm is as follows: ; In the formula, and are the positions of the n+1th and nth particles in d dimension respectively; is the control parameter; Step S42: Design movement parameters. When the particle fitness value is higher than the average fitness value of the particle group, the movement parameters are adaptively reduced. Otherwise, the search randomness is increased based on the random number. The formula used is as follows: ; ; ; In the formula, is the moving parameter at the kth iteration; and are the maximum movement parameter and the minimum movement parameter respectively; is the fitness value of the i-th particle at the k-th iteration; and are the average fitness value and the maximum fitness value of the particle swarm; c1 and c2 are the local learning factor and the global learning factor respectively; and are the initial local learning factor and the final local learning factor respectively; k max is the maximum number of iterations; and They are the starting global learning factor and the ending global learning factor respectively; Step S43: Design a mobile strategy, the formula used is as follows: ; ; In the formula, and are the velocities of the i-th particle at the k+1th iteration and the kth iteration in dimension d, respectively; r1 and r2 are random numbers between 0 and 1 and are independent of each other; is the best historical position of the individual particle; is the optimal position of the particle swarm; and are the positions of the i-th particle at the k+1th iteration and the kth iteration in dimension d; a is the acceleration factor; Step S44: Move judgment, a fitness threshold is set in advance, and when there is a particle whose fitness value is higher than the fitness threshold, the parameter search is completed; if the maximum number of iterations is reached, the particle swarm search parameters are reinitialized; otherwise, the iterative movement search parameters are continued; In step S3, the step of defining the lower bound of the economy specifically includes the following steps: Step S31: Predefine, given a data point x, bsf represents the Euclidean distance between x and the nearest cluster center; let c be the next cluster center to be checked; before calculating the Euclidean distance ED(x,c), first calculate the economic lower bound LB(x,c); if LB(x,c)>bsf, then ; Therefore, c cannot be the cluster center of x without computing the expensive ED(x,c); Step S32: defining a lower bound based on a block vector, including: Step S321: Given a data point , where x1, x2 and x d is the value of each dimension of the data point; divide it into b blocks evenly; the size of each block is s, that is, the size of each block dimension is s; if d cannot be divided by s, fill it; get the i-th block ; where (i-1)×s+1 is the starting dimension index of the block and i×s is the ending dimension index of the block; the data point x is rewritten as ; Step S322: Normalize the data points. The block vector BV of the normalized data point x is expressed as ,in , and These are all normalized data points. The normalization formula is as follows: ; In the formula, is the i-th data point after normalization; j is the dimension index; Step S323: Calculate the lower bound based on the block vector, using the following formula: ; Where, LB BV(x,y) is a lower bound based on the block vector BV(x) and the block vector (y); ED(·) is the Euclidean distance; Step S33: define a lower bound based on the segment mean, including: Step S331: segment averaging of data points, and obtaining the segment mean of data point x as ,in , and All of them are segment averaged data, the number of segments b is the same as the number of blocks; the formula used for segment averaging is as follows: ; In the formula, is the mean of the i-th segment of data; s1 is the dimension size of each segment, and j is the dimension index; Step S332: Calculate the lower bound based on the segment mean using the following formula: ; Where, LB SM(x,y) It is a lower bound based on the segment mean SM(x) and the segment mean SM(y); Step S34: defining a lower bound based on nonlinear embedding, including: Step S341: Calculate the data variance, pre-set the i-th segment data , the formula used is as follows: ; In the formula, is the variance in the i-th segment of data; Step S342: Nonlinear embedding representation: Based on the arithmetic mean and variance value, the nonlinear embedding representation of the data point x is: ; Step S343: Calculate the lower bound of nonlinear embedding, using the following formula: ; Where, LB NE(x,y) It is a lower bound based on nonlinear embedding; and are the mean and variance of the i-th segment in the nonlinearly embedded vector y; Step S35: Calculate the lower bound of the economy using the following formula: <h2 style=";text-align:left;direction:ltr">LB(x,y)=αLB<h2 style=";text-align:left;direction:ltr"> BV(x,y) <h2 style=";text-align:left;direction:ltr"> +βLB<h2 style=";text-align:left;direction:ltr"> SM(x,y) <h2 style=";text-align:left;direction:ltr"> +γLB<h2 style=";text-align:left;direction:ltr"> NE(x,y) <h2 style=";text-align:left;direction:ltr"> ; Where LB(·) is the economic lower bound; α, β, and γ are the economic weights of the lower bound based on block vector, the lower bound based on segment mean, and the lower bound based on nonlinear embedding, respectively; In step S5, the clustering specifically includes the following steps: Step S51: data preparation, obtaining the data set D = {x1, x2, ..., xN}, the number of cluster centers k, the initial cluster center set C = {c1, c2, ..., ck} and the lower bound function LB(·); initializing the number of iterations I = 0, the maximum number of iterations MaxItr; Step S52: Initialize cluster centers, randomly select cluster centers, and obtain cluster center set C; Step S53: Iterative clustering, when I≤MaxItr or not converged, execute the following loop: Step S531: For each data point x in the data set, perform the following steps: Step S5311: Set A(x) = None, bsf = +∞, where A(x) is the cluster center to which the data point belongs; Step S532: For each cluster center c, perform the following steps: Step S5321: Calculate the lower bound LB(x, c); Step S533: If LB(x, c) ≤ bsf, then perform the following steps: Step S5331: Calculate the Euclidean distance ED(x, c); Step S534: If ED(x, c) < bsf, then perform the following steps: Step S5341: Update bsf = ED(x, c), A(x) = c; Step S535: Update the set of cluster centers C; Step S536: Increase the iteration count I; Step S54: Return the final set of cluster centers C; Step S55: Data arrangement, realizing the arrangement and statistics of medical record information based on the clustering result.
2. The medical record information management method based on artificial intelligence according to claim 1, characterized in that: In Step S2, the data cleaning includes missing value processing and outlier processing; the data transformation is to perform one-hot encoding on the data type as the dimension of the feature and convert the text data into a vector; the data standardization process is to normalize the data of each dimension using Z-Score standardization.
Citation Information
Patent Citations
Two-stage hybrid particle swarm optimization clustering method
CN102663100A
Building load forecasting method and device based on improved IHCMAC neural network
CN107704875A
