Template Credit: Adapted from a template made available by Dr. Jason Brownlee of Machine Learning Mastery.
SUMMARY: The purpose of this project is to construct a prediction model using various machine learning algorithms and to document the end-to-end steps using a template. The Diabetes Readmission Prediction is a multi-class classification situation where we are trying to predict one of the several possible outcomes.
INTRODUCTION: Management of hyperglycemia in hospitalized patients has a significant bearing on the outcome, in terms of both morbidity and mortality. However, there are few national assessments of diabetes care during hospitalization which could serve as a baseline for change. This analysis of a large clinical database was undertaken to provide such an assessment and to find future directions which might lead to improvements in patient safety. The statistical model suggests that the relationship between the probability of readmission and the HbA1c measurement depends on the primary diagnosis. The data suggest further that the greater attention to diabetes reflected in HbA1c determination may improve patient outcomes and lower cost of inpatient care.
In this iteration, we plan to establish the baseline prediction accuracy for further takes of modeling. To limit the processing time and memory requirements, we also will limit the attributes used for this project by not including those attributes that do not appear on the final model of the research paper.
ANALYSIS: The baseline performance of the machine learning algorithms achieved an average accuracy of 53.71%. Two algorithms (Linear Discriminant Analysis and Gradient Boosting) achieved the top accuracy metrics after the first round of modeling. After a series of tuning trials, Gradient Boosting turned in the top overall result and achieved an accuracy metric of 58.78%. By using the optimized parameters, the Bagged Decision Trees algorithm processed the testing dataset with an accuracy of 58.41%, which was just slightly below the prediction accuracy from the training data.
CONCLUSION: For this iteration, the Gradient Boosting algorithm achieved the best overall results using the training and testing datasets. For this dataset, Gradient Boosting should be considered for further modeling or production use.
Dataset Used: Diabetes 130-US hospitals for years 1999-2008 Data Set
Dataset ML Model: Multi-Class classification with numerical and categorical attributes
One source of potential performance benchmarks: http://www.hindawi.com/journals/bmri/2014/781670/
The HTML formatted report can be found here on GitHub.