Skip to content

Building a Kibana dashboard to analyze the activity sensor data collected from patients suffering from depression.

License

Notifications You must be signed in to change notification settings

gaoyuanliang/depression_patient_activity_dashboard

Repository files navigation

Depression Patient Activity Dashboard

Building a Kibana dashboard to analyze the activity sensor data collected from patients suffering from depression.

The data introduction is at https://datasets.simula.no/depresjon/

I used pyspark, spark SQL, and Elasticsearch to convert the raw CSV tables to a dashboard

Instillation

make sure you have Python 3.7.7 and java version "1.8.0_111"

Instilling Elasticsearch and Kibana

wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.7.1.tar.gz
tar -xf elasticsearch-6.7.1.tar.gz
cd elasticsearch-6.7.1
bin/elasticsearch
wget https://artifacts.elastic.co/downloads/kibana/kibana-6.7.1-darwin-x86_64.tar.gz
tar -xf kibana-6.7.1-darwin-x86_64.tar.gz
cd kibana-6.7.1-darwin-x86_64
bin/kibana

then you can view the kibana dashboard at http://localhost:5601

Installing this package

git clone https://github.com/gaoyuanliang/depression_patient_activity_dashboard.git
cd depression_patient_activity_dashboard
pip3 install -r requirements.txt

Downloading the data

wget https://datasets.simula.no/depresjon/data/depresjon-dataset.zip
unzip depresjon-dataset.zip

Process, merge, enrich, and ingest the data to Elastic search

python3 deep_depression_detector_data_visulize.py

Building the dashboard

Building the dashboard at http://localhost:5601 with index activity_data_score

play with the dashboard to find the patterns of activities of the depression patients and health persons

About

Building a Kibana dashboard to analyze the activity sensor data collected from patients suffering from depression.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published