<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JSEA</journal-id><journal-title-group><journal-title>Journal of Software Engineering and Applications</journal-title></journal-title-group><issn pub-type="epub">1945-3116</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jsea.2022.158017</article-id><article-id pub-id-type="publisher-id">JSEA-118913</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  A Decision Support Model for Predicting Avoidable Re-Hospitalization of Breast Cancer Patients in Kenyatta National Hospital
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Christopher</surname><given-names>Oyuech Otieno</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Oboko</surname><given-names>Robert Obwocha</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Andrew</surname><given-names>Mwaura Kahonge</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Computer Science, University of Nairobi, Nairobi, Kenya</addr-line></aff><pub-date pub-type="epub"><day>29</day><month>07</month><year>2022</year></pub-date><volume>15</volume><issue>08</issue><fpage>275</fpage><lpage>307</lpage><history><date date-type="received"><day>25,</day>	<month>June</month>	<year>2022</year></date><date date-type="rev-recd"><day>26,</day>	<month>July</month>	<year>2022</year>	</date><date date-type="accepted"><day>29,</day>	<month>July</month>	<year>2022</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  This study aimed to develop a clinical Decision Support Model (DSM) which is software that provides physicians and other healthcare stakeholders with patient-specific assessments and recommendation in aiding clinical decision-making while discharging Breast cancer patient since the diagnostics and discharge problem is often overwhelming for a clinician to process at the point of care or in urgent situations. The model incorporates Breast cancer patient-specific data that are well-structured having been attained from a prestudy’s administered questionnaires and current evidence-based guidelines. Obtained dataset of the prestudy’s questionnaires is processed via data mining techniques to generate an optimal clinical decision tree classifier model which serves physicians in enhancing their decision-making process while discharging a breast cancer patient on basic cognitive processes involved in medical thinking hence new, better-formed, and superior outcomes. The model also improves the quality of assessments by constructing predictive discharging models from code attributes enabling timely detection of deterioration in the quality of health of a breast cancer patient upon discharge. The outcome of implementing this study is a decision support model that bridges the gap occasioned by less informed clinical Breast cancer discharge that is based merely on experts’ opinions which is insufficiently reinforced for better treatment outcomes. The reinforced discharge decision for better treatment outcomes is through timely deployment of the decision support model to work hand in hand with the expertise in deriving an integrative discharge decision and has been an agreed strategy to eliminate the foreseeable deteriorating quality of health for a discharged breast cancer patients and surging rates of mortality blamed on mistrusted discharge decisions. In this paper, we will discuss breast cancer clinical knowledge, data mining techniques, the classifying model accuracy, and the Python web-based decision support model that predicts avoidable re-hospitalization of a breast cancer patient through an informed clinical discharging support model.
 
</p></abstract><kwd-group><kwd>Re-Engineering Processes (RP)</kwd><kwd> Data Mining</kwd><kwd> Machine Learning</kwd><kwd> Classification</kwd><kwd> Decision Tree</kwd><kwd> Python Web-Based</kwd><kwd> Decision Support Model (DSM)</kwd><kwd> Clinical Decision Support Systems (CDSSs)</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Generally, avoidable re-hospitalizations result from care failures in the period immediately, before, or after a transition from hospital to the next source of care [<xref ref-type="bibr" rid="scirp.118913-ref1">1</xref>]. These care failures result in clinical deterioration that leads to subsequent hospital utilization, known as re-hospitalization. <xref ref-type="fig" rid="fig1">Figure 1</xref> below is a structured model illustrating cycles for a Breast cancer patient at any given time that has been obtained after reengineering unstructured pathways.</p><p>Dr. Alice Musibi, Medical Oncologist (2008) argues that Breast cancer is the deadliest [<xref ref-type="bibr" rid="scirp.118913-ref2">2</xref>], and most common cancer ailing women all over the world. The United State of America Institute of Medicine has estimated that up to 98,000 Americans die each year as a result of preventable medical errors for example due to mistrusted discharge decisions [<xref ref-type="bibr" rid="scirp.118913-ref3">3</xref>]. In Australia 1 in 13 women will develop breast cancer at some time in her life, while in USA 215,990 women were found to have breast cancer in 2004.</p><p>A cancer survey conducted in Nairobi Kenya between the years 2000-2003 showed that breast cancer was leading with 22.9% followed by cervical cancer with 19.3%.</p><p>Breast cancer is the most common cancer affecting women in Kenya whose healthcare costs impose a burden on the government while the quality of care provided is arguably inadequate.</p><p>Dr. C. Nyogesa-Watt (2007) reported that there are few public and private hospitals in Kenya providing radiotherapy services with only 10 ecologists and as such, patients have to travel across the country some as far as 600 kilometers away to access such scarce medical services [<xref ref-type="bibr" rid="scirp.118913-ref4">4</xref>].</p><p>Dr. Ian Hampson, from The University of Manchester’s Institute of Cancer Sciences, oversaw cancer research in Kenyatta National Hospital (KNH) and noted that available radiotherapy centers are very few and exclaimed that breast cancer patients referred from other periphery hospitals are either being re-hospitalized or they’re new cases that have to wait for months before accessing medical services as radiotherapy centers sometimes leading to preventable death [<xref ref-type="bibr" rid="scirp.118913-ref5">5</xref>]. One of the most promising strategies for addressing the re-hospitalized crisis is the use of clinical decision support systems (CDSSs), which are systems that provide physicians and other healthcare stakeholders with patient-specific assessments or recommendations to aid in clinical decision-making.</p><p>CDSS/DMS are computerized physician order entry systems that provide patient-specific recommendations as part of the order entry process and alert physicians when critical lab values are detected [<xref ref-type="bibr" rid="scirp.118913-ref6">6</xref>]. CDSSs and DMS are used in the study interchangeably to mean the same thing.</p><p>A DSM can be conceptually understood as the custodian of one or more modules of medical knowledge, wherein each DSM knowledge module is capable of utilizing coded patient data to arrive at machine-interpretable conclusions regarding the patient risk attributes under evaluation. In this study, the scope module of the DSM knowledge is on the assessment of a specific breast cancer patient on avoidable re-hospitalization. The knowledge area is made narrow for instance, if a breast cancer patient to be discharged doesn’t complete medical dose timely or if a breast cancer patient to be discharged takes unhealthy fat, or if a breast cancer patient to be discharged abuse antibiotic and or if a breast cancer patient to be discharged is a committed smoker and doesn’t take physical exercises then this breast cancer patient maybe be re-hospitalized and otherwise if contrary.</p><p>There is an urgent need for such CDSS/DMS in the Cancer and Oncology Department, Kenyatta National Hospital (KNH) to classify patients been discharged into their different preventive risk levels based on their vulnerability for re-hospitalization. Identification of likely risk factors predisposing breast cancer patients to avoidable re-hospitalization before discharging is considered a breakthrough in curbing the prevalence of breast cancer menace as this may inform clinicians upfront of avoidable risks categories that a particular patient would assume upon discharge to strategies clinical management targeting the most vulnerable ones as argued by Jaimie Oh, (2012) that, “medicare advantaged patients experience fewer re-hospitalizations.”</p><p>By implementing this study, we bridge the existing gap in breast cancer discharging and re-hospitalization currently witnessed in Kenyatta National Hospital occasioned by less informed clinical Breast cancer discharge that is merely based on experts’ opinions which is insufficiently reinforced for better treatment value outcomes. The rein-forced discharge decision achieved by this study provides better treatment outcomes through a timely decision to work hand in hand with the expertise in deriving an integrative discharge decision having been agreed upon in the medical circles as a strategy that is likely to eliminate the fore-seeable deterioration quality of health for a discharged breast cancer patients thus surging rates of mortality blamed on mistrusted discharge decisions. Reviewed literature didn’t reveal existing studies conducted in Kenyatta National Hospital (KNH) in the context of breast cancer discharging and re-hospitalization. This is another compelling force relevant for undertaking this study. This study is also significant as it may be among the transformative practices desired for value-based treatment and management of breast cancer besides. This study is also contributing to theoretical knowledge for discharging and re-hospitalization of Breast cancer patients. The study access relevance of the decision made by Breast cancer experts to discharge a patient thus remains true that if we can predict success based on a certain explanation (i.e. C4.5 model or ID3 model), then we have a good reason, and perhaps the best sort of reason, for accepting the explanation. This model is, therefore, a useful tool for assessing the distance between theory (Statistical model) and practice especially when headed to infinity hence assessing the predictive power of a theory to sheds light on the actual performance of an empirical model. The model (i.e. C4.5 model or ID3 model), can therefore be used to assess the practical relevance of a theory, (Keil et al.). The study through its models (i.e. C4.5 model or ID3 model), can also be used to improve existing models since it captures complex underlying patterns and relationships, thereby improving existing explanatory statistical models (Collopy et al.).</p><p>The remaining part of this paper is organized as follows: Section 2 presents the related work on Breast cancer Re-hospitalization upon discharge. Section 3 describes data mining techniques for modeling the Re-hospitalization prediction classifier while Section 4 presents the conclusion and future work.</p></sec><sec id="s2"><title>2. The Related Work</title><p>A joint project of 28 strategic health authorities worked on a risk prediction system that was to be used by PCTs (Primary Care Trusts) to identify patients who are at high risk of hospitalization and was jointly implemented with Essex Strategic Health Authority. In this system, tools such as Ambulatory Cost Groups (ACGs), Diagnostic Cost Groups (DCG), and Hierarchical Coexisting Conditions (HCC) were integrated. ACGs adopted the ICD9-CM coding system based that is based on the assumption that a patient’s illness burden better characterizes the patient’s need for health services than only the presence of a specific disease such as Breast cancer. The Diagnostic Cost Groups (DCG) tool was also integrated to predict future costs of Medicare for a population-based on the “worst” inpatient diagnosis recorded at a time. DCG/HCC was for predicting total medical expenditure which was an essential feature of the model, (Rosen AK, 2001). The predictive regression model was the main analytic tool in this joint project.</p><p>Johns Hopkins University (Bloomberg School of Public Health, 2009) also developed the Adjusted Clinical Group (ACG) model which was based on an aggregation of comorbidities diagnosis as its major methodology. ACG identified patient groups and a population that had a high probability of hospitalization in the future from the aggregation of comorbidities. The model presented the morbidity burden of a population, subgroups, and patients and thus could predict resource use or cost of health care. This model also supported the detection of people with specified diseases, such as HIV. ACG was therefore qualified as a good resource management tool [<xref ref-type="bibr" rid="scirp.118913-ref7">7</xref>].</p><p>Health Dialog Analytic Solutions similarly developed Patients at risk of Re-hospitalization (PARR1 and PARR2) algorithms. The algorithms are patient-specific that produce a “risk score” for the probability of future readmission from a patient’s past readmission records. The algorithm was used in “real-time” (while the patient is hospitalized) with recent readmission records and diagnostic information. PARR1 and PARR2 algorithms indicated high readmission rates for patients who had experienced readmission before and less for those who have never. In this model, there was no general database to draw inferences from except for specific patient records. The model had shortcomings, for example, it couldn’t comprehensively define the risk of readmission that could be assumed by a patient, Schoenmaker &amp; Russo, (1993). It also underestimated the total number of high-risk patients, as it screens patients using a single criterion which may neglect other potentially important risk factors. The model also lacked needed accuracy, for example, individuals who were at risk one year ago may not be at risk in the following next year and vice versa, Dove, Duncan &amp; Robb (2003) [<xref ref-type="bibr" rid="scirp.118913-ref8">8</xref>].</p><p>Besides, the Centre for Innovation in Health Management (CIHM) based at the University of Leeds a consulting company gathering expert information from the health sector, public sector, organizational change consultancy, and academics was engaged in a project to develop a model to predict readmission of a discharged patient from a regression model. The project was being developed through decision tree technologies and was to be used by the general practitioners to decide on a patient-oriented intervention while taking into account the clinical knowledge and outputs generated from the Risk classification tool [<xref ref-type="bibr" rid="scirp.118913-ref9">9</xref>]. Additionally, the risk classification tool which is using a regression model whose aim was to stratify patients’ risk in terms of their future re-hospitalization. It was therefore meant to act as an intervention by being responsive to the patient’s risk categories. Predictive modeling is another tool of risk stratification. General practitioners, nurses, and pharmacists participate in the project modeling as their clinical knowledge is a substantial factor. A predictive model is designed as a statistical model whose output is a risk score for each patient, which is the probability of re-hospitalization in the future [<xref ref-type="bibr" rid="scirp.118913-ref10">10</xref>].</p><p>Finally, James Natale and Shengyong Wang of the University of Akron USA, (2013) also develop a model for predicting readmissions of Heart failure via decision tree and Rapid miner as the primary software for the model [<xref ref-type="bibr" rid="scirp.118913-ref11">11</xref>]. A confusion matrix was used in the analysis of specificity and sensitivity. The shortcomings of James Natale and Shengyong Wang’s predictive model were that it couldn’t focus on the process mapping of the discharging structure. Also, this model predictability was not comprehensive having not factored in avoidable re-admissibility risks such as adverse events, slips, and risk of neglect for its discharging structure processes.</p></sec><sec id="s3"><title>3. Methodology</title><sec id="s3_1"><title>3.1. The Pre-Study</title><p>This is the initial approach adopted in implementing this study. In the pre-study strategy, a retrospective review of clinical non-invasive Breast cancer risks that are likely to cause re-hospitalization of discharged breast cancer patients was identified through questionnaires designed on the Likert scale. These questionnaires were then administered to stakeholders who were the oncology experts, nurse oncologists, clinical oncologists, radiologists, and Breast cancer pathologists. Acquired non-invasive Breast cancer risk variables that were likely to predispose discharged Breast cancer patients to the deteriorating quality of health thus surging rates of mortality were processed to remove outliers and obvious errors in the data set.</p></sec><sec id="s3_2"><title>3.2. Re-Engineering Current Breast Cancer Discharging Processes in KNH</title><p>The re-engineering of discharging Breast cancer processes in KNH was undertaken to provide a conceptual understanding of the causes of preventable breast cancer risk variables to inform safety design concepts aimed at preventing and minimizing them by detecting them upfront before harm occurs. <xref ref-type="fig" rid="fig2">Figure 2</xref> below highlights fundamental causes of Breast cancer re-hospitalization according to Forster et al. (2003) which were adopted to guide the engineering processes of the Kenyatta National Hospital (KNH) discharging framework. Medical errors are an important concern at hospital discharge. Forster and his colleagues identified four areas for improvement before discharging such as assessment and communication of problems that remain unresolved at the time of discharge; patient education regarding medications and other therapies; monitoring of drug therapies after discharge; and monitoring of the overall condition after discharge. Many adverse effects occur during the discharge period which could</p><p>be prevented with relatively simple strategies. Consequently, the re-engineering of the discharging Breast Cancer framework in Kenyatta National Hospital (KNH) considered both active and latent risks occurring at the time of hospital discharge.</p><p>Active re-hospitalization risks include those occurring at the time of hospital discharge during knowledge-based decision-making performed at the point of care by Clinicians. Active re-hospitalization risks are hospital characteristics related as shown in the conceptual model (<xref ref-type="fig" rid="fig2">Figure 2</xref>) above. Latent risks are observed when there is a system failure. Latent conditions are also clinicians and patients related as shown similarly in the Breast cancer-associated risk in the discharging Model (<xref ref-type="fig" rid="fig2">Figure 2</xref>). An example of a latent risk clinician related is when nurses and students are responsible for the discharge process and the harried nature of their work, and competing interests for example new admissions requiring their attention while at the same time, discharging a patient thus may not be considered by them a high priority and can therefore lead to an incomplete or haphazardly discharging resulting to re-hospitalization [<xref ref-type="bibr" rid="scirp.118913-ref12">12</xref>]. Another example of latent risk, is patient-related, for example, their lifestyle and non-compliance to the discharging guidelines or regime for better healing.</p><p>Thus taxonomy of avoidable Breast Cancer risk at the point of discharge in <xref ref-type="fig" rid="fig2">Figure 2</xref>, demonstrates how latent and active risks inter-relate, and their importance in the rule-based decision-making that the proposed decision support model will action.</p><p>With the re-engineered breast cancer discharging processes based on the concept shown in <xref ref-type="fig" rid="fig2">Figure 2</xref> above, tend to promise value-based discharging outcomes needed in value-based healthcare in Breast Cancer as hospital discharge is the main stage that most re-hospitalization risks, lapses, and the adverse event happens. Also to note is that at the point of discharge is when latent conditions (system failures) combine with active failures pointing to the fact that the patient may be discharged with a huge health burden thus guaranteeing re-hospitalization within 30 - 45 days of discharge. As such, Breast cancer discharging processes in Kenyatta National Hospital may be improved through Business Re-engineering Processes (BRP) followed by robust modeling of its best practice processes.</p></sec><sec id="s3_3"><title>3.3. Improved Breast Cancer Discharging via Business Re-Engineering Processes (BRP) Designed on Best Practices to an Optimal Decision Support Model</title><p><xref ref-type="fig" rid="fig3">Figure 3</xref> displays the Breast Cancer risk elements that pertain to the decision-making of a Breast Cancer patient’s readiness for an improved discharge [<xref ref-type="bibr" rid="scirp.118913-ref13">13</xref>]. An optimal decision support model to discharge Breast cancer was coined</p><p>around this decision-making structure that required that Breast Cancer risk variables evaluate to a boolean expression, for example, that re-hospitalization shall take place within 30 - 45 days of discharge and or otherwise based on sufficient medical risk evidence of the patients. The decision-making structures that evaluate Breast Cancer risk variables to a boolean expression outcome are the if… else statement, the if…else if…else Statement, and the nested if statements inbuilt in Python programming language.<sup> </sup></p></sec><sec id="s3_4"><title>3.4. The Data Source</title><p>A research proposal of the entire study was submitted to Kenyatta National Hospital and the University of Nairobi Ethical Research Committee (KNH/UON-ERC) for review, suggestions, and approval upon satisfaction. The approved proposed study thus authorized access to the data. The source of data for this study was obtained therefore via a pre-study that had to be approved by the KNH/UON-ERC. The prestudy that obtained the dataset was conducted through a retrospective review of clinical non-invasive Breast cancer data risks that are likely to cause re-hospitalization and mistrusted discharges. The prestudy designed questionnaires on the Likert scale. These questionnaires were then administered to stakeholders who were the oncology experts, nurse oncologists, clinical oncologists, radiologists, and Breast cancer pathologists. Acquired data were non-invasive that were likely to predispose discharged Breast cancer patients to a deteriorating quality of health and surging rates of mortality. These data sets were processed to remove outliers and obvious errors. Also, additional first-hand data were obtained from Breast Cancer Past Records which was structured and unstructured and available in files.</p></sec><sec id="s3_5"><title>3.5. Relevance of Obtained Dataset to Modeling the Clinical Decision Support for Breast Cancer Discharging and Re-Hospitalization Problem</title><p>The identified data sets instances can comfortably be represented by attribute-value pairs. For example, in smoking (committed, sneaking, or no smoking), in isolation (psychological, physical, or no Isolation), and data attributes (alcoholism, abuse of drugs, promiscuous) that have discrete output values (yes/no) therefore befitting this clinical decision problem well [<xref ref-type="bibr" rid="scirp.118913-ref14">14</xref>].</p></sec><sec id="s3_6"><title>3.6. The Research Design</title><p>As the study is largely exploratory, the following designs are used;</p><p>1) Survey of literature concern, 2) Experience or clinician survey.</p><p>The survey of relevant literature e.g. hypothesis specified by earlier researchers is vigorously reviewed and evaluated to form the ground for the design study. Experience survey involves surveying of clinicians on practical experience of problem been studied e.g. surveys of the experienced clinician(s) who are selected randomly. The selected clinicians are given Likert scale questionnaires to respond to on how the design study should be approached. They are also allowed to raise additional issues which the investigator might have not considered within the questionnaires.</p></sec><sec id="s3_7"><title>3.7. The Study Population</title><p>The targeted population included all breast cancer patients re-hospitalized within a period of three months in the years 2007-2013. It’s worth noting also that 10,000 breast cancer patients were estimated to have been re-hospitalized upon discharge between these years which translates to 2000 patients yearly on average.</p></sec><sec id="s3_8"><title>3.8. The Inclusion Criteria for a Patient to Participate in the Study</title><p>• A participant should be a patient who has been diagnosed with breast cancer and has experienced re-hospitalized within 30 - 45 days upon discharge.</p><p>• A participant may also be a person who survived Breast cancer incidence and experienced re-hospitalization within 30 - 45 days upon discharge.</p><p>• A participant should also be a person who met any of the above criteria and has also consented by filling out a consent form to participate in the study.</p></sec><sec id="s3_9"><title>3.9. The Inclusion Criteria for Clinical Oncologist, Oncology Expert, Nurse Oncologist, Radiologist, and Breast Cancer Pathologist</title><p>• For clinical oncologists, oncology experts, nurse oncologists, radiologists, and Breast cancer pathologists to participate in the study, they must have experience obtained through practice in oncology for not less than 1 year. In addition, a participant should have also consented by filling out a consent form to participate in the study.</p></sec></sec><sec id="s4"><title>4. Exclusion Criteria for a Breast Cancer Patient</title><p>A breast cancer patient below 8 years of age is not considered for this study.</p><sec id="s4_1"><title>4.1. Exclusion Criteria for a Clinician</title><p>Any clinical oncologist, oncology expert, nurse oncologist, radiologist, and Breast cancer pathologist who doesn’t meet the inclusion criteria above.</p></sec><sec id="s4_2"><title>4.2. The Population Sample Size: Disproportionate Sampling Design</title><p>The disproportionate sampling design method is deployed in this study as the data strata differ not only in size but also in variability, for example, the three data strata from the patients, oncologists, and records differ in size and variability. A larger sample is taken from more strata and smaller samples from the less variable strata [<xref ref-type="bibr" rid="scirp.118913-ref15">15</xref>]. The formula for the above statements is as follows:</p><p>n 1 / N 1 σ 1 = n 2 / N 2 σ 2 = ⋯ = n k / N k σ k</p><p>where σ 1 , σ 2 , ⋯ and σ k denotes the standard deviations of the k strata, N 1 , N 2 , ⋯ , N k denotes the sizes of k strata. This is called “optimum allocation” in the context of disproportionate sampling. The allocation in such situations results in the following formula for determining the sample sizes of different strata:</p><p>n i = n ⋅ N 1 σ 1 / N 2 σ 2 + ⋯ + N k σ k</p><p>for i = 1 , 2 , ⋯ and k. For example, in this study, we had strata oncologist O, strata patient P, and Strata data Record R with Standards deviation O = 15, P = 18, and R = 5, projected in the population of:</p><p>O p = 5000 , P p = 2000     and     R P = 3000 .</p><p>Thus total sample size of the dataset was n = 49 or n ≅ 50, apportion differently to sample size strata as follows:</p><p>O p = 5000 , n O = n ⋅ N 1 σ 1 / N 2 σ 2 + ⋯ + N k σ k = 49 &#215; 5000 &#215; 15 / 5000 &#215; 15 + 2000 &#215; 18 + 3000 s = 29.16 ≅ 30</p><p>as the sample size of oncologists or pathologists to be included in the study.</p><p>O E = 2000 , n O = n ⋅ N 1 σ 1 / N 2 σ 2 + ⋯ + N k σ k = 49 &#215; 2000 &#215; 18 / 5000 &#215; 15 + 2000 &#215; 18 + 3000 s = 14</p><p>as the sample size of the data record to be included in the study.</p><p>O p = 3000 , n O = n ⋅ N 1 σ 1 / N 2 σ 2 + ⋯ + N k σ k = 49 &#215; 3000 &#215; 5 / 5000 &#215; 15 + 2000 &#215; 18 + 3000 s = 5.833 ≅ 6</p><p>as the sample size of patients to be included in the study.</p></sec><sec id="s4_3"><title>4.3. Data Collection</title><p>The dataset in this research study was collected from surveyed questionnaires. The surveyed questionnaires were built from suitable questions that were modified from related studies. In the questionnaire design, the Likert scale technique was used to determine if the respondent agreed or disagreed with a statement. The clinician’s, and oncologists’ survey questionnaires comprised section A, of 12 questions; section B, of 9 questions; section C, of 11 questions; and section D, of 21 questions on their clinician’s perception regarding discharging and re-hospitalization of a breast cancer patient. Patient or Breast cancer survivor’s survey questionnaires were made of section A, of 9 questions, and section B, of 20 questions. The clinician’s survey questionnaire was distributed to the participating clinicians and oncologists in the department of Cancer Treatment and Oncology within KNH. Other questionnaires were distributed by pathologists who referred their colleagues from other breast cancer treatment and management centers in Kenya such as Aga Khan hospital. The principal investigator also interviewed the Breast cancer patient and Breast cancer survivor against their questionnaires but if the patient or Breast cancer survivor was in a position to write, then he or she was given a questionnaire to answer.</p><p>Irrelevant attributes in administered questionnaire such as a patient’s residential address, name, application ID, etc. are removed. Obvious outliers and typo errors, for instance, a patient’s father’s name is irrelevant in predicting future re-hospitalizations. Cleaned “Re-hospitalization” data attributes are then added to hold the predictability result, which can either be “readmitted”, “no readmission” or “both”. Finally, a sample of the dataset tabular (database) as shown in <xref ref-type="table" rid="table1">Table 1</xref> below is constructed from a cleaned dataset obtained from answered clinician’s or oncologist’s questionnaires, patient interview questions, and past patient records.</p></sec><sec id="s4_4"><title>4.4. Data Preprocessing</title><p>Prediction of the re-hospitalization is obtained from summation threshold of risk variables which forms the basis upon which decision is made using the machine learning perceptron algorithm inbuilt in Rapid miner software. The concept of Breast cancer Risk variables thresholding is better conveyed by the perceptron algorithm shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>(a) below. Supervised Classification here is done by perceptron algorithm.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Dataset risk attributes predicting breast cancer re-hospitalization. perceptron algorithm is inbuilt in rapid miner software to learn the patterns</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Patients who were discharged (P) and their re-hospitaliation outcome</th><th align="center" valign="middle" >Stress Burden</th><th align="center" valign="middle" >Complete Medical dose</th><th align="center" valign="middle" >Smoking</th><th align="center" valign="middle" >Alcoholism</th><th align="center" valign="middle" >Physical Exercise</th><th align="center" valign="middle" >Fat Intake</th><th align="center" valign="middle" >Abuse Antibiotic</th><th align="center" valign="middle" >Bad rays</th><th align="center" valign="middle" >Abortion/Miscariage</th><th align="center" valign="middle" >Follow up appointments</th><th align="center" valign="middle" >Use Oral Contraceptive</th><th align="center" valign="middle" >Had Hormon Replacement Therapy</th><th align="center" valign="middle" >Bearing children</th><th align="center" valign="middle" >Appropriate Medication</th><th align="center" valign="middle" >Many Love partners</th><th align="center" valign="middle" >Overweight (BMI)</th><th align="center" valign="middle" >Appropriate discharge</th><th align="center" valign="middle" >Re-hospitalization Predicted Outcome</th><th align="center" valign="middle" ></th></tr></thead><tr><td align="center" valign="middle" >P1</td><td align="center" valign="middle" >Psychological isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >Not Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Readmitted</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >P2</td><td align="center" valign="middle" >No Stress Burden</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No readmission</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >P3</td><td align="center" valign="middle" >psychological &amp; Physically isolated</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Readmitted</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >P4</td><td align="center" valign="middle" >No Stress Burden</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Sneaky Smoker</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >Not Daily</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Readmitted</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >P5</td><td align="center" valign="middle" >psychological &amp; Physically isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Commited Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Not Daily</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Readmitted</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >P6</td><td align="center" valign="middle" >No Stress Burden</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Sneaky Smoker</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Readmitted</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >P7</td><td align="center" valign="middle" >Physically isolated</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No readmission</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >P8</td><td align="center" valign="middle" >No Stress Burden</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Commited Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No readmission</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >P9</td><td align="center" valign="middle" >Psychological isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Commited Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Not Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Readmitted</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >P10</td><td align="center" valign="middle" >No Stress Burden</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Readmitted</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >P11</td><td align="center" valign="middle" >Physically isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Sneaky Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Readmitted</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >P12</td><td align="center" valign="middle" >No Stress Burden</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Readmitted</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >P13</td><td align="center" valign="middle" >psychological isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Sneaky Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Not Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No readmission</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >P14</td><td align="center" valign="middle" >No Stress Burden</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Commited Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Not Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle"  colspan="2"  >No readmission</td></tr><tr><td align="center" valign="middle" >P15</td><td align="center" valign="middle" >Physically isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P16</td><td align="center" valign="middle" >psychological isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Sneaky Smoker</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P17</td><td align="center" valign="middle" >Physically isolated</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P18</td><td align="center" valign="middle" >psychological &amp; Physically isolated</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Commited Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P19</td><td align="center" valign="middle" >Psychological isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Sneaky Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle"  colspan="2"  >No readmission</td></tr><tr><td align="center" valign="middle" >P20</td><td align="center" valign="middle" >Physically isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Commited Smoker</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle"  colspan="2"  >No readmission</td></tr><tr><td align="center" valign="middle" >P21</td><td align="center" valign="middle" >No Stress Burden</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P22</td><td align="center" valign="middle" >psychological &amp; Physically isolated</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P23</td><td align="center" valign="middle" >No Stress Burden</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P24</td><td align="center" valign="middle" >psychological &amp; Physically isolated</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Sneaky Smoker</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >Not Daily</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P25</td><td align="center" valign="middle" >psychological &amp; Physically isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Commited Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Not Daily</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle"  colspan="2"  >No readmission</td></tr><tr><td align="center" valign="middle" >P26</td><td align="center" valign="middle" >No Stress Burden</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Sneaky Smoker</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle"  colspan="2"  >No readmission</td></tr><tr><td align="center" valign="middle" >P27</td><td align="center" valign="middle" >Physically isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Sneaky Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P28</td><td align="center" valign="middle" >No Stress Burden</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Commited Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Not Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P29</td><td align="center" valign="middle" >Psychological isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P30</td><td align="center" valign="middle" >Physically isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Sneaky Smoker</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P31</td><td align="center" valign="middle" >Physically isolated</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle"  colspan="2"  >No readmission</td></tr><tr><td align="center" valign="middle" >P32</td><td align="center" valign="middle" >Physically isolated</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Commited Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle"  colspan="2"  >No readmission</td></tr><tr><td align="center" valign="middle" >P33</td><td align="center" valign="middle" >Physically and psychological isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Sneaky Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Not Daily</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P34</td><td align="center" valign="middle" >psychological isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Commited Smoker</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >Not Daily</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P35</td><td align="center" valign="middle" >psychological isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >Not Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P36</td><td align="center" valign="middle" >No Stress Burden</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle"  colspan="2"  >No readmission</td></tr><tr><td align="center" valign="middle" >P37</td><td align="center" valign="middle" >psychological &amp; Physically isolated</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle"  colspan="2"  >No readmission</td></tr><tr><td align="center" valign="middle" >P38</td><td align="center" valign="middle" >No Stress Burden</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Sneaky Smoker</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Not Daily</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P39</td><td align="center" valign="middle" >psychological &amp; Physically isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Commited Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Not Daily</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P40</td><td align="center" valign="middle" >No Stress Burden</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Sneaky Smoker</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P41</td><td align="center" valign="middle" >Physically isolated</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P42</td><td align="center" valign="middle" >No Stress Burden</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Commited Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle"  colspan="2"  >No readmission</td></tr><tr><td align="center" valign="middle" >P43</td><td align="center" valign="middle" >psychological isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Commited Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Not Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle"  colspan="2"  >No readmission</td></tr><tr><td align="center" valign="middle" >P44</td><td align="center" valign="middle" >No Stress Burden</td><td align="center" valign="middle" >Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P45</td><td align="center" valign="middle" >Physically isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Sneaky Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P46</td><td align="center" valign="middle" >No Stress Burden</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Not a smoker</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >Daily</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >YES</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P47</td><td align="center" valign="middle" >psychological isolated</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Sneaky Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Not Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >NO</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle"  colspan="2"  >Readmitted</td></tr><tr><td align="center" valign="middle" >P48</td><td align="center" valign="middle" >No Stress Burden</td><td align="center" valign="middle" >Not Timely</td><td align="center" valign="middle" >Commited Smoker</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Not Daily</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >No</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle" >Yes</td><td align="center" valign="middle"  colspan="2"  >No readmission</td></tr></tbody></table></table-wrap></sec><sec id="s4_5"><title>4.5. Modeling of a Clinical Decision Support Classifier to Predict Avoidable Re-Hospitalization of Discharged Breast Cancer Patient before Actual Discharging</title><p>The implementation Clinical Decision Support Classifier is divided into five stages. In the first stage, data attributes that cause re-hospitalization are collected and then uploaded into the Rapidminer software algorithm. In the third stage, data preprocessing and visualization in the rapid miner are executed. In the fourth stage, modeling and generation of predictive decision trees based on ID3 and C4.5 algorithms are actioned.</p><p>• Splitting Re-hospitalization dataset to train and validate generated Breast Cancer Re-hospitalization prediction Model upon discharge</p><p>The Rapidminer software has been designed by default to split the Re-hospitalization dataset attributes into training and validation sets. The hypothetical optimal decision tree that is generated from these datasets, learns the training dataset and gets validated using the validation dataset. The patient’s dataset is split in the ratio of 0.7 and 0.3 to train and validate generated Breast cancer Re-hospitalization prediction model respectively. The diagram in <xref ref-type="fig" rid="fig4">Figure 4</xref>(b) below shows how the dataset is split in the ratio of 0.7 and 0.3 to train and validate generated Breast cancer Re-hospitalization prediction model. In <xref ref-type="fig" rid="fig4">Figure 4</xref>(b), Breast cancer feature sets on re-hospitalization, capture the basic information about each input risk variable to classify it as re-hospitalization related or non-re-hospitalization related. Pairs of these feature sets and labels are fed into the machine learning algorithm i.e. rapid miner software to generate a re-hospitalization predictive model.</p><p>• Training of generated re-hospitalization decision tree classifier model</p><p>Rapidminer software algorithm is configured in such a way that it generates a decision tree model classifier when provided with suitable risk datasets. Generated decision tree classifier is then trained to learn the training dataset as shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>(b). As a result, a more optimal decision tree classifier is generated which is superior in classifying new unseen breast cancer re-hospitalization risk attributes. The ID3 and C4.5 Algorithms which are instances of decision tree algorithms are at play as the same are inbuilt in the Rapid miner software. The ID3 decision tree classifying model that has been generated from these breast cancer re-hospitalization risk datasets is represented in <xref ref-type="fig" rid="fig5">Figure 5</xref> below.</p><p>• The ID3 Classifier errors due to overfitting of the Breast Cancer re-hospitalization dataset</p><p>The unpruned clinical decision tree model i.e. ID3 algorithm has a high error rate as can be demonstrated by the aid of Lemma’s theorem illustrated in figure 6 below.</p><p>The overfitting of the Breast cancer re-hospitalization dataset takes place when a classifier function is too closely aligned to a limited set of data points. As a result, the model is useful in reference only to its initial training data set, and not to any other data sets. For example, let D be a set of Breast cancer data examples and let H be a hypothesis space. The hypothesis space h ∈ H is considered to overfit D if an h ′ ∈ H with the following property exists:</p><p>E r r ( h ′ , D ) &lt; E r r ( h , D )     and     E r r * ( h ) &gt; E r r * ( h ′ ) ,</p><p>where E r r * ( h ) denotes the true misclassification rate of h, while E r r ( h ′ , D ) denotes the error of h ′ on the example set D. Reasons for overfitting are rooted in the example data set D and are that D is noisy, D is biased, and hence non-representative. D is too small and hence pretends unrealistic data properties. Thus given a hypothesis universal space H, and hypothesis h (or unpruned decision tree classifier), then h ∈ H . h ∈ H is said to overfit the training</p><p>dataset if there exists in H, an alternative hypothesis h ′ ∈ H such that h ∈ H has a bigger error than an alternative hypothesis over the training examples as h ′ ∈ H which is an alternative has a smaller error than h ∈ H which is considered to be unpruned. We can therefore conclude that h ∈ H memorizes the training dataset and thus can be a less classifier beyond memorized training dataset than the h ′ ∈ H . This has been outlined by the curves in <xref ref-type="fig" rid="fig6">Figure 6</xref>.</p><p>• The C4.5 decision tree classifier is an optimal Breast Cancer rehospitalization prediction model improved from the ID3 classifier Algorithm due to pruning</p><p>The C4.5 algorithm is an improved version of the ID3 classifier algorithm with fewer decision nodes compared to the ID3 Algorithm as shown in <xref ref-type="fig" rid="fig7">Figure 7</xref> below. By deployment of C4.5 Algorithm in this study, we ensure that pruning of the resulting decision tree from ID3 classifier algorithm has been done. The model in <xref ref-type="fig" rid="fig7">Figure 7</xref> is the generated C4.5 decision tree classifier for the prediction of re-hospitalization of discharged Breast cancer patients obtained by pruning ID3 decision tree Breast cancer classifier model.</p></sec><sec id="s4_6"><title>4.6. Evaluation and Analysis of Clinical Decision Support Model (C4.5 Algorithms) for Prediction of Breast Cancer Re-Hospitalization upon Discharge</title><p>• Evaluation and Analysis via Confusion Matrix of Clinical Decision support Model (C4.5 Algorithms)</p><p>Considering classification problems using only two classes, each instance is mapped to one element of the set {p, n} of positive and negative class labels. A classification model (or classiﬁer) is mapping from instances to predicted classes. The classification model may produce continuous output (e.g., an estimate of an instance I). Also, they may produce discrete class labels indicating only the predicted class of the instance.</p><p>In this analysis and evaluation, to distinguish between the actual class and the predicted class we use the labels {P1, N2}. The below <xref ref-type="fig" rid="fig8">Figure 8</xref>(a) shows a 78.57% measure of the accuracy of the Clinical Decision support Model when built on C4.5 Algorithm i.e. pruned ID3 Algorithm. We also obtained the detection of a True negative of 85.71% and a True positive of 71.43% indicating that clinical decisions modeled on C4.5 Algorithm have better performance outcomes as shown in <xref ref-type="fig" rid="fig8">Figure 8</xref>(a) below.</p><p>For precision measures, the Clinical Decision support Modelled on C4.5 Algorithms for the prediction of Breast Cancer re-hospitalization upon discharge recorded 75.00% in identifying True negative and 83.33% level of precision in detection of true positive as shown in the below <xref ref-type="fig" rid="fig8">Figure 8</xref>(b).</p><p>Recall metrics measure the quantification of the number of positive class predictions made out of all positive examples in the dataset. In this instance, the Clinical Decision support Model built on C4.5 Algorithm has been able to quantify correctly the prediction of Breast Cancer re-hospitalization upon discharge by 71.43% for True positive and true negative by 85.71% showing the strength of the Clinical Decision support Model when built on C4.5 Algorithm. <xref ref-type="fig" rid="fig8">Figure 8</xref>(c) demonstrates this accomplishment.</p><p>These metrics outcomes mentioned above from the Clinical Decision support Model built on C4.5 Algorithm are also realized through the confusion matrix computation as shown in <xref ref-type="table" rid="table2">Table 2</xref> below.</p><p>The confusion matrix and common performance metrics were calculated from the model. These were noted as follows:</p><p>Precision for True negative = (TP)/(TP) + (FP) = 6/8 = 75%, also</p><p>Precision for true positive = (TN)/(TN) + (FN) = 5/6 = 83.33%</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> The confusion matrix of the clinical decision support model (C4.5 Algorithms) for prediction of breast cancer rehospitalization</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Patient class</th><th align="center" valign="middle" >Predicted by the model to be Re-hospitalized (P<sub>1</sub>)</th><th align="center" valign="middle" >Predicted by the model not to be Re-hospitalized (N<sub>2</sub>)</th><th align="center" valign="middle" >total</th><th align="center" valign="middle" >Recognition (%)</th></tr></thead><tr><td align="center" valign="middle" >To be Re-hospitalized (P<sub>1</sub>)</td><td align="center" valign="middle" >6 (TP)</td><td align="center" valign="middle" >2 (FP)</td><td align="center" valign="middle" >8</td><td align="center" valign="middle" >75% (precision)</td></tr><tr><td align="center" valign="middle" >Not Re-hospitalized (N<sub>2</sub>)</td><td align="center" valign="middle" >1 (FN)</td><td align="center" valign="middle" >5 (TN)</td><td align="center" valign="middle" >6</td><td align="center" valign="middle" >71.42% (specificity)</td></tr><tr><td align="center" valign="middle" >Total</td><td align="center" valign="middle" >7 (P)</td><td align="center" valign="middle" >7 (N)</td><td align="center" valign="middle" >14 (All)</td><td align="center" valign="middle" >78.57% (accuracy)</td></tr></tbody></table></table-wrap><p>Recall = (TP)/(TP) + (FN) = 6/7 = 85.71% also similar to sensitivity.</p><p>Classifier Accuracy, or recognition rate: percentage of test set tuples that are correctly classified. Accuracy = (TP + TN)/All = 6 + 5/14 = 78.57%.</p><p>Error rate: 1 – accuracy, or Error rate = (FP + FN)/All = 2 + 1/14 = 0.2142857142857143.</p><p>Sensitivity: True Positive recognition rate (Recall positive),</p><p>Sensitivity = TP/P = 6/7 = 85.714%.</p><p>Specificity: True Negative recognition rate (Recall Negative), Specificity = 5/7 = 71.43%.</p><p>By convention, the performance of a classification model such as the Clinical Decision support Model (C4.5 Algorithms) for the prediction of Breast Cancer re-hospitalization is usually summarized by the following two quantities related to the two types of errors: true-positive rate and false-positive rate. In this context, the true-positive rate is the probability that a patient to be re-hospitalized is correctly classified as such and the false-positive rate is the probability that a patient who shall not be re-hospitalized is incorrectly classified as shall be re-hospitalized. (The true-positive rate is also called sensitivity or recall and one minus the false-Positive rate is also called specificity). For an ideal classification rule, the true-positive rate is one and the false-positive rate is zero. The magnitudes of acceptable false-positive rates and true-positive rates depend on the corresponding costs and perceived benefits for the problem in question. For instance above results outcome for the Clinical Decision support Model (C4.5 Algorithm) for the prediction of Breast Cancer re-hospitalization is fairly acceptable to reinforce experts discharging decisions.</p><p>On the flip side, a comparison of C4.5 Algorithms performance to unpruned Clinical Decision support Model (ID3 Algorithms) for the prediction of Breast Cancer re-hospitalization indicates that the latter is a fewer performer in terms of accuracy, precision, and recalling while predicting re-hospitalization for discharged Breast cancer patients.. For example, <xref ref-type="fig" rid="fig9">Figure 9</xref>(a) below presents an accuracy of 64.29% which is lesser when compared to 78.57% which was obtained by the Clinical Decision support Model modeled on C4.5 Algorithm.</p><p>Furthermore, the unpruned Clinical Decision support Modeled on the ID3 Algorithm, provides the precision of 60.00% for True negative and true positive at 75.00% as shown in <xref ref-type="fig" rid="fig9">Figure 9</xref>(b) below unlike its counterpart implemented on the C4.5 Algorithm that scored precision of 75.00% for True negative and true positive of 83.33%.</p><p>It’s worth also noting that recall of prediction by the Clinical Decision support Model fashioned on ID3 Algorithm stands at 85.71% for True positive and true negative at 42.86% as shown in the <xref ref-type="fig" rid="fig9">Figure 9</xref>(c) below which is away lower as compared Clinical Decision support Model produced on the C4.5 Algorithm.</p><p>• The receiver operating characteristic (ROC) evaluation and analysis of the Clinical Decision support Model (built on ID3 and C4.5 Algorithm) for the prediction of Breast Cancer rehospitalization</p><p>ROC graphs have long been used in signal detection theory to depict the tradeoff between hit rates and false alarm rates of a classifier [<xref ref-type="bibr" rid="scirp.118913-ref16">16</xref>]. The medical decision-making community has extensive literature on the use of ROC graphs for diagnostic testing (Zou, 2002). Recent years have seen an increase in the use of ROC graphs in the machine learning community, due in part to the realization that simple classification accuracy is often a poor metric for measuring performance [<xref ref-type="bibr" rid="scirp.118913-ref17">17</xref>], and that they have properties that make them especially useful for domains with skewed class distribution (test set) and unequal classification error costs. These characteristics have become increasingly important as research continues into the areas of cost-sensitive learning and learning in the presence of unbalanced classes (test set).</p><p>As seen above, ROC graphs are two-dimensional graphs in which the TP rate is plotted on the Y-axis and the FP rate is plotted on the X-axis. A ROC graph depicts relative tradeoffs between benefits (true positives) and costs (false positives). <xref ref-type="fig" rid="fig9">Figure 9</xref>(d) shows that each discrete classifier produces a (TP rate, FP rate) pair corresponding to a single point in the ROC space. Several points in the ROC space are important to note. The lower left point (0, 0) represents the strategy of never issuing a positive classiﬁcation; such a classiﬁer commits no false-positive errors but also gains no true positives. The opposite strategy, of unconditionally issuing positive classiﬁcations, is represented by the upper right point (1, 1). The point (0, 1) represents perfect classification. Informally, one point in ROC space is better than another if it is to the northwest (TP rate is higher, FP rate is lower) appearing on the left-hand side of a ROC graph, near the X-axis, may turn to correspond to one ROC point. Thus, a discrete classiﬁer produces only a single point in the ROC space. The rationale for the optimal ROC curve is that: 1) One wants the highest true-positive rate for a given false-positive rate, and 2) One can specify a rule on the ROC line linking two (false-positive rate, true-positive rate) points by applying the rule for one point with some probability and the rule for the other point with one minus that probability. However, in practice, one would like one of the points on the optimal ROC curve to lie near the target false- and true-positive rates. For the reasons given above, interest is in the part of the ROC curve corresponding to a low false-positive rate when evaluating prediction. The area under (ROC) curve is known as AUC. This area, therefore, should be greater than 0.5 for a model to be acceptable; a model with an AUC of 0.5 or less is worthless. Understandably, this area is a measure of the predictive accuracy of the model. Based on this information, the area under the curve (ROC) for the C4.5 Algorithm is relatively bigger than for the ID3 Algorithm shown in the <xref ref-type="fig" rid="fig9">Figure 9</xref>(e) below implying that C.4.5 is a superior classifier.</p><p>Finally, the confusion matrix and common performance metrics based on the Clinical Decision support Model (ID3 Algorithm) for the prediction of Breast Cancer re-hospitalization have lower metrics performance unlike if the Clinical Decision support Model is modeled on the C4.5 Algorithm for the prediction of Breast Cancer re-hospitalization.</p></sec><sec id="s4_7"><title>4.7. Mapping of the Clinical Decision Support (Built on the C4.5 Algorithm) Model to Predict Re-Hospitalization of Breast Cancer Patients before Discharging Them to the General Public Using Python Web Application</title><p>The predictive patterns generated from data risk variables linked to Breast cancer readmission are coded into class methods of if-else ladders in Python programming language as shown in appendix I. The class method is configured in such a way that they accept only the splitting risk attributes. The class methods return the final result of that particular risk evaluation, indicating whether that patient would be re-hospitalized or will not should he/she be discharged. This understanding is mapped onto a web-based platform to assess and evaluate Breast Cancer patients before being integrated into the general public as, “medicare advantaged patients experience fewer re-hospitalizations”, Jaimie Oh, (2012). <xref ref-type="fig" rid="fig1">Figure 1</xref>0(a) and <xref ref-type="fig" rid="fig1">Figure 1</xref>0(b)) seen below are the web-based application designed and mapped from this understanding. This web-based application is fashioned from Django-1.6.5 as explained in the succeeding section.</p><p>• Code Igniter-Django-1.6.5.</p><p>As illustrated above, a web application that is mapping Clinical Decision Support (built on the C4.5 Algorithm) model to predict the re-hospitalization of Breast cancer patients before discharging is developed through a Python framework named Django 1.6.5. The web application has provisions for multiple simultaneous clinician registrations and logins thus ensuring independent clinical evaluation. <xref ref-type="fig" rid="fig1">Figure 1</xref>0(a) and <xref ref-type="fig" rid="fig1">Figure 1</xref>0(b) below depicts the built Clinical</p><p>Decision Support on the C4.5 Algorithm. <xref ref-type="fig" rid="fig1">Figure 1</xref>0(a) is the registration interface for this clinical decision application while <xref ref-type="fig" rid="fig1">Figure 1</xref>0(b) is the login interface respectively.</p><p>• The web-based Python application Predicting to Re-hospitalization of Breast cancer patients before discharging</p><p>Once the web-based Python application for Prediction of Re-hospitalization to Breast cancer patients is mapped in class python methods, a web-based application is designed for clinicians to do entries and evaluations on the splitting risk values attribute of a patient as conveyed below in <xref ref-type="fig" rid="fig1">Figure 1</xref>1(a) and <xref ref-type="fig" rid="fig1">Figure 1</xref>1(b) respectively. Breast cancer Risk values for re-hospitalization are used to evaluate avoidable re-hospitalization of a patient as either “Re-hospitalization occurs”, or “no re-hospitalization”.</p></sec></sec><sec id="s5"><title>5. Discussion and Conclusions</title><p>• Discussions of the main Results</p><p>The results of the Clinical Decision Support (built on the C4.5 or ID3 Algorithms) model to predict the re-hospitalization of Breast cancer patients before discharging are illustrated in <xref ref-type="fig" rid="fig8">Figure 8</xref>(a) which illustrated that the overall accuracy of the Clinical Decision support Model (C4.5 Algorithms) for the prediction of Breast Cancer re-hospitalization upon discharge as 78.57%. The detection of the true negative was noted as 85.71% while the true positive was at 71.43%. Also in <xref ref-type="fig" rid="fig8">Figure 8</xref>(b), the overall class precision of the Clinical Decision support Model (C4.5 Algorithms) for the prediction of Breast Cancer re-hospitalization upon discharge stood at 75.00% for true negative and true positive at 83.33%. <xref ref-type="fig" rid="fig8">Figure 8</xref>(c) noted that the overall recall for the Clinical Decision support Model (C4.5 Algorithms) for the prediction of Breast Cancer re-hospitalization upon discharge was 71.43% for true positive and true negative at 85.71%. <xref ref-type="table" rid="table2">Table 2</xref>, which is a confusion matrix manually generated and meant to validate presented metrics of the Clinical Decision support Model (C4.5 Algorithms) to Predict Breast Cancer re-hospitalization was noted generally to be congruent to presented metrics observed in Figures 8(a)-(c) and the ROC curve analysis of same Clinical Decision support Model (C4.5 Algorithm) predicting Breast Cancer re-hospitallization in <xref ref-type="fig" rid="fig9">Figure 9</xref>(d). It is detailed also that the Clinical Decision support Model (on C4.5 Algorithms) has a small error rate of approximately 0.21.</p><p>In <xref ref-type="fig" rid="fig9">Figure 9</xref>(a), the overall accuracy of the Clinical Decision support Model (ID3 Algorithms) for the prediction of Breast Cancer re-hospitalization upon discharge stood at 64.29% while the detection of true negative samples was at 42.86% as true positive stayed at 85.71%. <xref ref-type="fig" rid="fig9">Figure 9</xref>(b) also illustrates that the overall class precision of the Clinical Decision support Model (ID3 Algorithms) for the prediction of Breast Cancer re-hospitalization upon discharge is 60.00% for true negative and true positive remained at 75.00% as <xref ref-type="fig" rid="fig9">Figure 9</xref>(c) reports that the overall recall for the same Clinical Decision support Model (ID3 Algorithm) for the prediction of Breast Cancer re-hospitalization upon discharge stood at 85.71% for true positive and true negative at 42.86%. The juxtaposition of these metrics on the ROC curve analysis shown in <xref ref-type="fig" rid="fig9">Figure 9</xref>(d) for the Clinical Decision support Model (ID3 Algorithm), disclosed less coverage on the receiver operating characteristic (ROC) graph indicating weak metrics that are harmonious to its metrics observed for same the Clinical Decision support Model (ID3 Algorithms) to Predict Breast Cancer re-hospitalization upon discharge.</p><p>To sum up, the face value of metrics from either the C4.5 model or ID3 model, confidently says that the Clinical Decision Support built on the C4.5 model to predict the re-hospitalization of Breast cancer patients before discharging is more acceptable evidenced by its accuracy, recall, and precision metrics unlike the Clinical Decision Support built on the ID3 algorithm. Observed also is that the Clinical Decision Support model built on the ID3 algorithm is a poorer classifier may be because of its unpruned nature, noise, insufficient data, and or skewed data distribution.</p><p>Poorer classification at the initial stage by the Clinical Decision support Model (C4.5 Algorithms) depicted by its ROC curve could be due to the wastage of “heat” needed to overcome the data “friction” having been observed also by Collins Mowel in simulation and modeling.</p><p>• Value of the study</p><p>By implementing this study, we bridge the existing gap in breast cancer discharging and re-hospitalization currently witnessed in Kenyatta National Hospital occasioned by less informed clinical Breast cancer discharge that is merely based on experts’ opinions which is insufficiently reinforced for better treatment value outcomes. The rein-forced discharge decision achieved by this study provides better treatment outcomes through a timely decision to work hand in hand with the expertise in deriving an integrative discharge decision having been agreed upon in the medical circles as a strategy that is likely to eliminate the fore-seeable deterioration quality of health for a discharged breast cancer patients thus surging rates of mortality blamed on mistrusted discharge decisions. Reviewed literature didn’t reveal existing studies conducted in Kenyatta National Hospital (KNH) in the context of breast cancer discharging and re-hospitalization. This is another compelling force relevant for undertaking this study. This study is also significant as it may be among the transformative practices desired for value-based treatment and management of breast cancer besides. This study is also contributing to theoretical knowledge for discharging and re-hospitalization of Breast cancer patients. The study generates new theories hence valuable for theory building. The new types of breast cancer risk data sets available are rich in detail and combine information of multiple types (e.g., temporal, cross-sectional, geographical, and textual) with a high level of granularity. Such data often contain complex relationships and patterns that are hard to hypothesize, especially given theories that exclude many newly measurable concepts. The model is designed to operate in such environments and detects new patterns and behaviors and helps uncover potential new causal mechanisms, in turn leading to the development of new theoretical models.</p><p>This study is solving the poorly structured problem of uncertainty in clinical decision-making by minimizing avoidable mistakes, adverse events, and the problem of thinking hard at the point of decision making hence reduction of subsequent source-related death. Through this study, an unstructured or poorly structured problem is transformed into a structured problem by stating the problem’s initial state, solution state, and target state. When the problem is in these states, the curse of dimensionality in the decision-making is lowered significantly because there are some rules and directives on how to reach the target solution.</p><p>The study access relevance of the decision made by Breast cancer experts to discharge a patient thus remains true that if we can predict success based on a certain explanation (i.e. C4.5 model or ID3 model), then we have a good reason, and perhaps the best sort of reason, for accepting the explanation. This model is, therefore, a useful tool for assessing the distance between theory (Statistical model) and practice especially when headed to infinity hence assessing the predictive power of a theory to sheds light on the actual performance of an empirical model. The model (i.e. C4.5 model or ID3 model), can therefore be used to assess the practical relevance of a theory (Keil et al.).</p><p>The study through the Model (i.e. C4.5 model or ID3 model), can also be used to improve existing models since it captures complex underlying patterns and relationships, thereby improving existing explanatory statistical models (Collopy et al.).</p><p>• Limitations of the research</p><p>In this study, one cannot make progress without adequate size and quality of Breast cancer dataset risk for training the model that is to predict Breast cancer patients’ rehospitalization upon discharge. Getting these Breast cancer risk variables dataset is tedious and cumbersome. This study also requires that you have a clear definition of the concept to be predicted and concept examples.</p><p>Among the difficulties in implementing the Clinical Decision Support (built on the C4.5 or ID3 Algorithms) model to predict the re-hospitalization of Breast cancer patients before discharging in everyday clinical practice come mainly from programmers’ insufficient understanding of medical reasoning and decision analyses to accurately inform the model.</p><p>For this predictive model to be successful in predicting re-hospitalization before discharging Breast cancer patients, the training risk data variables must be representative of the test data. Typically, the training data come from the past, while the test data arise in the future. If the re-hospitalization to be predicted is not stable over time as in the case of the Breast case which is made of obscurity and keeps on changing, then predictions are likely not to be useful. For example, changes in the general economy, lifestyle, and social attitudes towards breast cancer are all likely to change the behavior of patients in the future. The model, therefore, needs constant updates with time which has not been implemented in this study.</p><p>Also, the predictive model can mislead clinicians and Breast cancer experts to an ever-increased focus on optimizing predictive power at the expense of understanding the broader situation of theory building and richer content of attributes on avoidable re-hospitalization. Clinicians should be aware of this model’s temptation which can shift away from their attention to the real problem of concept building. Clinicians should also be aware that the model doesn’t read their minds but work on the “sword of data” and that the model is supportive but they make the actual decision.</p><p>• Future Research Works</p><p>Clinicians and oncologists expect the predictive model to read their minds and deliver the exact verdict on the re-hospitalization problem. However, up to date, artificial intelligence and Machine learning don’t read minds. They simply give causal relations and underlying patterns. Thus there is a need to research and provide an autonomous “mind-reading” model to predict the re-hospitalization of Breast cancer patients before discharging.</p><p>As noted also for the predictive model to be successful, the training data must be representative of the test data. Typically, the training data come from the past, while the test data arise in the future. Since the re-hospitalization to be predicted is not stable over time, then predictions are likely not to be useful. Changes in the general economy, lifestyle, and social attitudes towards breast cancer are all likely to change the behavior of patients in the future. It is therefore recommended for research on a predictive model which will automatically update itself with the constant lifestyle changes and other Breast cancer re-hospitalization risks.</p><p>In <xref ref-type="fig" rid="fig5">Figure 5</xref>, we observed a single decision tree (ID3) algorithm weakness for prediction as it’s shallow and thus unable to predict deeper variables risk thus rendering an incomplete prediction. This study recommends replicating a similar study but now on a random forest algorithm or the Gradient Boosting algorithm. Implementation of this study on the decision tree (ID3) algorithm or C4.5 algorithm was easy for prediction of Breast Cancer re-hospitalization by following the path nodes and finding the result. The random forests algorithm is the most accurate learning and classifier algorithm due to its nature of reducing variance through using different samples for training the model and also building and combining small (shallow) trees. When the Random Forest algorithm is compared to the Gradient Boosting algorithm, it is noted that just like random forests, gradient boosting uses a set of single decision trees though the random Forest algorithm builds each tree independently while gradient boosting builds one tree at a time. The Random Forest algorithm is an additive model (ensemble) that works in a forward stage-wise manner, by introducing a weak single decision tree learner to improve the shortcomings of existing single weak decision tree learners thus covering each other black spots. Gradient boosting combines results along the way. It shall be thought-provoking to see this study replicated through either the Random Forest algorithm or the Gradient Boosting algorithm instead of a single decision tree (i.e. ID3 Algorithm or C4.5 algorithm).</p><p>&#183; The Conclusion</p><p>The Clinical Decision Support (built on the C4.5 Algorithms) model to predict the re-hospitalization of Breast cancer patients before discharging that has been implemented in this study doesn’t work independently of a clinician or an oncologist. The goal of the model is to make clinicians and oncologists less wrong than they were and not for them to assume that this model will make them 100 percent right in their clinical discharging decision. The model has a high level of performance metrics though slightly lower prediction at the initial stages. We recommend this model for side-by-side Breast cancer clinical practice before discharging Breast cancer patients who may seem to have improved in their quality of health after prolonged medication in the hospital ward.</p></sec><sec id="s6"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s7"><title>Cite this paper</title><p>Otieno, C.O., Obwocha, O.R. and Kahonge, A.M. (2022) A Decision Support Model for Predicting Avoidable Re-Hospitalization of Breast Cancer Patients in Kenyatta National Hospital. Journal of Software Engineering and Applications, 15, 275-307. https://doi.org/10.4236/jsea.2022.158017</p></sec><sec id="s8"><title>Appendix</title><p>The Clinical Decision Support (built on the C4.5 Algorithms) model to predict the re-hospitalization of Breast cancer patients before discharging code Prototype</p><p>import json</p><p>NODE_NAMES = ['Timely Medical Dose', 'Fat Intake', 'Abuse Antibiotics',</p><p>'Use Oral Contraceptive', 'Stress Burden', 'Physical Exercise',</p><p>'Appropriate Discharge', 'Overweight',</p><p>'No Re-Hospitalization', 'Re-Hospitalization Occurs']</p><p>class Node(object):</p><p>def __init__(self, node_value):</p><p>'''Initialize the node</p><p>'''</p><p>self.key = node_value</p><p>self.positive_node = None # When the response is positive</p><p>self.negative_node = None # When the response is negative</p><p>def __repr__(self):</p><p>return self.key</p><p>def get_node_value(self):</p><p>'''</p><p>Sets the node' name</p><p>'''</p><p>return self.key</p><p>def set_node_value(self, value):</p><p>'''</p><p>Returns the node's value</p><p>'''</p><p>self.key = value</p><p>def set_positive(self, value):</p><p>'''</p><p>Sets the node returned when given a positive value</p><p>'''</p><p>if not self.positive_node:</p><p>self.positive_node = Node(value)</p><p>else:</p><p>node = Node(value)</p><p>current = self.positive_node</p><p>node.positive_node = current</p><p>self.positive_node = node</p><p>def set_negative(self, value):</p><p>'''Sets the node returned when given a positive value</p><p>'''</p><p>if not self.negative_node:</p><p>self.negative_node = Node(value)</p><p>else:</p><p>node = Node(value)</p><p>current = self.negative_node</p><p>node.negative_node = current</p><p>self.negative_node = node</p><p>def get_positive_node(self):</p><p>return self.positive_node</p><p>def get_negative_node(self):</p><p>return self.negative_node</p><p>def is_tree(self):</p><p>if self.negative_node and self.positive_node:</p><p>return True</p><p>return False</p><p>def addtree(data, tree=None):</p><p>''' Build the tree recursively</p><p>'''if not tree:</p><p>return</p><p>positive_value = data[tree.key_dict][<xref ref-type="bibr" rid="scirp.118913-ref1">1</xref>]</p><p>if positive_value:</p><p>tree.set_positive(data[positive_value][<xref ref-type="bibr" rid="scirp.118913-ref0">0</xref>])</p><p>tree.get_positive_node().key_dict = positive_value</p><p>addtree(data, tree.get_positive_node())</p><p>negative_value = data[tree.key_dict][<xref ref-type="bibr" rid="scirp.118913-ref2">2</xref>]</p><p>if negative_value:</p><p>tree.set_negative(data[negative_value][<xref ref-type="bibr" rid="scirp.118913-ref0">0</xref>])</p><p>tree.get_negative_node().key_dict = negative_value</p><p>addtree(data, tree.get_negative_node())</p><p>return tree</p><p>def buildtree(path, root_value=&quot;Timely Medical Dose&quot;):</p><p>f = open(path)</p><p>data = json.load(f)</p><p>root = Node(root_value)</p><p>root.key_dict = &quot;Timely Medical Dose&quot;</p><p>return addtree(data, tree=root)</p><p>def evaluate(data, node):</p><p>if not node.is_tree():</p><p>return node</p><p>value = data[node.get_node_value()]</p><p>if value:</p><p>leave = evaluate(data, node.get_positive_node())</p><p>else:leave = evaluate(data, node.get_negative_node())</p><p>return leave</p></sec></body><back><ref-list><title>References</title><ref id="scirp.118913-ref1"><label>1</label><mixed-citation publication-type="book" xlink:type="simple">Anthony, D., Chetty, V.K., Kartha, A., McKenna, K., Rizzo DePaoli, M. and Jack, B. (2005) Re-Engineering the Hospital Discharge. In: Henriksen, K., Battles, J.B., Marks, E.S., et al., Eds., Advances in Patient Safety: From Research to Implementation (Volume 2: Concepts and Methodology), Agency for Healthcare Research and Quality, Rockville, 379-394.</mixed-citation></ref><ref id="scirp.118913-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Musimbi, A. (2013) Strategic Management of Breast Cancer. https://slideplayer.com/slide/5754092/</mixed-citation></ref><ref id="scirp.118913-ref3"><label>3</label><mixed-citation publication-type="book" xlink:type="simple">Kohn, L.T., Corrigan, J.M., Donaldson, M.S., (Eds.) (1999) To Err Is Human: Building a Safer Health System. National Academy Press, Washington DC.</mixed-citation></ref><ref id="scirp.118913-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Nyongessa, C. (2014) Kenya Society of Haematology and Oncology (KESHO).https://www.slideshare.net/drnyongesa1/history-of-kesho-by-dr-catherine-nyongesa</mixed-citation></ref><ref id="scirp.118913-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Kelly, C. (2014, February 18) Cervical Cancer Treatment Breakthrough Using Anti-HIV Drugs Discovered at Manchester University/Kenyatta National Hospital in Nairobi. https://www.mancunianmatters.co.uk/news/18022014-cervical-cancer-treatment-breakthrough-using-anti-hiv-drugs-discovered-at-manchester-university/</mixed-citation></ref><ref id="scirp.118913-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Healthcare Services Specification Project (2005) Service Functional Model Specification, Decision Support Service (DSS), Version 0.432.</mixed-citation></ref><ref id="scirp.118913-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">The Johns Hopkins ACG System (2009) Excerpt from Technical Reference Guide Version 9.0. The Johns Hopkins University, Baltimore.</mixed-citation></ref><ref id="scirp.118913-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Billings, J., Mijanovich, T., Dixon, J., Curry, N., Wennberg, D., Darin, B., et al. (2006) Case Finding Algorithms for Patients at Risk of Re-Hospitalization PARR1 and PARR2. NYU Center for Health and Public Service Research, New York.</mixed-citation></ref><ref id="scirp.118913-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Yi, C. (2012) Developing Decision Trees to Classify Patients Suited for Similar Interventions by Combining Clinical Judgments with Leeds Risk Stratification Tool. The Johns Hopkins University. https://www.hopkinsacg.org/document/developing-decision-trees-to-classify-patients-suited-for-similar-interventions-by-combining-clinical-judgments-with-leeds-risk-stratification-tool/</mixed-citation></ref><ref id="scirp.118913-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Curry, N., Billings, J., Darin, B., Dixon, J., Williams, M. and Wennberg, D. (2005) Predictive Risk Project Literature Review.https://www.kingsfund.org.uk/sites/default/files/field/field_document/predictive-risk-literature-review-june2005.pdf</mixed-citation></ref><ref id="scirp.118913-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Natale, J. and Wang, S. (2006) Prediction of Readmission of Heart Failure via Decision Tree Model. University of Akron, Akron.</mixed-citation></ref><ref id="scirp.118913-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Pantilat, S.Z., Lindenauer, P.K., Katz, P.P. and Wachter, R.M. (2002) Primary Care Physician Attitudes Regarding Communication with Hospitalists. Disease-a-Month, 48, 218-229. https://doi.org/10.1016/S0011-5029(02)90029-5</mixed-citation></ref><ref id="scirp.118913-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">http://www.bu.edu/fammed/projectred/</mixed-citation></ref><ref id="scirp.118913-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">https://www.cdc.gov/cancer/breast/basic_info/risk_factors.htm</mixed-citation></ref><ref id="scirp.118913-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Kothari, C.R. (2004) Research Methodology: Methods and Techniques. New Age International Publishers, New Delhi, 78.</mixed-citation></ref><ref id="scirp.118913-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Fawcett, T. (2006) An introduction to ROC analysis. Pattern Recognition Letters, 27, 861-874. https://doi.org/10.1016/j.patrec.2005.10.010 https://www.sciencedirect.com/science/article/abs/pii/S016786550500303X#</mixed-citation></ref><ref id="scirp.118913-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Provost, F. and Fawcett, T. (2001) Robust Classification for Imprecise Environments. Machine Learning, 42, 203-231.https://doi.org/10.1023/A:1007601015854 https://www.researchgate.net/publication/225910756_Robust_Classification_for_Imprecise_Environments</mixed-citation></ref></ref-list></back></article>