Giter Site home page Giter Site logo

hospitalization-days-prediction's Introduction

Hospitalization-days-prediction

Prevention of unnecessary hospitalization and prediction of days the patient is required to be hospitalized.

Hospitalization-days-prediction

A system that predicts the duration of hospitalization required with an aim to prevent unnecessary hospitalizations, thereby saving expenditure on healthcare per capita.

                              

😇 Motivation

Amid the time of recession and increase in healthcare expenses after the pandemic, it has become of utmost importance to cut down expenditure on healthcare as well as minimizing the number of hospitalizations. This would not only promote less crowding in hospitals, bearing in mind precautionary measures in lieu of the pandemic, but also minimize the expenditure of people and government on healthcare.

⚠️ Framework used

  • Python
  • [Data Science]
  • [Machine Learning]

Relational Schema of the desired system

About Project

THE PROBLEM STATEMENT HAS BEEN SOLVED BY REGRESSION IN THIS PROJECT. This project needs rigorous data preprocessing which was a required step as a result of the nature of given dataset. The provided database comprised of 13 files in csv format. As a team, we initially gathered our understanding of the given data and the required output, followed by the eventual design of the system.

Data Preprocessing and Feature Extraction: This was the most crucial part of the design as data was very haphazard. We initially found correlation coefficient between the output feature and all input features, followed by handling of missing and inconsistent data. We then found the most influential features through filter method, did one hot encoding for handling categorical features, proceeded with random forest classifier and then wrapping method. Having obtained ranking of every input feature, we selected 70 out of 102 input features.

Data Modelling: To create a prediction model, we used the approach of classification models for categorical data and regresssion models for numerical data. We found decision tree classifier to be most effective for classification part and Gradient boosting classifier to be most effective for regression problem. We the ensembled these two models for increasing the final performace of the ensembled model.

Prediction: The ensembled model was used to predict the final optimized hospitalization days of patients.

PERFORMANCE

Decision Tree Classifier

The classifier worked with an accuracy of 85.01% on the testing data.

Gradient Boosting Regression Model

The model worked with an accuracy of 89.3% on testing data.

Ensembled Model

The ensembled model had an accuracy of 89.51%.

OUTPUT

image

##link to files that couldn't be uploaded because of large size

https://drive.google.com/drive/folders/13GN2dHQ8BII4NabrjrPRSaB8p2bWz08F?usp=sharing

hospitalization-days-prediction's People

Contributors

stuti2403 avatar ahmedkamruddin avatar navtegh avatar

Watchers

 avatar

Forkers

ahmedkamruddin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.