Git Product home page Git Product logo

chdpred's Introduction

CHDPred

Find the video recording here in this Drive link: https://drive.google.com/file/d/1pd5_OYsc8uzyb3Iyy87daAW2o1FkO6Wx/view?usp=sharing The webapp is hosted on: https://chdpred.onrender.com

Guidance Note

The problem that we are trying to solve is to detect if a person is suffering from CHD(Coronary Heart Disease) in the next 10 years of time based on certain input parameters. The Jupyter Notebook can be found in this repository to refer to.

I personally picked this from the health domain available on the Kaggle datasets. Upon analysing the dataset briefly, I came to a conclusion that the target value that we could be looking for is the CHD column and its output is always going to be binary (either 1 or 0).

Based on this initial information, I realized that we are now going to be looking towards creating Classification models, in this case Decision Tree Classifier, Random Forest Classifier and XGBClassifier. Such classification models train the dataset into giving not a range value like regression, but a classification value like binary in our case.

I initialized the project by setting up a new Conda virtual environment and importing the required dependencies. After loading the dataset, I went ahead with certain data preprocessing steps, like removing irrelevant features, checking and handling null values using the ‘most-frequent’ strategy. Then, I performed EDA (Exploratory Data Analysis) which in this case wasn’t required too much to an extent, but a basic heatmap showed me how and which features have potential correlations with the target feature.

Then I trained the models the way I described earlier and compared their Accuracy, Precision, Recall and F1-scores. Through this I finalized on the Random Forest Classifier. Then I exported this model into a Pickle file (.pkl) to be integrated into the basic Flask web application.

chdpred's People

Contributors

ashishlal2003 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.