Depr AI - Depression Detection Model Overview Depr AI is a machine learning model designed to detect depression through speech analysis. This project aims to assist in identifying potential depression symptoms by analyzing audio recordings. The model leverages both TensorFlow and Keras for model building, with datasets curated from Kaggle and Hugging Face.

Features Speech-based Depression Detection: Depr AI analyzes audio recordings of speech to detect symptoms of depression. User Interaction: Upon registration, users are asked 10 questions related to their mood and activities over the past week to help build a context for the detection model. Datasets: The model is trained on the Kaggle Depression Audio Dataset and data from Hugging Face. Installation To get started with Depr AI, clone the repository and install the required dependencies.

git clone https://github.com/yourusername/DeprAI.git cd DeprAI pip install -r requirements.txt Requirements Python 3.x TensorFlow Keras Pandas Numpy To install the dependencies, run:

Dataset We have used datasets from:

Kaggle Depression Audio Dataset Hugging Face for pretrained models like rafalposwiata/deproberta-large-depression. Make sure you download and preprocess the datasets before running the model.

Usage Clone the repository. Preprocess the dataset. Train the model using the following command: python train.py For inference, provide the audio input file and run: python predict.py --audio_file path_to_audio.wav Model Details The model uses advanced NLP and audio feature extraction techniques combined with deep learning. For text-based detection, it uses Hugging Face's rafalposwiata/deproberta-large-depression model. For audio, it leverages features like MFCC (Mel-frequency cepstral coefficients) for input into the neural network.

User Registration and Interaction Upon registration, users are asked to answer 10 questions that assess their mood and mental state over the past week. These responses help provide context for more accurate depression detection based on their speech input.

Contribution We welcome contributions! If you would like to contribute to Depr AI, please follow the steps below:

Fork the repository. Create a new branch. Make your changes and commit. Open a pull request. License This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements Kaggle Depression Audio Dataset Hugging Face for pretrained models like rafalposwiata/deproberta-large-depression.

Built With

Share this project:

Updates