Giter Site home page Giter Site logo

ai-back's Introduction

AI Course Project

Description

Checkout project documentation here

This project aims to develop a predictive model for diabetes using logistic regression, a popular machine learning algorithm. The project consists of three phases.

Phase One: Data Preparation In this phase, the focus is on obtaining and preparing the required data for training and evaluating the logistic regression model. The provided website can be used to gather the data, ensuring it is in a suitable format for training.

Phase Two: Training a Logistic Regression Model for Diabetes Prediction The second phase involves training the logistic regression model using the prepared data. The data is split into a training set and a validation set. The model is trained on the training set to learn the relationships between input features (e.g., age, BMI, blood pressure, glucose levels) and the target variable (diabetic or non-diabetic). The model's performance is evaluated using the validation set.

Phase Three: Developing a User Interface for Diabetes Prediction In the third phase, a user interface is developed to allow users to input their features. The trained logistic regression model predicts whether the user is diabetic or non-diabetic based on the provided features.

Note: It is required to implement the logistic regression algorithm without using pre-existing libraries.

Overall, this project aims to develop a logistic regression model for diabetes prediction and provide a user-friendly interface for individuals to assess their likelihood of being diabetic based on their personal features.

Flow

The overall flow is the same as mentioned in Description section.

  1. The test and train data will split
  2. A pre process of standardization applies on data
  3. Model of Logistic-Regression will create based on data
  4. The prediction phase is ready

Installation

Create a python local environment. venv is suggested (make sure you have installed venv package)

python3 -m venv ./venv

Activate the environment

Linux:

source ./venv/bin/activate

Windows there is an activate.bat file in bin folder. Run it(not sure about the syntax):

venv\Scripts\activate

Install libraries for the project

pip3 install -r requirements.txt

run project using uvicorn web server:

uvicorn main:app --reload

ai-back's People

Watchers

Amirhosein Gharaati 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.