Medical Signal Processing in Biomedical and Clinical ApplicationsView this Special Issue
Research Article | Open Access
Pradeepa H. Dakappa, Keerthana Prasad, Sathish B. Rao, Ganaraja Bolumbu, Gopalkrishna K. Bhat, Chakrapani Mahabala, "A Predictive Model to Classify Undifferentiated Fever Cases Based on Twenty-Four-Hour Continuous Tympanic Temperature Recording", Journal of Healthcare Engineering, vol. 2017, Article ID 5707162, 6 pages, 2017. https://doi.org/10.1155/2017/5707162
A Predictive Model to Classify Undifferentiated Fever Cases Based on Twenty-Four-Hour Continuous Tympanic Temperature Recording
Diagnosis of undifferentiated fever is a major challenging task to the physician which often remains undiagnosed and delays the treatment. The aim of the study was to record and analyze a 24-hour continuous tympanic temperature and evaluate its utility in the diagnosis of undifferentiated fevers. This was an observational study conducted in the Kasturba Medical College and Hospitals, Mangaluru, India. A total of ninety-six () patients were presented with undifferentiated fever. Their tympanic temperature was recorded continuously for 24 hours. Temperature data were preprocessed and various signal characteristic features were extracted and trained in classification machine learning algorithms using MATLAB software. The quadratic support vector machine algorithm yielded an overall accuracy of 71.9% in differentiating the fevers into four major categories, namely, tuberculosis, intracellular bacterial infections, dengue fever, and noninfectious diseases. The area under ROC curve for tuberculosis, intracellular bacterial infections, dengue fever, and noninfectious diseases was found to be 0.961, 0.801, 0.815, and 0.818, respectively. Good agreement was observed [kappa = 0.618 (, 95% CI (0.498–0.737))] between the actual diagnosis of cases and the quadratic support vector machine learning algorithm. The 24-hour continuous tympanic temperature recording with supervised machine learning algorithm appears to be a promising noninvasive and reliable diagnostic tool.
Undifferentiated fever is a commonly encountered febrile illness without any localized signs or symptoms . According to a systematic review, the percentage of undiagnosed cases of undifferentiated fever in Asia is about 8% to 80% . In resource-limited countries, the decision regarding clinical investigations at an early stage is a challenging task for the physicians . The nonspecificity of symptoms and lack of availability of accurate diagnosis not only has a significant impact on clinical decision-making but often leads to the irrational use of antibiotics [3, 4]. In most of the undifferentiated fever cases, empirical treatment either does not work or may be harmful and might delay hospitalization of the patient, with subsequent increase in medical expenses.
Monitoring of the fever can provide valuable information for diagnosis and prognosis of the disease. Many scientific studies reported on the utility of temperature monitoring as a predictive tool for certain clinical diseases [5–15]. One century earlier, Woodhead et al. studied the 24–48 hours of quasicontinuous temperature recordings in patients for the diagnosis and prognosis of tuberculosis. In cases of tuberculosis, they observed a few characteristic features of temperature curve like sudden rise of afternoon and evening temperature, rapid fall, continuous high temperature above 99°C for 8 to 9 hours, and mountain peaks on plateau phase . However, not enough studies were done to explore the utility of temperature, probably because of limited hardware capabilities, with cumbersome recording methods and software issues, which were not well developed at that time. Two decades earlier, interest in 24-hour temperature recording system re-emerged after Varela et al. showed continuous recording of body temperature using tympanic and axillary probes and analysis of temperature data [4, 12]. The quantitative measurement of body temperature has shown promising results in the management of hypovolemia, mortality in critically ill patients, diagnosis of lactic acidosis, the prognosis of organ hypoperfusion and shock, besides acting as a marker of cardiovascular status, dyspnea, and tissue perfusion [5–10]. Another study reported that the abnormal body temperature could act as a predictor of the diagnosis of sepsis in febrile, critically ill patients . However, these studies did not address the underlying issue of diagnostic utility of temperature recordings in undifferentiated fevers.
Body temperature is a physiological signal which has essential features and trends associated with it. However, some of this information like minute variations, trends, and patterns in time series domain may not be apparent with conventional methods and may require complex mathematical models for their analysis. Unlike other vital signals like ECG, EEG, and EMG, there are only a limited number of studies on the temperature signal for predicting certain diseases by using mathematical models [12, 13, 15]. Researchers observed the body temperature variations in patients either visually or by using specific mathematical models. Papaioannou et al. studied the temperature patterns using linear discriminant analysis and cluster analysis by extracting wavelet features for the differentiation of patients with systemic inflammatory response syndrome, sepsis, and septic shock. Researchers extracted different wavelet features from the temperature pattern among the three groups (systemic inflammatory response syndrome, sepsis, and septic shock) and found statistically significant outcome . Varela et al. applied approximate entropy and detrended fluctuation analysis (DFA) methods for determining the loss of complexity of the temperature curve associated with the diseased state. They compared results with conventional Sequential Organ Failure Assessment (SOFA) score and found that the temperature curve complexity is inversely related to the severity of patient’s status. The approximate values were significantly low in nonsurvivors than in survival patients [13, 17]. In another study, Varela et al. used approximate entropy as a feature and found 72% accuracy in classifying two groups: death and survival patients with multiple organ failure . Two more scientific studies reported the predictive model for differentiating dengue fever cases with other febrile illness, early phase of illness using multivariate logistic regression model and decision tree algorithm [19, 20]. Although these studies were done either in critical care settings for prognostication or for studying the extent of complications, they have not been studied in formal settings of diagnostic utility in undifferentiated tropical fevers.
Machine learning provides techniques, tools, and models that can aid in solving diagnostic and prognostic problems in a variety of clinical conditions. Machine learning algorithms are widely applied in classification of diseases based on ECG, EEG, and EMG signals . Automated detection and classification of fever patterns using machine learning techniques with the specific algorithm-based classifier for specific diseases might have potential benefits such as increasing efficiency, reproducibility, and cost-effectiveness by providing early diagnosis of the disease and treatment, especially in undifferentiated fever cases.
It is through this study that we intend to record, analyze, and classify the tympanic temperature recordings of patients presenting with undifferentiated fever and using body temperature as a predictive variable for differentiating undifferentiated fevers.
2. Materials and Methods
2.1. Data Collection
This was an observational study conducted in a tertiary care hospital. A total of ninety-six () patients presenting with prolonged fever symptom were recruited in the study. Patients who were on antipyretics, steroids, and with a history of hyperthermia and central nervous system disorder were excluded from the study. Malaria-infected fever patients were excluded in this study, because it is evident that malarial fever cycle occurs at every 48 hours  and we recorded the temperatures only for 24 hours. The patients were informed not to take a bath during temperature monitoring. Complete procedure of the study was explained to subjects before taking the informed consent and conducting the study. The study was approved by the institutional ethics committee. Anthropometric parameters like age, blood pressure, pulse rate, and BMI of each subject were noted. The continuous 24-hour tympanic temperature was recorded by using TherCom® temperature monitoring device [23, 24]. The final diagnosis of each patient was noted.
2.2. Preprocessing of Data
The temperature recordings were plotted and visually inspected for any missing data and filtered by using the Savitzky–Golay filter for smoothing the tracings without greatly distorting the signal. Each temperature recordings have 1440 data points, which were plotted at 9:00 AM to 9:00 AM timeframe.
2.3. Feature Extraction
Characteristic features of signal such as fast Fourier transform, entropy, energy, power, principal component analysis coefficients, autoregressive coefficients, wavelet transform coefficients, mean, and variance were extracted using MATLAB software (version R2013b), and visual observations of each temperature recordings such as presence of late night rise and presence of more than or equal to three peaks features were extracted. Extracted features were standardized using the normalization method. Further, 90% of extracted features were used for training and 10% for the test, using the classical 5-fold cross-validation setup.
To identify the accuracy of classification of the disease type, the four target diseases (tuberculosis, intracellular bacterial infections, dengue fever, and noninfectious (inflammatory and neoplastic) diseases) were assigned as responses and extracted features were assigned as predictors. Responses were assigned based on the final clinical diagnosis of each case corresponding to temperature recordings.
2.4. Evaluation of Algorithm
Evaluation of classification algorithm was done by using classification application in MATLAB, which has a set of algorithms, where we can train extracted feature datasets. The algorithm which gives the highest accuracy was selected. In our study, we found the highest classification accuracy in quadratic support vector machine (SVM) algorithm.
2.5. Statistical Analysis
Data were expressed as mean ± SD. Descriptive data analysis was done and an agreement between the classification of fever patterns by quadratic support vector machine learning algorithm and final diagnosis of the cases was performed by Kappa statistics by using Statistical Package for Social Sciences (SPSS) version 16, Chicago, IL. Feature extraction and area under receiver operating characteristic (ROC) curve of each categorized data were performed using the MATLAB software (version R2013b, the Mathworks, USA).
A total of ninety-six () patients presenting with undifferentiated fever were recruited in the study. As per the physician’s diagnosis and based on laboratory diagnostic tests, subjects were categorized into tuberculosis (), intracellular bacterial infections (), dengue fever (), and noninfectious diseases (). Table 1 summarizes the demographic details of each disease category. Demographic measures such as mean age, body mass index (BMI), blood pressure, and pulse rate did not differ between different disease groups.
|BMI: body mass index; SBP: systolic blood pressure; DBP: diastolic blood pressure.|
We analyzed a quadratic support vector machine algorithm model for the differentiation of cases of the fever with 24-hour continuous tympanic temperature data and found an overall 71.9% accuracy in the algorithm. The algorithm performance for classifying the undifferentiated fever cases is summarized in Table 2. The overall area under ROC curve of each categorized data set is described in Table 3. The positive and negative predictive values and likelihood ratios of each categorized data set are described in Table 4. In summary, the quadratic support vector machine algorithm shows clinically significant accuracy in classifying assigned diseases.
|#Area under ROC curve was automatically calculated and given by MATLAB software.|
We performed kappa agreement test between the classification of temperature patterns by quadratic support vector machine learning algorithm and with an actual diagnosis of cases.
We found a statistically significant good kappa agreement of 0.618 [, 95% CI (0.498–0.737)] between the quadratic support vector machine (SVM) learning algorithm and final diagnosis of cases.
In this study, we found a very high yield in the quadratic support vector machine (SVM) learning algorithm in classifying undifferentiated fevers using data obtained from 24-hour continuous noninvasive temperature monitoring. We found that classification of undifferentiated fevers into four major categories is possible and is likely to optimize the evaluation of undifferentiated tropical fevers.
Undifferentiated tropical fevers are very perplexing issues for the internist or general physicians in resource-limited settings, because undirected investigations add to the cause and lead to inappropriate clinical decisions. The classification model confirmed the utility of body temperature signal as a primary variable for classifying the undifferentiated fevers. In particular, diagnostic yield for tuberculosis was extremely high and sensitivity and specificity of tuberculosis group were found to be 96.43% (81.65%–99.9%) and 91.18% (81.78%–96.6%), respectively (Table 3). This could help in limiting unnecessary investigations focusing on a group of diseases and will allow a targeted investigative approach in undifferentiated fevers.
We found that the SVM learning algorithm showed higher sensitivity of 96.43% (95%CI, 81.65–99.91) and specificity of 91.18% (81.78–96.6) in detecting tuberculosis in comparison to acid-fast bacilli smear test with a sensitivity of 67.5% (95%CI, 60.6–73.9) and specificity of 97.5% (95%CI, 97.0–97.9) among 5336 samples reported by Mathew et al. . The SVM learning algorithm showed low sensitivity [53.33% (95%CI, 26.59–78.73)] and specificity [93.83% (95%CI, 86.18–97.97)] in predicting the cases of dengue in comparison to the sensitivity [77.3% (95%CI, 69.8–83.6)] and specificity [100% (95%CI, 98.5)] of the NS1 Ag rapid strip test for the diagnosis of dengue fever in 154 patients . In case of intracellular bacterial infections, SVM learning algorithm presented sensitivity [55.56% (95% CI, 35.33–74.52)] and specificity [92.75% (95%CI, 83.89–97.61)] in predicting the bacterial infections from undifferentiated fever cases using features of temperature tracings which were comparable with findings of procalcitonin as a biomarker for bacterial infection with 64.5% sensitivity and 84.0% specificity in differentiating the bacterial infections from febrile patients as reported by Qu et al. . The advantage of SVM learning algorithm is that one test is sufficient to differentiate four major clinical conditions, whereas culture or serology tests are to be performed separately for each clinical condition and these tests are invasive and expensive.
The procedure is simple, noninvasive, inexpensive, and reliable. The algorithm can easily be exported to any conventional computational devices, thereby allowing this to be implemented as a point of care diagnostic test. In addition, the 24-hour continuous temperature recording also helps us in identifying the undetected fever spikes in conventional monitoring method. Two scientific studies were reported on the significance of continuous temperature monitoring over conventional temperature monitoring method [4, 24]. Varela et al. studied in 62 patients presenting with fever and found that continuous temperature recording method detected mean of 0.7 (95% CI, 0.27–1.33) peaks of fever unnoticed by conventional care . In our previous study, we found that intermittent nature of fever patterns was clearly detected by continuous recordings, whereas conventional method failed to capture 29.9% of intermittent nature of fever patterns. Hence, capturing complete variations of body temperature was an added benefit of 24-hour continuous temperature monitoring method.
In the previous study, some of the mathematical models were utilized for prediction and prognostication of certain clinical conditions. In two different studies, Varela et al. applied approximate entropy alone, and along with detrended fluctuation analysis (DFA) to measure the complexity of temperature curve in correlating with SOFA values for predicting survival in critically ill patients [17, 18]. Papaioannou et al. assessed the temperature complexity in a cohort of critically ill patients who developed sepsis and septic shock during their stay in ICU and found an early prediction of mortality in them by extracting Tsallis entropy (TsEn) and Shannon entropy (Sh) as features . Varela et al. also tried the classification of diagnostic groups using complexity variable (approximate entropy) . However, researchers did not yield fruitful results probably because of single or either of the two mathematical parameters such as approximate entropy and DFA, TsEn, and Shannon entropy were looked for in the signal, and the other features which we believe are important were not evaluated. Moreover, the previous studies addressed the complexity of temperature signal in critical care patients and not in formal settings. Wavelet analysis and multiscale entropy were used in one study by Papaioannou et al. ; however, in our study, we included wavelet coefficients as a feature of one-dimensional signal and applied it in the machine learning processes. In addition to this, we observed some of the important features visually. We combined both visually important and other extracted features in the machine learning algorithm, which appears to yield a very high success rate in appropriate classification.
While the concept of continuous fever recording began way back a century ago, , somehow it was not taken forward because of hardware and software impediments. Now, there is a need to revisit this interesting concept with manifold better hardware and software technologies and their issues have been largely dealt with.
Limitation of the study includes relatively very small sample size, but case mixes were similar those in other reported study . Some technical difficulties while monitoring temperature were mainly the falling off of the tympanic probe from the ear canal which interrupts the continuous recording. Secondly, the loose connection of probe to the data logger interrupted continuous data storage. This was also mentioned in a previously conducted study by Varela et al. . We applied the Savitzky–Golay filter for noise reduction and smoothening of the temperature signal without distorting the signal. There are other filtering methods that can be applied to filter the data which may increase the yield in classification algorithm.
The interesting observations found in this small group of samples need to be studied in a bigger sample size. Once the large data sets are obtained, artificial neural network analysis may offer a higher yield. Extensive use of this promising algorithm may yield significant output with a larger dataset in the future, which will further allow us to apply artificial neuronal network at that point in time. We have done the analysis in undifferentiated fever settings, but it is very likely that it may also be useful in pyrexia of unknown origin settings. We have four classifying groups of samples, but with the expanding samples, further groups may be apparently evident and might improve the accuracy of the model. Another important possibility would be to record two or three days of temperature and to look for patterns and extract features in a bigger recording time frame.
Use of supervised automated classifying algorithm can provide a significant clue for the discrimination of undifferentiated fevers at an early stage. An accurate diagnostic test aids the process of quick decision-making by the physician, in addition to minimizing the cost of unnecessary diagnostic tests. As a noninvasive tool, temperature pattern classifier algorithm may become an essential, additional diagnostic tool which can be used as inpatient and outpatient clinical settings in the future for the evaluation of fever of various clinical conditions.
Conflicts of Interest
The authors declare that they have no conflict of interest.
This research was supported by the Kasturba Medical College and Hospitals, Manipal University, Mangaluru, Karnataka, India.
- R. Joshi, The Epidemiologic Features of Acute Encephalitis Syndrome in Central India, 2009, http://digitalassets.lib.berkeley.edu/etd/ucb/text/Joshi_berkeley_0028E_10123.pdf.
- T. N. Susilawati and W. J. McBride, “Acute undifferentiated fever in Asia: a review of the literature,” Southeast Asian Journal of Tropical Medicine and Public Health, vol. 45, no. 3, pp. 719–726, 2014.
- R. Joshi and S. P. Kalantri, “Acute undifferentiated fever: management algorithm,” in Update on Tropical Fever, pp. 1–14, Association of Physicians of India, Indian College of Physicians, New Delhi, 2015.
- M. Varela, R. Ruiz-Esteban, A. Martinez-Nicolas, J. A. Cuervo-Arango, C. Barros, and E. G. Delgado, ““Catching the spike and tracking the flow”: Holter-temperature monitoring in patients admitted in a general internal medicine ward,” International Journal of Clinical Practice, vol. 65, no. 12, pp. 1283–1288, 2011.
- J.-L. Vincent and M. H. Weil, “Fluid challenge revisited,” Critical Care Medicine, vol. 34, no. 5, pp. 1333–1337, 2006.
- S. Clarke, R. Parris, and K. Reynard, “Core–peripheral temperature gradient as a diagnostic test in dyspnoea,” Emergency Medicine Journal, vol. 22, no. 9, pp. 633–635, 2005.
- P. Kiekkas, D. Velissaris, M. Karanikolas et al., “Peak body temperature predicts mortality in critically ill patients without cerebral damage,” Heart & Lung: The Journal of Acute and Critical Care, vol. 39, no. 3, pp. 208–216, 2010.
- L. J. Kaplan and S. Frangos, “Clinical review: acid–base abnormalities in the intensive care unit-part II,” Critical Care, vol. 9, no. 2, pp. 198–203, 2005.
- V. Menon, J. N. Slater, H. D. White, L. A. Sleeper, T. Cocke, and J. S. Hochman, “Acute myocardial infarction complicated by systemic hypoperfusion without hypotension: report of the SHOCK trial registry,” The American Journal of Medicine, vol. 108, no. 5, pp. 374–380, 2000.
- H. R. Joly and M. H. Weil, “Temperature of the great toe as an indication of the severity of shock,” Circulation, vol. 39, no. 1, pp. 131–138, 1969.
- G. Woodhead and P. Varrier-Jones, “The value of the quasi-continuous temperature record in the early diagnosis and prognosis of tuberculosis,” The Lancet, vol. 197, no. 5090, pp. 573–582, 1921.
- M. Varela, L. Jimenez, and R. Farina, “Complexity analysis of the temperature curve: new information from body temperature,” European Journal of Applied Physiology, vol. 89, no. 3, pp. 230–237, 2003.
- M. Varela, J. Churruca, A. Gonzalez, A. Martin, J. Ode, and P. Galdos, “Temperature curve complexity predicts survival in critically ill patients,” American Journal of Respiratory and Critical Care Medicine, vol. 174, no. 3, pp. 290–298, 2006.
- S. M. Pikkujamsa, T. H. Makikallio, L. B. Sourander et al., “Cardiac interbeat interval dynamics from childhood to senescence: comparison of conventional and new measures based on fractals and chaos theory,” Circulation, vol. 100, no. 4, pp. 393–399, 1999.
- V. E. Papaioannou, I. G. Chouvarda, N. K. Maglaveras, and I. A. Pneumatikos, “Temperature variability analysis using wavelets and multiscale entropy in patients with systemic inflammatory response syndrome, sepsis, and septic shock,” Critical Care, vol. 16, no. 2, article R51, 2012.
- A. M. Drewry, B. M. Fuller, T. C. Bailey, and R. S. Hotchkiss, “Body temperature patterns as a predictor of hospital-acquired sepsis in afebrile adult intensive care unit patients: a case-control study,” Critical Care, vol. 17, no. 5, article R200, 2013.
- M. Varela, M. Calvo, M. Chana, I. Gomez-Mestre, R. Asensio, and P. Galdos, “Clinical implications of temperature curve complexity in critically ill patients,” Critical Care Medicine, vol. 33, no. 12, pp. 2764–2771, 2005.
- D. Cuesta, M. Varela, P. Miro et al., “Predicting survival in critical patients by use of body temperature regularity measurement based on approximate entropy,” Medical & Biological Engineering & Computing, vol. 45, no. 7, pp. 671–678, 2007.
- E. Fernandez, M. Smieja, S. D. Walter, and M. Loeb, “A predictive model to differentiate dengue from other febrile illness,” BMC Infectious Diseases, vol. 16, no. 1, p. 694, 2016.
- L. Tanner, M. Schreiber, J. G. Low et al., “Decision tree algorithms predict the diagnosis and outcome of dengue fever in the early phase of illness,” PLoS Neglected Tropical Diseases, vol. 2, no. 3, article e196, 2008.
- A. H. Shoeb and J. V. Guttag, “Application of machine learning to epileptic seizure detection,” in Proceedings of the 27th International Conference on Machine Learning (ICML-10), Haifa, Israel, 2010.
- D. Ogoina, “Fever, fever patterns and diseases called “fever”—a review,” Journal of Infection and Public Health, vol. 4, no. 3, pp. 108–124, 2011.
- D. Cuesta-Frau, M. Varela, M. Aboy, and P. Miro-Martinez, “Description of a portable wireless device for high-frequency body temperature acquisition and analysis,” Sensors, vol. 9, no. 10, pp. 7648–7663, 2009.
- P. H. Dakappa, G. K. Bhat, G. Bolumbu, S. B. Rao, S. Adappa, and C. Mahabala, “Comparison of conventional mercury thermometer and continuous TherCom® temperature recording in hospitalized patients,” Journal of Clinical and Diagnostic Research, vol. 10, no. 9, pp. OC43–OC46, 2016.
- P. Mathew, Y. H. Kuo, B. Vazirani, R. H. Eng, and M. P. Weinstein, “Are three sputum acid-fast bacillus smears necessary for discontinuing tuberculosis isolation?” Journal of Clinical Microbiology, vol. 40, no. 9, pp. 3416–3420, 2002.
- S. Chaterji, J. C. Allen Jr., A. Chow, Y. S. Leo, and E. E. Ooi, “Evaluation of the NS1 rapid test and the WHO dengue classification schemes for use as bedside diagnosis of acute dengue fever in adults,” The American Journal of Tropical Medicine and Hygiene, vol. 84, no. 2, pp. 224–228, 2011.
- J. Qu, X. Lü, Y. Liu, and X. Wang, “Evaluation of procalcitonin, C-reactive protein, interleukin-6 & serum amyloid A as diagnostic biomarkers of bacterial infection in febrile patients,” Indian Journal of Medical Research, vol. 141, no. 3, pp. 315–321, 2015.
- V. E. Papaioannou, I. G. Chouvarda, N. K. Maglaveras, G. I. Baltopoulos, and I. A. Pneumatikos, “Temperature multiscale entropy analysis: a promising marker for early prediction of mortality in septic patients,” Physiological Measurement, vol. 34, no. 11, pp. 1449–1466, 2013.
- S. K. Abrahamsen, C. N. Haugen, P. Rupali et al., “Fever in the tropics: aetiology and case-fatality-a prospective observational study in a tertiary care hospital in South India,” BMC Infectious Diseases, vol. 13, no. 1, p. 355, 2013.
Copyright © 2017 Pradeepa H. Dakappa et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.