Using Predictive Algorithms to Track Real Time Health Trends

Using Predictive Algorithms to Track Real Time Health Trends

Using Predictive Algorithms to Track Real Time Health Trends

In this post we see how to build a real-time health dashboard for tracking a person’s blood pressure readings, do time series analysis, and then graph the trends over time using predictive algorithms.

We’ve shown how to use predictive algorithms to track economic development. In this tutorial, we’re going to build a real-time health dashboard for tracking a person’s blood pressure readings, do time series analysis, and then graph the trends over time using predictive algorithms. This tutorial is the starting point for creating your own personal health dashboard using time series algorithms and predictive APIs.

We’ll be creating this dashboard in Python, using the Withings API for our data, the Forecastand Simple Moving Average microservices from Algorithmia, and Plotly to graph the data.

  Why blood pressure data? A friend of mine was diagnosed with high blood pressure and was determined to lower it using data. According to CDC statistics as many as 1 in 3 Americans suffer from high blood pressure, which can contribute to a higher risk for heart disease and stroke.

I’m a Python programmer, and thought I could build a simple, serverless health dashboard to help my friend measure and understand his blood pressure.

Read Also:
How to Boost Your Career in Big Data and Analytics

The first step was to establish a routine of measuring the blood pressure and logging it using a cheap blood pressure monitor and the Withings app. We’ll then use the Withings API to access our data for the health dashboard (Withings also makes a wifi-enabled blood pressure cuff for those that don’t want to manually log their data).

My friend has been logging their heart rate, systolic and diastolic blood pressure in the morning and night for the last five months. Below is a snapshot from the dashboard offered by Withings.

The graphs are OK, but we both found them confusing and not very helpful for tracking trends.

 



Chief Analytics Officer Europe

25
Apr
2017
Chief Analytics Officer Europe

15% off with code 7WDCAO17

Read Also:
How sports teams are using big data to increase ROI

Chief Analytics Officer Spring 2017

2
May
2017
Chief Analytics Officer Spring 2017

15% off with code MP15

Read Also:
Top 28 Cheat Sheets for Machine Learning, Data Science, Probability, SQL & Big Data
Read Also:
Why APIs Are Worth The Time And Attention Of IT Professionals

Big Data and Analytics for Healthcare Philadelphia

17
May
2017
Big Data and Analytics for Healthcare Philadelphia

$200 off with code DATA200

Read Also:
Can Big Data Help Us Travel Better?

SMX London

23
May
2017
SMX London

10% off with code 7WDATASMX

Read Also:
How to Use Big Data for Tailored Population Health Management

Data Science Congress 2017

5
Jun
2017
Data Science Congress 2017

20% off with code 7wdata_DSC2017

Read Also:
Why APIs Are Worth The Time And Attention Of IT Professionals

Leave a Reply

Your email address will not be published. Required fields are marked *