Giter Club home page Giter Club logo

yangoz94 / ml-depression-detection Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 56.3 MB

A web application that uses a ML/NLP model to detect depression based on textual input

Home Page: https://ml-depression-detection.vercel.app

License: GNU General Public License v3.0

HTML 1.41% CSS 1.80% JavaScript 2.24% TypeScript 40.19% Java 35.65% Python 15.71% Dockerfile 1.81% Batchfile 1.18%
aws aws-lambda beanstalk bert-model certificate-manager java jpa-hibernate keras-tensorflow postgresql react

ml-depression-detection's Introduction

ml-depression-detection

A Machine Learning Web Application with BERT to detect Depression in text.

Live link to the Web Application: https://ml-depression-detection.vercel.app

About the project

Frontend: React.js / Typescript / Tailwind CSS / Vite
Backend: Spring Boot / Java / PostgreSQL / JPA / Hibernate
ML Model: Python / Tensorflow / Keras / BERT / Transformer
Cloud: AWS Lambda / AWS RDS / AWS Beanstalk / AWS Route 53 / AWS Certificate Manager

Demo

demo

Instructions

  1. Visit the link above.
  2. Scroll down to the demo section or click on Try it out button.
  3. Enter the text you want to analyse. Your text should be at least 20 characters long and 2000 characters at max.
  4. Verify the captcha and click on Click to see the result button.

Things to keep in mind

  • AWS Lambda is used to host the model. So, the first time you use the application, it might take a while to load the model due to the cold start and limited resources.

  • .env file is not included in the repository. So, you will have to create your own .env file and add the following variables to your .env file in your frontend directory:

    • VITE_WEB_KEY(Recaptcha web key)
    • VITE_INPUT_POST_ENDPOINT
    • VITE_TOKEN_VERIFICATION_ENDPOINT
  • You also need the following env variables in your backend directory/application.properties file:

    • RECAPTCHA_SECRET (Recaptcha secret key)
    • AWS_SECRET_ACCESS_KEY
    • AWS_LAMBDA_FUNCTION_NAME (You need to deploy the model to AWS Lambda and add the function name here)
    • AWS_LAMBDA_FUNCTION_REGION (The region where you deployed the model)
    • SPRING_DATASOURCE_URL
    • SPRING_DATASOURCE_USERNAME
    • SPRING_DATASOURCE_PASSWORD

ml-depression-detection's People

Contributors

yangoz94 avatar

Stargazers

 avatar  avatar  avatar

Watchers

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