Using K-Nearest Neighbor Classification to Diagnose Abnormal Lung Sounds
A reported 30% of people worldwide have abnormal lung sounds, including crackles, rhonchi, and wheezes. To date, the traditional stethoscope remains the most popular tool used by physicians to diagnose such abnormal lung sounds, however, many problems arise with the use of a stethoscope, including t...
Main Authors: | , , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2015-06-01
|
Series: | Sensors |
Subjects: | |
Online Access: | http://www.mdpi.com/1424-8220/15/6/13132 |
id |
doaj-d469881a2108487daf62ccdf1ba68a74 |
---|---|
record_format |
Article |
spelling |
doaj-d469881a2108487daf62ccdf1ba68a742020-11-25T01:01:31ZengMDPI AGSensors1424-82202015-06-01156131321315810.3390/s150613132s150613132Using K-Nearest Neighbor Classification to Diagnose Abnormal Lung SoundsChin-Hsing Chen0Wen-Tzeng Huang1Tan-Hsu Tan2Cheng-Chun Chang3Yuan-Jen Chang4Department of Management Information Systems, Central Taiwan University of Science and Technology, Taichung 40601, Taiwan, ChinaDepartment of Computer Science and Information Engineering, Minghsin University of Science and Technology, Hsinchu 30401, Taiwan, ChinaDepartment of Electrical Engineering, National Taipei University of Technology, Taipei 10608, Taiwan, ChinaDepartment of Electrical Engineering, National Taipei University of Technology, Taipei 10608, Taiwan, ChinaDepartment of Management Information Systems, Central Taiwan University of Science and Technology, Taichung 40601, Taiwan, ChinaA reported 30% of people worldwide have abnormal lung sounds, including crackles, rhonchi, and wheezes. To date, the traditional stethoscope remains the most popular tool used by physicians to diagnose such abnormal lung sounds, however, many problems arise with the use of a stethoscope, including the effects of environmental noise, the inability to record and store lung sounds for follow-up or tracking, and the physician’s subjective diagnostic experience. This study has developed a digital stethoscope to help physicians overcome these problems when diagnosing abnormal lung sounds. In this digital system, mel-frequency cepstral coefficients (MFCCs) were used to extract the features of lung sounds, and then the K-means algorithm was used for feature clustering, to reduce the amount of data for computation. Finally, the K-nearest neighbor method was used to classify the lung sounds. The proposed system can also be used for home care: if the percentage of abnormal lung sound frames is > 30% of the whole test signal, the system can automatically warn the user to visit a physician for diagnosis. We also used bend sensors together with an amplification circuit, Bluetooth, and a microcontroller to implement a respiration detector. The respiratory signal extracted by the bend sensors can be transmitted to the computer via Bluetooth to calculate the respiratory cycle, for real-time assessment. If an abnormal status is detected, the device will warn the user automatically. Experimental results indicated that the error in respiratory cycles between measured and actual values was only 6.8%, illustrating the potential of our detector for home care applications.http://www.mdpi.com/1424-8220/15/6/13132K-means algorithmK-nearest neighborlung soundMFCCstethoscope |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Chin-Hsing Chen Wen-Tzeng Huang Tan-Hsu Tan Cheng-Chun Chang Yuan-Jen Chang |
spellingShingle |
Chin-Hsing Chen Wen-Tzeng Huang Tan-Hsu Tan Cheng-Chun Chang Yuan-Jen Chang Using K-Nearest Neighbor Classification to Diagnose Abnormal Lung Sounds Sensors K-means algorithm K-nearest neighbor lung sound MFCC stethoscope |
author_facet |
Chin-Hsing Chen Wen-Tzeng Huang Tan-Hsu Tan Cheng-Chun Chang Yuan-Jen Chang |
author_sort |
Chin-Hsing Chen |
title |
Using K-Nearest Neighbor Classification to Diagnose Abnormal Lung Sounds |
title_short |
Using K-Nearest Neighbor Classification to Diagnose Abnormal Lung Sounds |
title_full |
Using K-Nearest Neighbor Classification to Diagnose Abnormal Lung Sounds |
title_fullStr |
Using K-Nearest Neighbor Classification to Diagnose Abnormal Lung Sounds |
title_full_unstemmed |
Using K-Nearest Neighbor Classification to Diagnose Abnormal Lung Sounds |
title_sort |
using k-nearest neighbor classification to diagnose abnormal lung sounds |
publisher |
MDPI AG |
series |
Sensors |
issn |
1424-8220 |
publishDate |
2015-06-01 |
description |
A reported 30% of people worldwide have abnormal lung sounds, including crackles, rhonchi, and wheezes. To date, the traditional stethoscope remains the most popular tool used by physicians to diagnose such abnormal lung sounds, however, many problems arise with the use of a stethoscope, including the effects of environmental noise, the inability to record and store lung sounds for follow-up or tracking, and the physician’s subjective diagnostic experience. This study has developed a digital stethoscope to help physicians overcome these problems when diagnosing abnormal lung sounds. In this digital system, mel-frequency cepstral coefficients (MFCCs) were used to extract the features of lung sounds, and then the K-means algorithm was used for feature clustering, to reduce the amount of data for computation. Finally, the K-nearest neighbor method was used to classify the lung sounds. The proposed system can also be used for home care: if the percentage of abnormal lung sound frames is > 30% of the whole test signal, the system can automatically warn the user to visit a physician for diagnosis. We also used bend sensors together with an amplification circuit, Bluetooth, and a microcontroller to implement a respiration detector. The respiratory signal extracted by the bend sensors can be transmitted to the computer via Bluetooth to calculate the respiratory cycle, for real-time assessment. If an abnormal status is detected, the device will warn the user automatically. Experimental results indicated that the error in respiratory cycles between measured and actual values was only 6.8%, illustrating the potential of our detector for home care applications. |
topic |
K-means algorithm K-nearest neighbor lung sound MFCC stethoscope |
url |
http://www.mdpi.com/1424-8220/15/6/13132 |
work_keys_str_mv |
AT chinhsingchen usingknearestneighborclassificationtodiagnoseabnormallungsounds AT wentzenghuang usingknearestneighborclassificationtodiagnoseabnormallungsounds AT tanhsutan usingknearestneighborclassificationtodiagnoseabnormallungsounds AT chengchunchang usingknearestneighborclassificationtodiagnoseabnormallungsounds AT yuanjenchang usingknearestneighborclassificationtodiagnoseabnormallungsounds |
_version_ |
1725208895135154176 |