- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents
Journal of Computational Medicine
Volume 2014 (2014), Article ID 532453, 4 pages
Mathematical Modeling of the Expert System Predicting the Severity of Acute Pancreatitis
1Department of Biological Physics and Medical Informatics, Bukovinian State Medical University, Kobyljanska Street 42, Chernivtsi 58000, Ukraine
2Department of Surgery, Bukovinian State Medical University, Golovna Street 137, Chernivtsi 58000, Ukraine
3Department of the System Analysis and Insurance and Financial Mathematics, Chernivtsi National University of Yuriy Fedkovich, Unversitetska Street 12, Chernivtsi 58012, Ukraine
Received 26 December 2013; Accepted 22 May 2014; Published 9 June 2014
Academic Editor: Daniel Kendoff
Copyright © 2014 Maria A. Ivanchuk 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.
The method of building the hyperplane which separates the convex hulls in the Euclidean space is proposed. The algorithm of prediction of the presence of severity in patients based on this method is developed and applied in practice to predict the presence of severity in patients with acute pancreatitis.
During the last decades, pronounced tendency to the relentless increase in morbidity in acute pancreatitis is observed. Thus, the depth of pathomorphological pancreatic parenchyma lesions can vary from the development of edematous pancreatitis up to pancreatic necrosis. However, accurate predicting of the probable nature of the lesion of the pancreas in the early stages of acute pancreatitis is one of the most difficult problems of modern pancreatology. Diagnostic and the predictive probability of existing laboratory and instrumental diagnostic markers and rating scales does not exceed 70–80% [1–3]. Such situation is a major difficulty in selecting the adequate treatment strategy in the initial stages of acute pancreatitis. Thus the search for new methods of accurate predicting of acute pancreatitis’ severity becomes an urgent problem.
Development of mathematical approaches for prediction in medicine was developed by Fisher, the father of the linear discriminant analysis . Currently, there are many approaches to solving this problem: cluster analysis, the construction of predictive tables, image recognition, and linear programming. Fundamentals of building the prognostic tables and Wald serial analysis are described in . Cluster analysis is commonly used for solving the tasks of medical prediction.
In the paper , the procedure of cluster analysis with a study of the indices of the daily variability of cardiac rhythm in patients with the ischemic disease of heart is examined. In  using national data from the Scientific Registry of Transplant Recipients authors compare transplant and wait-list hospitalization rates. They suggest two marginal methods to analyze such clustered recurrent event data; the first model postulates a common baseline event rate, while the second features cluster-specific baseline rates. Results from the proposed models to those based on a frailty model were compared with the various methods compared and contrasted. Three major considerations in designing a cluster analysis are described in . The first relates to selection of the individuals. The second consideration is selection of variables for measurement and the third consideration is how many variables to choose to enter into a cluster analysis. To classify clinical phenotypes of anti-neutrophil cytoplasmic antibody-associated vasculitis, cluster analysis was used in . Researches on the general theory of diagnosis, classification, and application of optimization methods for pattern recognition, solving applied problems in medicine and biology, are conducted by Mangasarian et al. for many years .
But universal method for solving problems of recognition, identification, and diagnosis does not exist. Therefore, development of methods for predicting in medicine still remains relevant. One among the many challenges of recognition is the task of constructing hyperplanes which separate two convex sets. Many manuscripts [11–16] are devoted to the solution of this problem.
We propose a methodology for constructing convex hulls and their separation, which can be used for modeling expert medical prognostic systems (e.g., to separate groups of patients with different degrees of severity of the disease for prediction of severity in patients).
2.1. Separation of the Convex Hulls
Let us have two sets of points and in Euclidean space . Let be number of points in the set. We must find the separate hyperplane: where is the scalar product of the vectors and such that sets and can be placed in the different half-spaces:
To build the convex hull for the set , for each of points’ combinations from the set , if it is possible, build the hyperplane Coordinates of the vector are found as minors order for elements of the first row of the matrix: where , , . Coefficient is determined from the following equation:
If all points of the set are in the one of half-spaces of hyperplane , then polygon is one of the convex hull’s hyperfaces. The complex of all hyperfaces is the convex hull .
Point is called outlier if point is internal for the . Point is outlier if there is at least one hyperface that where point , point is the intersection point of the hyperplane (), and line To find the point let us write (3) in parametric form: Put (8) in the hyperplane equation (3) and find parameter : To find coordinates of the point let us put (9) in (8):
After finding all outliers from the sets and eject outliers from the set, with less number of outliers. Build the new convex hulls and find the outliers. If there are outliers in the new convex hulls, eject them. If there are not any outliers, the convex hulls do not intersect. According to consequence of Hahn-Banach theorem there is a nonzero linear functional that separates and .
Find the separating functional as hyperplane parallel to one of convex hulls’ hyperfaces. Choose hyperface so that convex hulls and are in different half-spaces formed by hyperplane parallel to this hyperface. Find points and so that . Let . For each hyperface and build the parallel hyperplane . If , for all , , and , for all , then is separating hyperplane.
2.2. Modeling the Expert System of Predicting the Presence of Severity in Patients
Let us have two groups of patients: , patients with severity, and , patients without severity. There are parameters (factors which affect the severity) known for each patient.
During modelling we used the terms sensitivity () and specificity (): where is the true positives, is the false positives (overdiagnosis errors), is the false negatives (underdiagnosis errors), and is the true negatives. The sensitivity of a clinical test refers to the ability of the test to correctly identify those patients with the disease. The specificity of a clinical test refers to the ability of the test to correctly identify those patients without the disease .
We created an algorithm of modelling the expert system in a way that uses the least amount of features for the best result. Information of the parameters was found using Kulback’s information measure . We built convex hulls for the most informative factor. If convex hulls intersect, we found outliers—the points from the set that are internal to and the points from the set that are internal to . The set outliers are underdiagnosis errors. The set outliers are overdiagnosis errors. We built the prognostic system to find the patients with severity, so we rejected the outliers from the set . Let the set be the set of outliers from . After rejecting, we get a new set .
If you build the expert system for differential diagnosis, you reject outliers out of the set where there are less of them.
If the percentage of rejected points is more than the significance level the next (the most informative) factor was added. The space dimension is increased by 1. In the new space convex hulls were built and the outliers were rejected. The space dimension was increased until preassigned significance level. If all available diagnostic information was used, but preassigned significance level was not reached, then decision of not sufficient information was taken. When preassigned significance level was reached, we found the separating hyperplanes. The algorithm for modelling the prognostic system is represented on the Figure 1. The results were checked in the control group and the hyperplane with maximal sensitivity was chosen.
The complexity of this algorithm is  if the convex hulls are built by search of all combinations of points. The complexity of this algorithm is if the convex hulls are built by Jarvis march or “gift wrapping” algorithm .
3.1. The Expert System of Predicting the Presence of Severity in Patients with Acute Pancreatitis
The research involved 60 persons with severe and 28 patients with nonsevere acute pancreatitis. Among them, there were 57 (64.8%) men and 31 (35.2%) women. The mean age was 48.54 years (±15.18) in males and 56.21 (±17.91) in females. The most common etiology was alcohol consumption (48.3%), followed by gallstones (34.2%). In 17.5% no identifiable cause was found.
The diagnostic criteria for acute pancreatitis were those defined by the 2006 AP Guidelines, as the presence of at least two of the following features: (1) characteristic abdominal pain, (2) elevation over 3 times the upper normal limit of serum amylase/lipase, and (3) characteristic features on computer tomography (CT) scan . Severe acute pancreatitis was diagnosed according strictly to Atlanta criteria: Early Prognostic Scores, APACHE II ≥ 8, Ranson ≥ 3; Organ Failure, systolic pressure < 90 mmHg, creatinine > 2.0 mg/L after rehydration, PaO2 ≤ 60 mmHg; Local Complications (on CT scan), Necrosis, Abscess, and Pseudocyst .
Patients were divided into two samples—training (50 patients with severity and 20 without them) and control (10 patients with severity and 8 without). The level of significance was α = 0,01. The algorithm presented above was used for patients with training set. For , the percentage of outliers was 29.5%. For , the percentage of outliers was 3%. For , the percentage of outliers was 1.4%. For , the percentage of outliers was 0%.
We got 8 hyperplanes which separate the convex hulls of the training samples. Two of them had higher sensitivity and specificity (we got only 1 (6%) of underdiagnosis errors and there were no overdiagnosis errors for the control sample with these hyperplanes): where is time before hospitalization, is blood lipase, is amylase urine, and is BMI.
So, we built the expert system with sensitivity .
Statistical errors are seen only in 1 patient in the control group, who were diagnosed with interstitial edematous pancreatitis development on the background severe diabetes mellitus. According to Expert System the acute pancreatitis without severity was predicted. This error, in our view, is associated with late ambulation of the patient for medical care as a result of atypical course of acute pancreatitis, increased blood and urine amylase, and increased BMI, which is the characteristic signs of diabetes mellitus. That is, in this case, some of the most important prognostic parameters of acute pancreatitis have been characterized by different diseases in particular of diabetes mellitus, which caused the error.
The method of separation of convex hulls in Euclidean space by constructing a separating hyperplane parallel to one of the convex hulls hyperfaces is proposed. On the basis of this method the algorithm for modelling the prognostic system is stated. The proposed algorithm is applied in practice to predict the presence of severity in patients with acute pancreatitis and gives 94% correct results for the control sample, while diagnostic and the predictive probability of existing laboratory and instrumental diagnostic markers and rating scales does not exceed 70–80%. Clinical application of the developed mathematical model predicting the severity of acute pancreatitis promotes proper choice of treatment tactics and allows improving final results of these patients’ treatment.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
- E. J. Balthazar, “Acute pancreatitis: assessment of severity with clinical and CT evaluation,” Radiology, vol. 223, no. 3, pp. 603–613, 2002.
- G. Sathyanarayan, P. K. Garg, H. K. Prasad, and R. K. Tandon, “Elevated level of interleukin-6 predicts organ failure and severe disease in patients with acute pancreatitis,” Journal of Gastroenterology and Hepatology, vol. 22, no. 4, pp. 550–554, 2007.
- A. K. Khanna, S. Meher, S. Prakash, et al., “Comparison of ranson, Glasgow, MOSS, SIRS, BISAP, APACHE-II, CTSI scores, IL-6, CRP, and procalcitonin in predicting severity, organ failure, pancreatic necrosis, and mortality in acute pancreatitis,” HPB Surgery, vol. 2013, Article ID 367581, 10 pages, 2013.
- R. A. Fisher, Contributions To Mathematical Statistics, John Wiley & Sons, 1950.
- E. V. Gubler and A. A. Genkin, Primenenie Neparametricheskih Kriteriev Statistiki v Medico-Biologicheskih Issledovanijah (Using the Nonparametric Statistic Criteria in Medical and Biological Researches), Leningrad, Russia, 1973.
- A. I. Borodulin, A. V. Sviridov, and O. V. Sudakov, “Using the cluster analysis in the in the diagnostic of ischemic heart disease,” Prikladnie Informacionnie Aspekti Medicini, no. 2, pp. 28–32, 2008.
- D. E. Schaubel and J. Cai, “Analysis of clustered recurrent event data with application to hospitalization rates among renal failure patients,” Biostatistics, vol. 6, no. 3, pp. 404–419, 2005.
- M. Weatherall, P. Shirtcliffe, J. Travers, and R. Beasley, “Use of cluster analysis to define COPD phenotypes,” European Respiratory Journal, vol. 36, no. 3, pp. 472–474, 2010.
- A. Mahr, S. Katsahian, H. Varet, et al., “Revisiting the classification of clinical phenotypes of anti-neutrophil cytoplasmic antibody-associated vasculitis: a cluster analysis,” Annals of the Rheumatic Diseases, vol. 72, no. 6, pp. 1003–1010, 2013.
- O. L. Mangasarian, W. N. Street, and W. H. Wolberg, “Breast carter diagnosis and prognosis via linear programrnig,” Operation Research, vol. 43, no. 4, 1995.
- A. I. Golikov, Y. G. Evtushenko, and S. Ketabchi, “On families of hyperplanes that separate polyhedra,” Computational Mathematics and Mathematical Physics, vol. 45, no. 2, pp. 238–253, 2005.
- A. R. Alimov and V. Y. Protasov, “Separation of convex sets by extreme hyperplanes,” Fundamental and Applied Mathematics, vol. 17, no. 4, pp. 3–12, 2012.
- I. I. Eremin, “Fejér methods for the strong separability of convex polyhedral sets,” Russian Mathematics, no. 12, pp. 33–43, 2006.
- A. V. Ershova, “Algorithm of the disjoint convex polyhedral separating using Fejer mappings,” Sistemi Upravlenia I Informacionnie Tehnologii, vol. 1, no. 35, pp. 53–56, 2009.
- C. Böhm and H.-P. Kriegel, “Determining the convex hull in large multidimensional databases,” in Data Warehousing and Knowledge Discovery, vol. 2114 of Lecture Notes in Computer Science, pp. 294–306, Springer, 2001.
- G. Fung, R. Rosales, and B. Krishnapuram, “Learning rankings via convex hull separation,” in Proceedings of the Annual Conference on Neural Information Processing Systems (NIPS '05), pp. 395–402, December 2005.
- A. N. Kolmogorov and S. V. Fomin, Elements of the Theory of Functions and Functional Analysis, Courier Dover, 1999.
- D. G. Altman, Practical Statistics for Medical Research, Chapman & Hall/CRC, London, UK, 1991.
- S. A. Abramov, Lectures at Algorithmic Complexity, MTSNMO, Moscow, Russia, 2009.
- F. Preparata and M. Shamos, Computational Geometry—An Introduction, Springer, 1985.
- P. A. Banks and M. L. Freeman, “Practice guidelines in acute pancreatitis,” The American Journal of Gastroenterology, vol. 101, no. 10, pp. 2379–2400, 2006.
- E. L. Bradley III and C. F. Frey, “A clinically based classification system for acute pancreatitis: summary of the International Symposium on Acute Pancreatitis, Atlanta, Ga, September 11 through 13, 1992,” Archives of Surgery, vol. 128, no. 5, pp. 586–590, 1993.