Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

openmhealth/dpu.cens.mobility_classifier

Repository files navigation

A Mobility Classification DPU

Classifies raw accelerometer and wi-fi data points into mobility modes.

The resulting modes will be one of: error, still, walk, run, drive. Bike is currently unsupported.

This DPU is available as a Java library and a Java EE war file.

The Java library comes with an example: org.openmhealth.dpu.mobilityclassifier.example.Example. To run the example:

git clone ...
cd to the root of this project
ant clean dist-jar
java -cp dist:lib/joda-time-2.1.jar:lib/json.org-2011-11-03.jar:lib/mobility-classifier-1.2.9.jar:build/classes org.openmhealth.dpu.mobilityclassifier.example.Example

The example takes JSON mobility points stored in example.json and processes them using ClassificationService. The ClassifiedPoints are then output to System.out.

About

A DPU that classifies phone activity data into mobility modes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages