Giter VIP home page Giter VIP logo

eyimofep / ensemble-dementia-predictor Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 259 KB

An application that allows users to predict the risk of a patient having dementia based from their MRI Scan and other medical data using Three Ensemble machine learning methods

Home Page: https://dementia-predictor.onrender.com/

Jupyter Notebook 90.36% Procfile 0.02% Python 4.29% JavaScript 0.20% CSS 0.48% HTML 4.66%
health machine-learning data-science dementia dementia-detection django ensemble-machine-learning python

ensemble-dementia-predictor's Introduction

Prediction of Dementia using Three Ensemble Machine Learning Methods: Project Overview

An application that allows users to predict the risk of a patient having dementia based from their MRI Scan and other medical data

  • Three types of Ensemble methods were performed to model the data .i.e Bagging, Stacking and Boosting.

    • Bagging using Random Forest
    • Stacking using Decision Trees, Naive Bayes and K-Nearest Neighbors
    • Boosting using XGBoost
  • Performed various Data Preprocessing techniques such as missing data imputation and removal of multicolinear features to clean and make the data ready for model building

  • Tuned hyperparameters of the model to achieve best performance.

  • Boosting had an accuracy of 86.76%, f1-score of 83.64% and recall of 85.19%

  • Model was deployed on a web application built using Django available at Dementia Predictor


Model Performamce

Accuracy, F1-Score and Recall were the metrics used to evaluate the performance of the model

Method Accuracy (%) F1-Score (%) Recall (%)
Bagging 85.29 82.14 85.19
Stacking 85.29 80.77 77.78
Boosting 86.76 83.64 85.19

Confusion Matrix

0 1
0 TN FP
1 FN TP

Web application of the model


Features

Variable Data Object Data type
MR Delay The number of days between visits by a patient. Integer
Gender Gender of a patient (M or F) Object
Hand Patient’s dominant hand Object
Age Patient's age at the time of data collection Integer
EDUC Years of Education Integer
SES Socioeconomic status is classified into categories from 1 (highest status) to 5 (lowest status) Integer
MMSE Mini-mental State Examination score (range is from 0-worst to 30-best) Integer
eTIV Estimated total intracranial volume (cm3) Integer
nWBV Normalized whole brain volume Float

Model Deployment

The final model with the best score was deployed on a web application built with Django with the frontend built with HTML & CSS with Boostrap 4 as the CSS Framework.

Web application of the model


ensemble-dementia-predictor's People

Contributors

eyimofep avatar

Stargazers

 avatar

Watchers

 avatar

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.