Skip to content

Aftabby/sleep-disorder-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sleep Disorder Prediction - Web Application

Overview

This project focuses on predicting sleep disorders such as Insomnia and Sleep Apnea using individual lifestyle and medical data. The goal is to enable early risk identification and intervention through machine learning models.

Features

  • Interactive Visualizations: Explore insights about sleep disorders through interactive graphs.
  • Predictive Modeling: Use machine learning models to predict the likelihood of sleep disorders.
  • Data Insights: Analyze key factors such as BMI, gender, and occupation influencing sleep disorders.

Folder Structure

  • app/: Contains the main application files.
    • templates/: HTML templates for rendering the web pages.
    • static/: Static assets such as CSS, JavaScript, and images.
      • css/: Stylesheets for the web application.
      • js/: JavaScript files for interactive elements and visualizations.
    • app.py: The main Flask application file.
    • utils.py: Helper functions for data loading and graph generation.
  • data/: Contains raw and processed datasets.
    • raw/: Original datasets.
    • processed/: Cleaned and preprocessed datasets.

Usage

To run the web application locally:

  1. Navigate to the project directory:
    cd sleep-disorder-project\app
  2. Start the Flask application:
    python app.py
  3. Open the app in your browser at http://localhost:5000/sleep-disorder.

Technologies Used

  • Framework: Flask
  • Frontend: HTML, CSS, JavaScript
  • Visualization: Plotly
  • Deployment: Docker

Contributors

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

The aim of the project is to analyze the person's lifestyles and medical variables such as - age, BMI, physical activity, sleep duration, blood pressure and many more, to predict the sleep disorder and its type.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors