Intelligent heart disease detection method, device and computer readable storage medium

Through intelligent heart disease detection methods based on deep learning, using heart sound signal data sets and convolutional neural networks and other technologies, accurate heart disease detection in areas with poor medical conditions is achieved, solving the problem of relying on doctors and low efficiency of detection methods in the existing technology. problems, improving the accuracy and feasibility of detection.

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

Patent Information

Application Number
CN201910520758.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-14
Publication Date
2024-09-10
Estimated Expiration
2039-06-14

AI Technical Summary

Technical Problem

Existing technology makes it difficult to detect and diagnose heart disease in a timely manner in areas where medical conditions are scarce, and existing detection methods rely on professional testing by doctors and are not suitable for ordinary family self-testing, resulting in potential heart disease not being discovered and treated in time.

Method used

An intelligent heart disease detection method based on deep learning is adopted. Through the classification, normalization processing and training model construction of heart sound signal data sets, convolutional neural networks, recurrent autoencoders and segment-level features are used for transfer learning, representation learning and Supervised learning to detect potential heart disease.

Benefits of technology

It provides a method for users to detect heart disease by themselves, gives accurate detection results, reduces dependence on professional doctors, and improves detection efficiency and accuracy in areas with poor medical conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110363090B
    Figure CN110363090B
Patent Text Reader

Abstract

The present invention relates to an artificial intelligence technology, and discloses an intelligent heart disease detection method, including: obtaining a data set consisting of heart sound signals of patients with heart disease, establishing labels for the data set, generating a label set, and classifying the data set according to the label set; normalizing the classified data set to obtain a source data set, and storing it in a database; using the source data set to train a pre-constructed combined classifier model to obtain training values, and calculating the unweighted average recall rate of the training values, and when the unweighted average recall rate is greater than a preset threshold, the training of the combined classifier model is completed; inputting the heart sound signal data of the user to be detected into the trained combined classifier model to detect users with potential heart disease. The present invention also proposes an intelligent heart disease detection device and a computer-readable storage medium. The present invention achieves accurate detection of heart disease.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to an intelligent heart disease detection method, device and computer-readable storage medium based on deep learning and user behavior. Background Art

[0002] Heart disease is a destructive disease that is difficult to detect. According to the World Health Organization, in 2016, an estimated 17.9 million people died from cardiovascular disease, accounting for 31% of the total deaths worldwide. Among them, 85% died from heart disease and stroke. my country has the largest population in the world, but the number of doctors working on heart disease is far from enough. There are even fewer professional doctors who can detect potential heart diseases in time, and the time and material costs of training such doctors are also very high. This leads to huge safety risks for people in many areas with poor medical conditions because potential heart diseases cannot be diagnosed and treated in time.

[0003] In modern society, people's pace of life is fast, and many people are in a state of tension with great pressure for a long time, which makes some people in a sub-healthy state, making various diseases, especially the incidence of heart disease, gradually increase. The number of people who die from heart disease in my country every year is also hundreds of thousands. In addition, the age of people suffering from heart disease is developing towards younger age. Many young and middle-aged people fail to pay attention to early diagnosis and treatment as soon as possible due to lack of common sense in this area, leading to premature death. Although the treatment methods for heart disease are constantly improving at home and abroad, due to the different ages, genders and occupations of heart disease patients, individual differences are very large, which causes many inconveniences to prevention and standardized treatment. Furthermore, the existing detection methods are mainly based on professional detection by doctors, which is not very convenient for ordinary families. If ordinary people can also use appropriate equipment to conduct self-census, this can provide timely warnings for potential heart disease patients, so that they can get timely treatment. Summary of the invention

[0004] The present invention provides an intelligent heart disease detection method, device and computer-readable storage medium, the main purpose of which is to present accurate detection results to users when they are undergoing heart disease detection.

[0005] To achieve the above object, the present invention provides an intelligent heart disease detection method, comprising:

[0006] A data set consisting of heart sound signals of patients with heart diseases, labeling the data set to generate a label set, and classifying the data set according to the label set;

[0007] Normalizing the classified data set to obtain a source data set, and storing the source data set in a database;

[0008] Using the source data set to train the pre-built combined classifier model to obtain training values, and calculating the unweighted average recall rate of the training values, when the unweighted average recall rate is greater than a preset threshold, the training of the combined classifier model is completed;

[0009] The heart sound signal data of the user to be detected is input into the trained combined classifier model to detect users with potential heart diseases.

[0010] Optionally, the normalization process includes:

[0011] Map the classified data set to the interval [0,1];

[0012] Wherein, the normalization processing algorithm is:

[0013] X'=(XX min ) / (X max -X min )

[0014] Where X min is the minimum value of the data set, X max is the maximum value of the data set.

[0015] Optionally, the combined classifier model includes a convolutional neural network, a recurrent autoencoder, and a segment-level feature, which are respectively used for transfer learning, representation learning, and supervised learning; and the pre-built combined classifier model is trained using the source data set to obtain a training value, including:

[0016] Preprocessing the source data set by transfer learning of the convolutional neural network to obtain the category probabilities of the heart sound signal segments in the source data set, and selecting the heart sound signal segment set with the highest category probability as the prediction result set;

[0017] Fitting the prediction result set through representation learning of the recurrent autoencoder;

[0018] The fitted prediction result set is classified through supervised learning of the segment-level features to obtain the training value.

[0019] Optionally, the preprocessing operation on the source data set by the transfer learning of the convolutional neural network to obtain the category probabilities of the heart sound signal segments in the source data set, and selecting the heart sound signal segment set with the highest category probability as the prediction result set includes:

[0020] Performing a convolution operation on the source data set by using a set of filters preset in the convolutional layer of the convolutional neural network to extract a feature vector;

[0021] The feature vector is pooled by using the pooling layer of the convolutional neural network and input into the fully connected layer. The classification label is input into the feature vector through the activation function of the convolutional neural network to obtain the category probability of the heart sound signal segments in the source data set, and the set of heart sound signal segments with the highest category probability is selected as the prediction result set.

[0022] Optionally, calculating the unweighted average recall of the training values ​​includes:

[0023] Calculating the precision and recall of the training values;

[0024] The accuracy calculation formula of the training value is as follows:

[0025]

[0026] Among them, precision represents the accuracy of the training value, n correct Represents the number of correct training values ​​output, n total Indicates the total amount of heart sound signal segments for training;

[0027] The recall calculation formula of the training value is as follows:

[0028]

[0029] Wherein, recall represents the recall rate of the training value, tp represents the number of actual heart sound signal segments, and fn represents the number of predicted heart sound signal segments;

[0030] The unweighted average recall is obtained according to the precision and the recall:

[0031]

[0032] Wherein, F1 represents the unweighted average recall of the training values.

[0033] In addition, to achieve the above-mentioned purpose, the present invention further provides an intelligent heart disease detection device, which includes a memory and a processor, wherein the memory stores an intelligent heart disease detection program that can be run on the processor, and when the intelligent heart disease detection program is executed by the processor, the following steps are implemented:

[0034] Acquire a data set consisting of heart sound signals of patients with heart diseases, establish labels for the data set to generate a label set, and classify the data set according to the label set;

[0035] Normalizing the classified data set to obtain a source data set, and storing the source data set in a database;

[0036] Using the source data set to train the pre-built combined classifier model to obtain training values, and calculating the unweighted average recall rate of the training values, when the unweighted average recall rate is greater than a preset threshold, the training of the combined classifier model is completed;

[0037] The heart sound signal data of the user to be detected is input into the trained combined classifier model to detect users with potential heart diseases.

[0038] Optionally, the combined classifier model comprises a convolutional neural network, a recurrent autoencoder and a segment-level feature, which are respectively used for transfer learning, representation learning and supervised learning; and the pre-built combined classifier model is trained using the source data set to obtain training values, including:

[0039] Preprocessing the source data set by transfer learning of the convolutional neural network to obtain the category probabilities of the heart sound signal segments in the source data set, and selecting the heart sound signal segment set with the highest category probability as the prediction result set;

[0040] Fitting the prediction result set through representation learning of the recurrent autoencoder;

[0041] The fitted prediction result set is classified through supervised learning of the segment-level features to obtain the training value.

[0042] Optionally, the preprocessing operation on the source data set by the transfer learning of the convolutional neural network to obtain the category probabilities of the heart sound signal segments in the source data set, and selecting the heart sound signal segment set with the highest category probability as the prediction result set includes:

[0043] Performing a convolution operation on the source data set by using a set of filters preset in the convolutional layer of the convolutional neural network to extract a feature vector;

[0044] The feature vector is pooled by using the pooling layer of the convolutional neural network and input into the fully connected layer. The classification label is input into the feature vector through the activation function of the convolutional neural network to obtain the category probability of the heart sound signal segments in the source data set, and the set of heart sound signal segments with the highest category probability is selected as the prediction result set.

[0045] Optionally, calculating the unweighted average recall of the training values ​​includes:

[0046] Calculating the precision and recall of the training values;

[0047] The accuracy calculation formula of the training value is as follows:

[0048]

[0049] Among them, precision represents the accuracy of the training value, n correct Represents the number of correct training values ​​output, n total Indicates the total amount of heart sound signal segments for training;

[0050] The recall calculation formula of the training value is as follows:

[0051]

[0052] Wherein, recall represents the recall rate of the training value, tp represents the number of actual heart sound signal segments, and fn represents the number of predicted heart sound signal segments;

[0053] The unweighted average recall is obtained according to the precision and the recall:

[0054]

[0055] Wherein, F1 represents the unweighted average recall of the training values.

[0056] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which an intelligent heart disease detection program is stored. The intelligent heart disease detection program can be executed by one or more processors to implement the steps of the intelligent heart disease detection method as described above.

[0057] The intelligent heart disease detection method, device and computer-readable storage medium proposed in the present invention, when a user is undergoing heart disease detection, are based on a pre-acquired data set consisting of heart sound signals of heart disease patients, and the data set is processed to complete the training of a combined classifier model, and the user's heart sound signal data to be detected is input into the trained combined classifier model to detect users with potential heart disease, thereby presenting accurate detection results to the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 A schematic diagram of a flow chart of an intelligent heart disease detection method provided by an embodiment of the present invention;

[0059] Figure 2 A schematic diagram of the internal structure of an intelligent heart disease detection device provided by an embodiment of the present invention;

[0060] Figure 3 A schematic diagram of modules of an intelligent heart disease detection program in an intelligent heart disease detection device provided in an embodiment of the present invention.

[0061] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0062] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0063] The present invention provides an intelligent heart disease detection method. Figure 1 FIG. 1 is a flow chart of an intelligent heart disease detection method provided by an embodiment of the present invention. The method can be executed by a device, and the device can be implemented by software and / or hardware.

[0064] In this embodiment, the intelligent heart disease detection method includes:

[0065] S1. Acquire a data set consisting of heart sound signals of patients with heart diseases, establish labels for the data set to generate a label set, and classify the data set according to the label set.

[0066] In a preferred embodiment of the present invention, the data set is obtained by the following two methods: Method 1: The HSS data set provided by the ComparE competition in INTERSPEECH 2018. The HSS data set includes 845 heart sound signals of 170 cases, including 520 normal heart sound signals and 325 abnormal heart sound signals. Method 2: The data set provided by the PhysioNet / CinC competition in 2016. The PhysioNet / CinC data set includes 3153 heart sound signals of 764 patients, including 1643 normal heart sound signals and 1510 abnormal heart sound signals.

[0067] Furthermore, in a preferred embodiment of the present invention, labels of normal heart sound signals and abnormal heart sound signals are established for the data set, thereby generating a label set, and the data set is classified according to the label set. Furthermore, in a preferred embodiment of the present invention, 520 segments of normal heart sound signals in the HSS data set and 1510 segments of abnormal heart sound signals in the PhysioNet / CinC data set are divided into a first data set; 325 segments of abnormal heart sound signals in the HSS data set and 1643 segments of normal heart sound signals in the PhysioNet / CinC data set are divided into a second data set; 845 segments of heart sound signals in the HSS data set and 3153 segments of heart sound signals in the PhysioNet / CinC data set are divided into a third data set.

[0068] S2. Normalize the classified data set to obtain a source data set, and store the source data set in a database.

[0069] The normalization process is a way to simplify calculations, that is, to transform a dimensioned expression into a dimensionless expression and become a scalar. The normalization process in a preferred embodiment of the present invention includes mapping the classified data set to the interval [0,1] to obtain a source data set.

[0070] In a preferred embodiment of the present invention, the normalization processing algorithm is:

[0071] X'=(XX min ) / (X max -X min )

[0072] Among them, X is the data in the data set, X min is the minimum value of the data set, X max is the maximum value of the data set, and X' is the data after normalization processing of X. Preferably, the database selected in the present invention is a MySQL database.

[0073] S3. Use the source data set to train the pre-built combined classifier model to obtain training values, and calculate the unweighted average recall rate of the training values. When the unweighted average recall rate is greater than a preset threshold, the training of the combined classifier model is completed.

[0074] In a preferred embodiment of the present invention, the combined classifier model includes a convolutional neural network, a recurrent autoencoder, and segment-level features, which are respectively used to perform transfer learning (TL), supervised learning (SL), and representation learning (RL). Among them, the classifier uses given categories and known training data to learn classification rules to classify or predict unknown data. The transfer learning is used to use the knowledge learned from one environment to help learning tasks in a new environment; the supervised learning is used to learn a model so that the model can map a corresponding result to any given input; the representation learning is used to learn a collection of techniques for a feature, converting the original data into a form that can be effectively developed by machine learning, avoiding the trouble of manually extracting features.

[0075] Furthermore, the present invention performs a preprocessing operation on the source data set through transfer learning of the convolutional neural network to obtain the category probability of the heart sound signal segments in the source data set, and selects the heart sound signal segment set with the highest category probability as the prediction result set. In detail, the specific steps of the preprocessing operation are: performing a convolution operation on the source data set through a set of filters preset in the convolutional layer of the convolutional neural network to extract a feature vector; using the pooling layer of the convolutional neural network to perform a pooling operation on the feature vector and input it to the fully connected layer, and inputting a classification label to the feature vector through the activation function of the convolutional neural network, thereby obtaining the category probability of the heart sound signal segment in the source data set, and selecting the heart sound signal segment set with the highest category probability as the prediction result set.

[0076] Furthermore, the present invention uses the representation learning of the recurrent autoencoder to fit the prediction result set. The fitting is a representation method that substitutes existing data into a mathematical expression through mathematical methods. For example, a number of discrete data are obtained through methods such as sampling and experiments, and based on these data, a continuous function (i.e., a curve) or a more dense discrete equation is obtained to match the known data.

[0077] Furthermore, the present invention classifies the prediction result set after fitting through supervised learning of the segment-level features, thereby obtaining training values. In detail, the present invention uses the openSMILE toolset to extract features in the prediction result set, and classifies the heart sound signals of the prediction result set through a support vector machine and a linear discriminant analyzer. The openSMILE toolset is a data extraction tool. The support vector machine (SVM) is a supervised learning model related to a related learning algorithm, which can analyze data, identify patterns, and is used for classification and regression analysis.

[0078] A preferred embodiment of the present invention further calculates the accuracy and recall of the training values, and obtains the unweighted average recall of the training values ​​based on the accuracy and recall.

[0079] The accuracy is an evaluation index, which is the number of retrieved target samples divided by the total number of samples. Generally speaking, the higher the accuracy, the better the classifier. The recall rate (UAR) is used to evaluate the quality of the results, which is the ratio of the number of retrieved target data to all relevant data in the database.

[0080] In a preferred embodiment of the present invention, the accuracy calculation formula of the training value is as follows:

[0081]

[0082] Among them, precision represents the accuracy of the training value, ncorrect Represents the number of correct training values ​​output, n total Indicates the total amount of training data.

[0083] The recall calculation formula of the training value is as follows:

[0084]

[0085] Wherein, recall represents the recall rate of the training value, tp represents the number of actual heart sound signal segments, and fn represents the number of predicted heart sound signal segments.

[0086] The unweighted average recall rate obtained according to the precision rate and the recall rate is:

[0087]

[0088] Wherein, F1 represents the unweighted average recall rate of the training values. Preferably, the threshold value preset in the present invention is 0.9. When the unweighted average value is greater than 0.9, the training of the combined classifier model is completed.

[0089] S4. Input the heart sound signal data of the user to be detected into the trained combined classifier model to detect users with potential heart diseases.

[0090] A preferred embodiment of the present invention obtains the user's heart sound data through a digital stethoscope, uploads the user's heart sound data to the trained combined classifier model, obtains the detection result, and issues a warning prompt for the detected segment containing abnormal heart sound signals.

[0091] Furthermore, the present invention can also feed back the user's heart sound data to the cloud-based deep learning platform. According to the continuously increasing new data, the cloud-based deep learning platform continuously optimizes and improves the trained combined classifier model by presetting a certain period, and regularly releases new combined classifier models. The digital stethoscope is an auxiliary cardiac diagnostic tool with the appearance and feel of an acoustic stethoscope, which improves the ability to detect sound signals and can be interconnected with the application software to realize data transmission. The cloud-based deep learning is an artificial intelligence learning system based on cloud computing and big data. It simulates the neural network of the human brain for analysis and learning, and can process images, sounds and texts.

[0092] The invention also provides an intelligent heart disease detection device. Figure 2 FIG. 1 is a schematic diagram of the internal structure of an intelligent heart disease detection device provided in one embodiment of the present invention.

[0093] In this embodiment, the intelligent heart disease detection device 1 can be a PC (Personal Computer), or a terminal device such as a smart phone, a tablet computer, a portable computer, or a server, etc. The intelligent heart disease detection device 1 at least includes a memory 11, a processor 12, a communication bus 13, and a network interface 14.

[0094] The memory 11 includes at least one type of readable storage medium, which includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of the intelligent heart disease detection device 1, such as a hard disk of the intelligent heart disease detection device 1. In other embodiments, the memory 11 may also be an external storage device of the intelligent heart disease detection device 1, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card, etc. equipped on the intelligent heart disease detection device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the intelligent heart disease detection device 1. The memory 11 may not only be used to store application software and various types of data installed in the intelligent heart disease detection device 1, such as the code of the intelligent heart disease detection program 01, etc., but also be used to temporarily store data that has been output or is to be output.

[0095] In some embodiments, the processor 12 can be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, used to run the program code stored in the memory 11 or process data, such as executing the intelligent heart disease detection program 01.

[0096] The communication bus 13 is used to realize the connection and communication between these components.

[0097] The network interface 14 may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), and is generally used to establish a communication connection between the device 1 and other electronic devices.

[0098] Optionally, the device 1 may also include a user interface, which may include a display, an input unit such as a keyboard, and an optional user interface may also include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, etc. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the intelligent heart disease detection device 1 and to display a visual user interface.

[0099] Figure 2 Only the intelligent heart disease detection device 1 having components 11-14 and the intelligent heart disease detection program 01 is shown. It can be understood by those skilled in the art that Figure 1 The structure shown does not constitute a limitation on the intelligent heart disease detection device 1, and may include fewer or more components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0100] exist Figure 2 In the embodiment of the device 1 shown, the memory 11 stores an intelligent heart disease detection program 01; when the processor 12 executes the intelligent heart disease detection program 01 stored in the memory 11, the following steps are implemented:

[0101] Step 1: Acquire a data set consisting of heart sound signals of patients with heart disease, establish labels for the data set to generate a label set, and classify the data set according to the label set.

[0102] In a preferred embodiment of the present invention, the data set is obtained by the following two methods: Method 1: The HSS data set provided by the ComparE competition in INTERSPEECH 2018. The HSS data set includes 845 heart sound signals of 170 cases, including 520 normal heart sound signals and 325 abnormal heart sound signals. Method 2: The data set provided by the PhysioNet / CinC competition in 2016. The PhysioNet / CinC data set includes 3153 heart sound signals of 764 patients, including 1643 normal heart sound signals and 1510 abnormal heart sound signals.

[0103] Furthermore, in a preferred embodiment of the present invention, labels of normal heart sound signals and abnormal heart sound signals are established for the data set, thereby generating a label set, and the data set is classified according to the label set. Furthermore, in a preferred embodiment of the present invention, 520 segments of normal heart sound signals in the HSS data set and 1510 segments of abnormal heart sound signals in the PhysioNet / CinC data set are divided into a first data set; 325 segments of abnormal heart sound signals in the HSS data set and 1643 segments of normal heart sound signals in the PhysioNet / CinC data set are divided into a second data set; 845 segments of heart sound signals in the HSS data set and 3153 segments of heart sound signals in the PhysioNet / CinC data set are divided into a third data set.

[0104] Step 2: normalize the classified data set to obtain a source data set, and store the source data set in a database.

[0105] The normalization process is a way to simplify calculations, that is, to transform a dimensioned expression into a dimensionless expression and become a scalar. The normalization process in a preferred embodiment of the present invention includes mapping the classified data set to the interval [0,1] to obtain a source data set.

[0106] In a preferred embodiment of the present invention, the normalization processing algorithm is:

[0107] X'=(XX min ) / (X max -X min )

[0108] Among them, X is the data in the data set, X min is the minimum value of the data set, X max is the maximum value of the data set, and X' is the data after normalization processing of X. Preferably, the database selected in the present invention is a MySQL database.

[0109] Step three: use the source data set to train the pre-built combined classifier model to obtain training values, and calculate the unweighted average recall rate of the training values. When the unweighted average recall rate is greater than a preset threshold, the training of the combined classifier model is completed.

[0110] In a preferred embodiment of the present invention, the combined classifier model includes a convolutional neural network, a recurrent autoencoder, and segment-level features, which are respectively used to perform transfer learning (TL), supervised learning (SL), and representation learning (RL). Among them, the classifier uses given categories and known training data to learn classification rules to classify or predict unknown data. The transfer learning is used to use the knowledge learned from one environment to help learning tasks in a new environment; the supervised learning is used to learn a model so that the model can map a corresponding result to any given input; the representation learning is used to learn a collection of techniques for a feature, converting the original data into a form that can be effectively developed by machine learning, avoiding the trouble of manually extracting features.

[0111] Furthermore, the present invention performs a preprocessing operation on the source data set through transfer learning of the convolutional neural network to obtain the category probability of the heart sound signal segments in the source data set, and selects the heart sound signal segment set with the highest category probability as the prediction result set. In detail, the specific steps of the preprocessing operation are: performing a convolution operation on the source data set through a set of filters preset in the convolutional layer of the convolutional neural network to extract a feature vector; using the pooling layer of the convolutional neural network to perform a pooling operation on the feature vector and input it to the fully connected layer, and inputting a classification label to the feature vector through the activation function of the convolutional neural network, thereby obtaining the category probability of the heart sound signal segment in the source data set, and selecting the heart sound signal segment set with the highest category probability as the prediction result set.

[0112] Furthermore, the present invention uses the representation learning of the recurrent autoencoder to fit the prediction result set. The fitting is a representation method that substitutes existing data into a mathematical expression through mathematical methods. For example, a number of discrete data are obtained through methods such as sampling and experiments, and based on these data, a continuous function (i.e., a curve) or a more dense discrete equation is obtained to match the known data.

[0113] Furthermore, the present invention classifies the prediction result set after fitting through supervised learning of the segment-level features, thereby obtaining training values. In detail, the present invention uses the openSMILE toolset to extract features in the prediction result set, and classifies the heart sound signals of the prediction result set through a support vector machine and a linear discriminant analyzer. The openSMILE toolset is a data extraction tool. The support vector machine (SVM) is a supervised learning model related to a related learning algorithm, which can analyze data, identify patterns, and is used for classification and regression analysis.

[0114] A preferred embodiment of the present invention further calculates the accuracy and recall of the training values, and obtains the unweighted average recall of the training values ​​based on the accuracy and recall.

[0115] The accuracy is an evaluation index, which is the number of retrieved target samples divided by the total number of samples. Generally speaking, the higher the accuracy, the better the classifier. The recall rate (UAR) is used to evaluate the quality of the results, which is the ratio of the number of retrieved target data to all relevant data in the database.

[0116] In a preferred embodiment of the present invention, the accuracy calculation formula of the training value is as follows:

[0117]

[0118] Among them, precision represents the accuracy of the training value, n correct Represents the number of correct training values ​​output, n total Indicates the total amount of training data.

[0119] The recall calculation formula of the training value is as follows:

[0120]

[0121] Wherein, recall represents the recall rate of the training value, tp represents the number of actual heart sound signal segments, and fn represents the number of predicted heart sound signal segments.

[0122] The unweighted average recall rate obtained according to the precision rate and the recall rate is:

[0123]

[0124] Wherein, F1 represents the unweighted average recall rate of the training values. Preferably, the threshold value preset in the present invention is 0.9. When the unweighted average value is greater than 0.9, the training of the combined classifier model is completed.

[0125] Step 4: input the heart sound signal data of the user to be detected into the trained combined classifier model to detect users with potential heart diseases.

[0126] A preferred embodiment of the present invention obtains the user's heart sound data through a digital stethoscope, uploads the user's heart sound data to the trained combined classifier model, obtains the detection result, and issues a warning prompt for the detected segment containing abnormal heart sound signals.

[0127] Furthermore, the present invention can also feed back the user's heart sound data to the cloud-based deep learning platform. According to the continuously increasing new data, the cloud-based deep learning platform continuously optimizes and improves the trained combined classifier model by presetting a certain period, and regularly releases new combined classifier models. The digital stethoscope is an auxiliary cardiac diagnostic tool with the appearance and feel of an acoustic stethoscope, which improves the ability to detect sound signals and can be interconnected with the application software to realize data transmission. The cloud-based deep learning is an artificial intelligence learning system based on cloud computing and big data. It simulates the neural network of the human brain for analysis and learning, and can process images, sounds and texts.

[0128] Optionally, in other embodiments, the intelligent heart disease detection program can also be divided into one or more modules, one or more modules are stored in the memory 11, and are executed by one or more processors (processor 12 in this embodiment) to complete the present invention. The module referred to in the present invention refers to a series of computer program instruction segments that can perform specific functions, and is used to describe the execution process of the intelligent heart disease detection program in the intelligent heart disease detection device.

[0129] For example, refer to Figure 3 FIG. 1 is a schematic diagram of a program module of an intelligent heart disease detection program in an embodiment of an intelligent heart disease detection device of the present invention. In this embodiment, the intelligent heart disease detection program can be divided into a data receiving module 10, a data processing module 20, a model training module 30 and a detection module 40. For example:

[0130] The data receiving module 10 is used to obtain a data set consisting of heart sound signals of patients with heart diseases, establish labels for the data set, generate a label set, and classify the data set according to the label set.

[0131] The data processing module 20 is used to normalize the classified data set to obtain a source data set, and store the source data set in a database.

[0132] The model training module 30 is used to: use the source data set to train the pre-constructed combined classifier model to obtain training values, and calculate the unweighted average recall rate of the training values. When the unweighted average recall rate is greater than a preset threshold, the training of the combined classifier model is completed.

[0133] The detection module 40 is used to input the heart sound signal data of the user to be detected into the trained combined classifier model to detect users with potential heart diseases.

[0134] The functions or operation steps implemented when the program modules such as the data receiving module 10, the data processing module 20, the model training module 30 and the detection module 40 are executed are substantially the same as those in the above-mentioned embodiments and will not be repeated here.

[0135] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which an intelligent heart disease detection program is stored. The intelligent heart disease detection program can be executed by one or more processors to implement the following operations:

[0136] Acquire a data set consisting of heart sound signals of patients with heart diseases, establish labels for the data set to generate a label set, and classify the data set according to the label set;

[0137] Normalizing the classified data set to obtain a source data set, and storing the source data set in a database;

[0138] Using the source data set to train the pre-built combined classifier model to obtain training values, and calculating the unweighted average recall rate of the training values, when the unweighted average recall rate is greater than a preset threshold, the training of the combined classifier model is completed;

[0139] The heart sound signal data of the user to be detected is input into the trained combined classifier model to detect users with potential heart diseases.

[0140] The specific implementation of the computer-readable storage medium of the present invention is substantially the same as the above-mentioned embodiments of the intelligent heart disease detection device and method, and will not be described again here.

[0141] It should be noted that the serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. And the terms "including", "comprising" or any other variants thereof in this article are intended to cover non-exclusive inclusion, so that a process, device, article or method 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, device, article or method. In the absence of further restrictions, an element defined by the sentence "including a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.

[0142] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0143] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. An intelligent heart disease detection method, characterized in that: The method comprises: Acquire a data set consisting of heart sound signals of patients with heart diseases, establish labels of normal heart sound signals and abnormal heart sound signals for the data set, generate a label set, and classify the data set according to the label set; Normalizing the classified data set to obtain a source data set, and storing the source data set in a database; A combined classifier model is constructed according to a preset convolutional neural network, a recurrent autoencoder and segment-level features, the source data set is preprocessed by transfer learning of the convolutional neural network to obtain the category probability of the heart sound signal segments in the source data set, and the heart sound signal segment set with the highest category probability is selected as the prediction result set, the prediction result set is fitted by representation learning of the recurrent autoencoder, the fitted prediction result set is classified by supervised learning of the segment-level features to obtain training values, and the unweighted average recall rate of the training values ​​is calculated, and when the unweighted average recall rate is greater than a preset threshold, the training of the combined classifier model is completed; The heart sound signal data of the user to be detected is input into the trained combined classifier model to detect users with potential heart diseases.

