Skip to content

subhomoy-roy-choudhury/Heart_disease_prediction_webpage

Repository files navigation

Heart-Disease-Prediction-using-Machine-Learning

Thus preventing Heart diseases has become more than necessary. Good data-driven systems for predicting heart diseases can improve the entire research and prevention process, making sure that more people can live healthy lives. This is where Machine Learning comes into play. Machine Learning helps in predicting the Heart diseases, and the predictions made are quite accurate.

The project involved analysis of the heart disease patient dataset with proper data processing. Then, different models were trained and and predictions are made with different algorithms KNN, Decision Tree, Random Forest,SVM,Logistic Regression etc This is the jupyter notebook code and dataset I've used for my Kaggle kernel 'Binary Classification with Sklearn and Keras'

I've used a variety of Machine Learning algorithms, implemented in Python, to predict the presence of heart disease in a patient. This is a classification problem, with input features as a variety of parameters, and the target variable as a binary variable, predicting whether heart disease is present or not.

Machine Learning algorithms used:

  1. Logistic Regression (Scikit-learn)
  2. Naive Bayes (Scikit-learn)
  3. Support Vector Machine (Linear) (Scikit-learn)
  4. K-Nearest Neighbours (Scikit-learn)
  5. Decision Tree (Scikit-learn)
  6. Random Forest (Scikit-learn)
  7. XGBoost (Scikit-learn)
  8. Artificial Neural Network with 1 Hidden layer (Keras)

Accuracy achieved: 90% (Random Forest)

Dataset used: https://www.kaggle.com/ronitf/heart-disease-uci

YT-DjangoProject-Iris-App

  • cd Iris_prediction_webpage
  • pipenv install
  • pipenv shell
  • pip install -r requirements.txt
  • pip install django
  • pip install pandas
  • pip install sklearn
  • python manage.py make migrations
  • python manage.py migrate
  • python manage.py createsuperuser
  • python manage.py runserver

    GITHUB Commands:-

  • git clone
  • git add .
  • git commit -m "Write the commit message"
  • git push origin branch_name
    Always push this in a branch except the main branch
  • git pull origin branch_name
  • About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published