Git Product home page Git Product logo

venkateshbh99 / heart-and-kidney-disease-prediction-django Goto Github PK

View Code? Open in Web Editor NEW
65.0 3.0 29.0 3.82 MB

Heart disease prediction and Kidney disease prediction. The whole code is built on different Machine learning techniques and built on website using Django

Home Page: https://whispering-hamlet-89328.herokuapp.com/

Python 27.49% HTML 7.56% Jupyter Notebook 64.95%
machine-learning django knn-classification random-forest decision-trees logistic-regression svm-classifier navies-bayes-classifer heart-disease-prediction kidney-disease-prediction

heart-and-kidney-disease-prediction-django's Introduction

Heart and Kidney Disease Prediction System using machine learning

The aim of this project is to predict heart and Kidney disease using data mining techniques and machine learning algorithms.This project implements 6 classificiation models using scikit-learn: Logistic Regression, Naïve Bayes, Support Vector Classifier,KNN, Nerual Network and Decision Tree Model to investigate their performance on heart and kidney disease datasets obtained from the UCI data repository and from Kaggle.com.

All the machine learning features can be viewed here: Machine Learning features for Heart and Machine Learning features for Kidney

It supports following features:

  • Login/ Sign Up
  • Viewing and Editing Profile.
  • User can enter the values of various parameters on the basis of which his risk factor will be calculated using machine learning algorithms.

Quick start

  1. (optional) create virtual env ex. mkvirtualenv mytest_env
  2. pip install -r requirements.txt
  3. python manage.py migrate
  4. python manage.py runserver

heart-and-kidney-disease-prediction-django's People

Contributors

ganubh99 avatar venkateshbh99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

heart-and-kidney-disease-prediction-django's Issues

KeyError on clicking predict

Traceback (most recent call last):
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python36\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
response = get_response(request)
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python36\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python36\lib\site-packages\django\contrib\auth\decorators.py", line 21, in _wrapped_view
return view_func(request, *args, **kwargs)
File "C:\Users\Lenovo\OneDrive\Desktop\Heart-and-Kidney-disease-prediction-Django-master\predict_risk\views.py", line 32, in PredictRisk
SVCClassifier,LogisticRegressionClassifier,NaiveBayesClassifier,DecisionTreeClassifier,NeuralNetworkClassifier,KNNClassifier=GetAllClassifiersForHeart()
File "C:\Users\Lenovo\OneDrive\Desktop\Heart-and-Kidney-disease-prediction-Django-master\predict_risk\data_provider.py", line 32, in GetAllClassifiersForHeart
return (GetSVCClassifierForHeart(),GetLogisticRegressionClassifierForHeart(),GetNaiveBayesClassifierForHeart(),GetDecisionTreeClassifierForHeart(),GetDeepLearningClassifierForHeart(),GetKNNClassifierForHeart())
File "C:\Users\Lenovo\OneDrive\Desktop\Heart-and-Kidney-disease-prediction-Django-master\predict_risk\data_provider.py", line 35, in GetSVCClassifierForHeart
return GetJobLibFile(config['heart']['SVC'])
File "C:\Users\Lenovo\OneDrive\Desktop\Heart-and-Kidney-disease-prediction-Django-master\predict_risk\data_provider.py", line 20, in GetJobLibFile
return joblib.load(os.path.join(dir, filepath))
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python36\lib\site-packages\joblib\numpy_pickle.py", line 587, in load
obj = _unpickle(fobj, filename, mmap_mode)
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python36\lib\site-packages\joblib\numpy_pickle.py", line 506, in _unpickle
obj = unpickler.load()
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python36\lib\pickle.py", line 1050, in load
dispatchkey[0]

Exception Type: KeyError at /predict/15
Exception Value: 0

Requirement.txt

Hey can you please help me run the project as I'm not able to install dependencies properly and its really very important for me to run it.

Errors while installing Requirements.txt

On Which Platform Did You Work for the Project Windows or Linux. The requirements file is a little creepy could you please look into it and let me know how to install the requirements BTW great project.

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.