This project includes the analysis of sleep health and lifestyle dataset and an application for predicting stress levels using machine learning.
The main objectives of the project are to analyze and visualize the data related to health, lifestyle, and demographic factors, derive actionable insights from the visualizations, and predict stress levels of individuals using machine learning techniques.
- Sleep health metrics analysis: Explore factors related to sleep duration, quality, and regularity.
- Lifestyle factors analysis: Investigate physical activity levels, stress levels, and BMI categories.
- Cardiovascular health analysis: Examine blood pressure and resting heart rate measurements.
- Sleep disorder analysis: Determine the presence of sleep disorders such as insomnia and sleep apnea.
Click for interactive Tableau Dashboard
About the Dataset
- Person ID: Unique identifier for each individual.
- Gender: Gender of the person (Male/Female).
- Age: Age of the person in years.
- Occupation: Person's occupation or profession.
- Sleep Duration (hours): Number of hours slept by the person in a day.
- Sleep Quality (scale: 1-10): Subjective evaluation of sleep quality on a scale from 1 to 10.
- Physical Activity Level (minutes/day): Number of minutes spent on daily physical activity.
- Stress Level (scale: 1-10): Subjective evaluation of stress level on a scale from 1 to 10.
- BMI Category: BMI category of the person (e.g., Underweight, Normal, Overweight).
- Blood Pressure (systolic/diastolic): Measurement of blood pressure represented through diastolic over systolic pressure.
- Resting Heart Rate (bpm): Resting heart rate of the person in beats per minute.
- Daily Steps: Number of steps taken by the person in a day.
- Sleep Disorder: Presence or absence of a sleep disorder in the person (None, Insomnia, Sleep Apnea).
Technologies Used
- Data Visualization: Tableau was used to create visualizations under the headings of demographics, health, and lifestyle.
- Data Analysis: Python and Jupyter Notebook were used to analyze the dataset and perform exploratory data analysis (EDA).
- Machine Learning: Machine learning and deep learning techniques were applied on the dataset to predict stress levels.
- Application Development: Streamlit was used to develop the stress level prediction application.
Installation and Usage
Just double click on the install.bat
file on the main directory. Then you can run all things manually.
Ramazan ERDURAN