Giter VIP home page Giter VIP logo

diabetes-prediction-webapp-using-streamlit's Introduction

Diabetes-Prediction-WebApp-using-Streamlit

Steps to run the project:

Step 1: Download the ipynb file and load the dataset in it.

Step 2: Run the file to get 'trained_model.sav' on your colab directory.

Step 3: Create a folder named 'Diabetes Prediction' and store the trained_model.sav file in it.

Step 4: Open Anaconda and create new environment named as 'MachineLearning'

Step 5: In the MachineLearning environment, open terminal and download streamlit and sklearn using:

    streamlit:
    i) pip install streamlit
    ii) streamlit hello
    
    sklearn:
    i) pip install sklearn

Step 6: After installing the libraries, open 'Diabetes-prediction-webapp.py' on Spyder and store it in 'Diabetes Prediction' folder

Step 7: Copy the path of 'Diabetes-prediction-webapp.py'

Step 8: Open terminal of MachineLearning environment and run the command:

    streamlit run "..[path]..\Diabetes-prediction-webapp.py"

Step 9: Enter all the user inputs required

Step 10: Click on Predict button inorder to predict whether a person is 'Diabetic' or 'Non Diabetic'

Important links:

  1. Link to download Anaconda: https://www.anaconda.com/products/distribution
  2. About streamlit: https://docs.streamlit.io/library/get-started/installation
  3. About sklearn: https://pypi.org/project/scikit-learn/
  4. Download dataset from: https://www.kaggle.com/datasets/mathchi/diabetes-data-set

diabetes-prediction-webapp-using-streamlit's People

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.