anikethhebbar / dia-detect

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Diabetes Prediction Web UI

This project is a web-based UI for diabetes prediction using logistic regression.

Dependencies

  • Python 3.x
  • scikit-learn
  • Flask

Installation

  1. Clone the repository:

    git clone https://github.com/anikethhebbar/dia-detect.git
  2. Install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Make sure you have the dataset file data.csv in the dataset directory.

  2. Make sure you have the trained model file LogisticModel.pkl in the model directory.

  3. Run the logisticreg.py script:

    python backend/logisticreg.py
  4. Open your web browser and go to http://localhost:5000 to access the web UI.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

This project is licensed under the MIT License.

About


Languages

Language:Python 94.4%Language:Cython 4.2%Language:C 0.8%Language:Jupyter Notebook 0.3%Language:C++ 0.1%Language:Fortran 0.1%Language:JavaScript 0.1%Language:CSS 0.0%Language:HTML 0.0%Language:PowerShell 0.0%Language:Smarty 0.0%Language:Roff 0.0%Language:Forth 0.0%Language:Shell 0.0%Language:XSLT 0.0%Language:Lua 0.0%