From eeeff354e64c31d765e35ba138a3a99b08bedb9a Mon Sep 17 00:00:00 2001 From: kaguillera Date: Wed, 5 Aug 2020 12:06:12 -0400 Subject: [PATCH] Update AR documentation --- docs/features/extracted.rst | 38 ++++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/docs/features/extracted.rst b/docs/features/extracted.rst index d81d0708..7dfca559 100644 --- a/docs/features/extracted.rst +++ b/docs/features/extracted.rst @@ -489,17 +489,17 @@ features Features to be computed, see table below **Available Activity Recognition Features** -====================== ============ ============= -Name Units Description -====================== ============ ============= -count rows Number of detect activity events (rows). -mostcommonactivity factor The most common activity. -countuniqueactivities activities Number of unique activities. -activitychangecount transitions Number of transitions between two different activities; still to running for example. -sumstationary minutes The total duration of episodes of still and tilting (phone) activities. -summobile minutes The total duration of episodes of on foot, running, and on bicycle activities -sumvehicle minutes The total duration of episodes of on vehicle activity -====================== ============ ============= +====================== ============== ============= +Name Units Description +====================== ============== ============= +count rows Number of detect activity events (rows). +mostcommonactivity activity_type The most common ``activity_type``. If this feature is not unique the first ``activity_type`` of the set of most common ``activity_types`` is selected ordered by ``activity_type``. +countuniqueactivities activities Number of unique activities. +activitychangecount transitions Number of transitions between two different activities; still to running for example. +sumstationary minutes The total duration of episodes of still and tilting (phone) activities. +summobile minutes The total duration of episodes of on foot, running, and on bicycle activities +sumvehicle minutes The total duration of episodes of on vehicle activity +====================== ============== ============= **Assumptions/Observations:** @@ -507,6 +507,22 @@ iOS Activity Recognition data labels are unified with Google Activity Recognitio In AWARE, Activity Recognition data for Google (Android) and iOS are stored in two different database tables, RAPIDS (via Snakemake) automatically infers what platform each participant belongs to based on their participant file (``data/external/``) which in turn takes this information from the ``aware_device`` table (see ``optional_ar_input`` function in ``rules/features.snakefile``). +The activties are mapped to activity_types as follows: + +=============== =============== +Activity Name Activity Type +=============== =============== +in_vehicle 0 +on_bicycle 1 +on_foot 2 +still 3 +unknown 4 +tilting 5 +walking 7 +running 8 +=============== =============== + + .. _light-doc: Light