2. The intelligent heart disease detection method according to claim 1, characterized in that: The normalization process comprises: Map the classified data set to the interval [0,1]; Wherein, the normalization processing algorithm is: X' = (X - X min ) / (X max - X min ) Where X min is the minimum value of the data set, X max is the maximum value of the data set.

3. The intelligent heart disease detection method according to claim 1, characterized in that: The preprocessing operation is performed on the source data set through the transfer learning of the convolutional neural network to obtain the category probabilities of the heart sound signal segments in the source data set, and the heart sound signal segment set with the highest category probability is selected as the prediction result set, including: Performing a convolution operation on the source data set by using a set of filters preset in the convolutional layer of the convolutional neural network to extract a feature vector; The feature vector is pooled by using the pooling layer of the convolutional neural network and input into the fully connected layer. The classification label is input into the feature vector through the activation function of the convolutional neural network to obtain the category probability of the heart sound signal segments in the source data set, and the set of heart sound signal segments with the highest category probability is selected as the prediction result set.

4. The intelligent heart disease detection method according to claim 1, characterized in that: The calculating the unweighted average recall of the training values ​​comprises: Calculating the precision and recall of the training values; The accuracy calculation formula of the training value is as follows: Wherein, precision represents the accuracy of the training value, Represents the number of correct training values ​​output, Indicates the total amount of heart sound signal segments for training; The recall calculation formula of the training value is as follows: Wherein, recall represents the recall rate of the training value, tp represents the number of actual heart sound signal segments, and fn represents the number of predicted heart sound signal segments; The unweighted average recall is obtained according to the precision and the recall: Wherein, F1 represents the unweighted average recall of the training values.

5. An intelligent heart disease detection device, characterized in that: The device includes a memory and a processor, wherein the memory stores an intelligent heart disease detection program that can be run on the processor, and when the intelligent heart disease detection program is executed by the processor, the following steps are implemented: Acquire a data set consisting of heart sound signals of patients with heart diseases, establish labels of normal heart sound signals and abnormal heart sound signals for the data set, generate a label set, and classify the data set according to the label set; Normalizing the classified data set to obtain a source data set, and storing the source data set in a database; A combined classifier model is constructed according to a preset convolutional neural network, a recurrent autoencoder and segment-level features, the source data set is preprocessed by transfer learning of the convolutional neural network to obtain the category probability of the heart sound signal segments in the source data set, and the heart sound signal segment set with the highest category probability is selected as the prediction result set, the prediction result set is fitted by representation learning of the recurrent autoencoder, the fitted prediction result set is classified by supervised learning of the segment-level features to obtain training values, and the unweighted average recall rate of the training values ​​is calculated, and when the unweighted average recall rate is greater than a preset threshold, the training of the combined classifier model is completed; The heart sound signal data of the user to be detected is input into the trained combined classifier model to detect users with potential heart diseases.

6. The intelligent heart disease detection device according to claim 5, characterized in that: The preprocessing operation is performed on the source data set through the transfer learning of the convolutional neural network to obtain the category probabilities of the heart sound signal segments in the source data set, and the heart sound signal segment set with the highest category probability is selected as the prediction result set, including: Performing a convolution operation on the source data set by using a set of filters preset in the convolutional layer of the convolutional neural network to extract a feature vector; The feature vector is pooled by using the pooling layer of the convolutional neural network and input into the fully connected layer. The classification label is input into the feature vector through the activation function of the convolutional neural network to obtain the category probability of the heart sound signal segments in the source data set, and the set of heart sound signal segments with the highest category probability is selected as the prediction result set.

7. The intelligent heart disease detection device according to claim 5, characterized in that: The calculating the unweighted average recall of the training values ​​comprises: Calculating the precision and recall of the training values; The accuracy calculation formula of the training value is as follows: Wherein, precision represents the accuracy of the training value, Represents the number of correct training values ​​output, Indicates the total amount of heart sound signal segments for training; The recall calculation formula of the training value is as follows: Wherein, recall represents the recall rate of the training value, tp represents the number of actual heart sound signal segments, and fn represents the number of predicted heart sound signal segments; The unweighted average recall is obtained according to the precision and the recall: Wherein, F1 represents the unweighted average recall of the training values.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an intelligent heart disease detection program, which can be executed by one or more processors to implement the steps of the intelligent heart disease detection method as described in any one of claims 1 to 4.