Giter Club home page Giter Club logo

cloud-native-ai-ml's Introduction

Cloud-native-AI-ML

Assignment :

Student Mental Health Prediction

Overview

This project focuses on predicting student mental health, specifically determining the presence or absence of depression. The workflow includes preprocessing data, training machine learning models, tracking performance with MLflow, saving the best model in ONNX format, and creating REST APIs with FastAPI and Flask. Additionally, both the machine learning model and the application are packaged as Docker containers for deployment flexibility.

Dataset

The dataset used in this project contains information relevant to student mental health, including features that contribute to predicting depression.

image

Dataset columns :

  • Timestamp
  • 'Choose your gender': 'gender'
  • 'Age ' : 'age'
  • 'What is your course?': 'major'
  • 'Your current year of Study': 'year'
  • 'What is your CGPA?': 'CGPA'
  • 'Marital status': 'Marriage'
  • 'Do you have Depression?': 'Depression'
  • 'Do you have Anxiety?': 'Anxiety'
  • 'Do you have Panic attack?': 'Panic'
  • 'Did you seek any specialist for a treatment?': 'treatment'

Training 5 ML Models

  • Support Vector Machine (SVM)
  • K-Nearest Neighbors (KNN)
  • Random Forest
  • Decision Tree
  • Gradient Boosting Classifier

Folder: MLflow

MLflow is an open-source platform for managing the end-to-end machine learning lifecycle. It enables tracking experiments, packaging code into reproducible runs, and sharing and deploying models. In this project, MLflow is employed for tracking model performance, versions, and parameters.

  • Train five machine learning models using various algorithms

  • Tracking Model Performance, Versions, and Parameters

MLflow

  • Saving Best Model in ONNX Format

  • Serialize and save preprocessing transformations using in pickle format.

Folder: FastAPI

FastAPI is a modern, fast (high-performance), web framework for building APIs. In this project, FastAPI plays a crucial role in creating a robust and efficient REST API to serve machine learning models predicting student mental health.

  • Use FastAPI to create a REST API for serving machine learning models.

FastAPI FastAPI

  • Packaging Model as a Docker Container

FastAPI

  • Package the machine learning model as a Docker container for easy deployment and scalability.

Folder: Flask

Flask is utilized to create a dedicated web application that interacts with the machine learning API. The Flask application serves as an intuitive interface for users to engage with the underlying predictive models for student mental health.

  • Develop a dedicated application using Flask to consume the machine learning API.
image
  • Package the Flask application as a Docker container for streamlined deployment.

    Flask

cloud-native-ai-ml's People

Contributors

mouradez 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.