Conversation testing, testing_docs & minor bugfix
parent
b448bf3a08
commit
f5ea5c3116
|
@ -93,9 +93,18 @@ Activity Recognition
|
||||||
""""""""""""""""""""""
|
""""""""""""""""""""""
|
||||||
|
|
||||||
- The raw Activity Recognition data file contains data for 1 day.
|
- The raw Activity Recognition data file contains data for 1 day.
|
||||||
- The raw Activity Recognition data each ``epoch`` period contains rows that records 2 - 5 different ``activity_types``. The is such that durations of activities can be tested. Additionally there are records that mimic the duration of an activity over the time boundary of neighboring epochs. (For example there a set of records that mimic the participant ``in_vehicle`` from ``afternoon`` into ``evening``)
|
- The raw Activity Recognition data each ``epoch`` period contains rows that records 2 - 5 different ``activity_types``. The is such that durations of activities can be tested. Additionally, there are records that mimic the duration of an activity over the time boundary of neighboring epochs. (For example, there a set of records that mimic the participant ``in_vehicle`` from ``afternoon`` into ``evening``)
|
||||||
- There is one file each with raw Activity Recognition data for testing both iOS and Android data formats. (plugin_google_activity_recognition_raw.csv for android and plugin_ios_activity_recognition_raw.csv for iOS)
|
- There is one file each with raw Activity Recognition data for testing both iOS and Android data formats. (plugin_google_activity_recognition_raw.csv for android and plugin_ios_activity_recognition_raw.csv for iOS)
|
||||||
- There is also an additional empty data file for both android and iOS for testing empty data files.
|
- There is also an additional empty data file for both android and iOS for testing empty data files.
|
||||||
|
|
||||||
|
Conversation
|
||||||
|
"""""""""""""
|
||||||
|
|
||||||
|
- The raw conversation data file contains data for 1 day.
|
||||||
|
- The raw conversation data contains records with a sample of both ``datatypes`` (i.e. ``voice/noise`` = ``0``, and ``conversation`` = ``2`` ) as well as rows with for samples of each of the ``inference`` values (i.e. ``silence`` = ``0``, ``noise`` = ``1``, ``voice`` = ``2``, and ``unknown`` = ``3``) for each ``epoch``. The different ``datatype`` and ``inference`` records are randomly distributed throughout the ``epoch``.
|
||||||
|
- Additionally there are 2 - 5 records for conversations (``datatype`` = 2, and ``inference`` = -1) in each ``epoch`` and for each ``epoch`` except night, there is a conversation record that has a ``double_convo_start`` ``timestamp`` that is from the previous ``epoch``. This is to test the calculations of features across ``epochs``.
|
||||||
|
- There is a raw conversation data file for both android and iOS platforms (``plugin_studentlife_audio_android_raw.csv`` and ``plugin_studentlife_audio_raw.csv`` respectively).
|
||||||
|
- Finally, there are also additional empty data files for both android and iOS for testing empty data files
|
||||||
|
|
||||||
|
|
||||||
.. _`testing_config.yaml`: https://github.com/carissalow/rapids/blob/c498b8d2dfd7cc29d1e4d53e978d30cff6cdf3f2/tests/settings/testing_config.yaml#L70
|
.. _`testing_config.yaml`: https://github.com/carissalow/rapids/blob/c498b8d2dfd7cc29d1e4d53e978d30cff6cdf3f2/tests/settings/testing_config.yaml#L70
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.. _analysis-workflow-example
|
.. _analysis-workflow-example:
|
||||||
|
|
||||||
Analysis Workflow Example
|
Analysis Workflow Example
|
||||||
==========================
|
==========================
|
||||||
|
@ -7,7 +7,7 @@ This is a quick guide for creating and running a simple pipeline to analysis an
|
||||||
|
|
||||||
#. Install RAPIDS. See :ref:`Installation Section <install-page>`.
|
#. Install RAPIDS. See :ref:`Installation Section <install-page>`.
|
||||||
|
|
||||||
#. Make sure your database connection credentials in ``.env`` have write permission and set the correct ``MY_GROUP`` parameter in ``example_profile/example_config.yaml`` file. See step 1 of :ref:`Usage Section <db-configuration>`.
|
#. Make sure your database connection credentials in ``.env`` have write permission and set the correct ``MY_GROUP`` parameter in ``config.yaml`` file. See step 1 of :ref:`Usage Section <db-configuration>`.
|
||||||
|
|
||||||
#. Make sure your Conda (python) environment is active. See step 6 of :ref:`install-page`.
|
#. Make sure your Conda (python) environment is active. See step 6 of :ref:`install-page`.
|
||||||
|
|
||||||
|
|
|
@ -39,19 +39,19 @@ def base_conversation_features(conversation_data, day_segment, requested_feature
|
||||||
conv_duration = (conversation_data['double_convo_end']/1000 - conversation_data['double_convo_start']/1000)/60
|
conv_duration = (conversation_data['double_convo_end']/1000 - conversation_data['double_convo_start']/1000)/60
|
||||||
conversation_data = conversation_data.assign(conv_duration = conv_duration.values)
|
conversation_data = conversation_data.assign(conv_duration = conv_duration.values)
|
||||||
|
|
||||||
conversation_data['totalDuration'] = conversation_data[(conversation_data['inference'] >= 0) & (conversation_data['inference'] < 4)].groupby(["local_date"])['inference'].count()/60
|
conv_totalDuration = conversation_data[(conversation_data['inference'] >= 0) & (conversation_data['inference'] < 4)].groupby(["local_date"])['inference'].count()/60
|
||||||
|
|
||||||
if "silencesensedfraction" in features_to_compute:
|
if "silencesensedfraction" in features_to_compute:
|
||||||
conversation_features["conversation_" + day_segment + "_silencesensedfraction"] = (conversation_data[conversation_data['inference']==0].groupby(["local_date"])['inference'].count()/60)/ conversation_data['totalDuration']
|
conversation_features["conversation_" + day_segment + "_silencesensedfraction"] = (conversation_data[conversation_data['inference']==0].groupby(["local_date"])['inference'].count()/60)/ conv_totalDuration
|
||||||
|
|
||||||
if "noisesensedfraction" in features_to_compute:
|
if "noisesensedfraction" in features_to_compute:
|
||||||
conversation_features["conversation_" + day_segment + "_noisesensedfraction"] = (conversation_data[conversation_data['inference']==1].groupby(["local_date"])['inference'].count()/60)/ conversation_data['totalDuration']
|
conversation_features["conversation_" + day_segment + "_noisesensedfraction"] = (conversation_data[conversation_data['inference']==1].groupby(["local_date"])['inference'].count()/60)/ conv_totalDuration
|
||||||
|
|
||||||
if "voicesensedfraction" in features_to_compute:
|
if "voicesensedfraction" in features_to_compute:
|
||||||
conversation_features["conversation_" + day_segment + "_voicesensedfraction"] = (conversation_data[conversation_data['inference']==2].groupby(["local_date"])['inference'].count()/60)/ conversation_data['totalDuration']
|
conversation_features["conversation_" + day_segment + "_voicesensedfraction"] = (conversation_data[conversation_data['inference']==2].groupby(["local_date"])['inference'].count()/60)/ conv_totalDuration
|
||||||
|
|
||||||
if "unknownsensedfraction" in features_to_compute:
|
if "unknownsensedfraction" in features_to_compute:
|
||||||
conversation_features["conversation_" + day_segment + "_unknownsensedfraction"] = (conversation_data[conversation_data['inference']==3].groupby(["local_date"])['inference'].count()/60)/ conversation_data['totalDuration']
|
conversation_features["conversation_" + day_segment + "_unknownsensedfraction"] = (conversation_data[conversation_data['inference']==3].groupby(["local_date"])['inference'].count()/60)/ conv_totalDuration
|
||||||
|
|
||||||
if "silenceexpectedfraction" in features_to_compute:
|
if "silenceexpectedfraction" in features_to_compute:
|
||||||
conversation_features["conversation_" + day_segment + "_silenceexpectedfraction"] = (conversation_data[conversation_data['inference']==0].groupby(["local_date"])['inference'].count()/60)/ expectedMinutes
|
conversation_features["conversation_" + day_segment + "_silenceexpectedfraction"] = (conversation_data[conversation_data['inference']==0].groupby(["local_date"])['inference'].count()/60)/ expectedMinutes
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
local_date,conversation_afternoon_minutessilence,conversation_afternoon_minutesnoise,conversation_afternoon_minutesvoice,conversation_afternoon_minutesunknown,conversation_afternoon_countconversation,conversation_afternoon_silencesensedfraction,conversation_afternoon_noisesensedfraction,conversation_afternoon_voicesensedfraction,conversation_afternoon_unknownsensedfraction,conversation_afternoon_silenceexpectedfraction,conversation_afternoon_noiseexpectedfraction,conversation_afternoon_voiceexpectedfraction,conversation_afternoon_unknownexpectedfraction,conversation_afternoon_sumconversationduration,conversation_afternoon_avgconversationduration,conversation_afternoon_sdconversationduration,conversation_afternoon_minconversationduration,conversation_afternoon_maxconversationduration,conversation_afternoon_timefirstconversation,conversation_afternoon_timelastconversation,conversation_afternoon_sumenergy,conversation_afternoon_avgenergy,conversation_afternoon_sdenergy,conversation_afternoon_minenergy,conversation_afternoon_maxenergy
|
||||||
|
2020-07-07,2.1333333333333333,27.416666666666668,8.266666666666667,1.8,5,0.05384938998737905,0.692048801009676,0.20866638620109385,0.045435422801851075,0.005925925925925926,0.07615740740740741,0.022962962962962966,0.005,12.437950003147126,2.4875900006294254,0.8690951001495368,1.780666669209798,3.9693833351135255,733.0,1038.0,11674618,4901.183039462637,3520.8178232562536,0,11997
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
local_date,conversation_daily_minutessilence,conversation_daily_minutesnoise,conversation_daily_minutesvoice,conversation_daily_minutesunknown,conversation_daily_countconversation,conversation_daily_silencesensedfraction,conversation_daily_noisesensedfraction,conversation_daily_voicesensedfraction,conversation_daily_unknownsensedfraction,conversation_daily_silenceexpectedfraction,conversation_daily_noiseexpectedfraction,conversation_daily_voiceexpectedfraction,conversation_daily_unknownexpectedfraction,conversation_daily_sumconversationduration,conversation_daily_avgconversationduration,conversation_daily_sdconversationduration,conversation_daily_minconversationduration,conversation_daily_maxconversationduration,conversation_daily_timefirstconversation,conversation_daily_timelastconversation,conversation_daily_sumenergy,conversation_daily_avgenergy,conversation_daily_sdenergy,conversation_daily_minenergy,conversation_daily_maxenergy
|
||||||
|
2020-07-07,3.7,50.63333333333333,15.066666666666666,3.683333333333333,14,0.05062713797035348,0.6928164196123148,0.206157354618016,0.05039908779931585,0.010277777777777778,0.14064814814814813,0.04185185185185185,0.01023148148148148,32.67243332862854,2.3337452377591816,2.374837824698354,0.7180166641871134,10.046433333555857,73.0,1436.0,21622427,4915.305069333939,3516.4999695807187,0,11997
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
local_date,conversation_evening_minutessilence,conversation_evening_minutesnoise,conversation_evening_minutesvoice,conversation_evening_minutesunknown,conversation_evening_countconversation,conversation_evening_silencesensedfraction,conversation_evening_noisesensedfraction,conversation_evening_voicesensedfraction,conversation_evening_unknownsensedfraction,conversation_evening_silenceexpectedfraction,conversation_evening_noiseexpectedfraction,conversation_evening_voiceexpectedfraction,conversation_evening_unknownexpectedfraction,conversation_evening_sumconversationduration,conversation_evening_avgconversationduration,conversation_evening_sdconversationduration,conversation_evening_minconversationduration,conversation_evening_maxconversationduration,conversation_evening_timefirstconversation,conversation_evening_timelastconversation,conversation_evening_sumenergy,conversation_evening_avgenergy,conversation_evening_sdenergy,conversation_evening_minenergy,conversation_evening_maxenergy
|
||||||
|
2020-07-07,0.36666666666666664,4.65,1.5166666666666666,0.4166666666666667,3,0.05275779376498801,0.6690647482014389,0.21822541966426856,0.05995203836930456,0.0010185185185185184,0.012916666666666668,0.004212962962962963,0.0011574074074074076,4.880700000127156,1.6269000000423854,0.44788788134076357,1.3510499993960063,2.1436833341916404,1204.0,1436.0,1989527,4736.969047619048,3421.199118663052,0,11997
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
local_date,conversation_morning_minutessilence,conversation_morning_minutesnoise,conversation_morning_minutesvoice,conversation_morning_minutesunknown,conversation_morning_countconversation,conversation_morning_silencesensedfraction,conversation_morning_noisesensedfraction,conversation_morning_voicesensedfraction,conversation_morning_unknownsensedfraction,conversation_morning_silenceexpectedfraction,conversation_morning_noiseexpectedfraction,conversation_morning_voiceexpectedfraction,conversation_morning_unknownexpectedfraction,conversation_morning_sumconversationduration,conversation_morning_avgconversationduration,conversation_morning_sdconversationduration,conversation_morning_minconversationduration,conversation_morning_maxconversationduration,conversation_morning_timefirstconversation,conversation_morning_timelastconversation,conversation_morning_sumenergy,conversation_morning_avgenergy,conversation_morning_sdenergy,conversation_morning_minenergy,conversation_morning_maxenergy
|
||||||
|
2020-07-07,0.5,8.266666666666667,2.433333333333333,0.65,4,0.04219409282700422,0.6976090014064699,0.20534458509142053,0.05485232067510549,0.001388888888888889,0.022962962962962966,0.006759259259259258,0.0018055555555555557,4.589333327611287,1.1473333319028218,0.42892803694050957,0.749316664536794,1.6650999983151753,392.0,656.0,3535623,4944.927272727273,3443.3314096066924,0,11985
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
local_date,conversation_night_minutessilence,conversation_night_minutesnoise,conversation_night_minutesvoice,conversation_night_minutesunknown,conversation_night_countconversation,conversation_night_silencesensedfraction,conversation_night_noisesensedfraction,conversation_night_voicesensedfraction,conversation_night_unknownsensedfraction,conversation_night_silenceexpectedfraction,conversation_night_noiseexpectedfraction,conversation_night_voiceexpectedfraction,conversation_night_unknownexpectedfraction,conversation_night_sumconversationduration,conversation_night_avgconversationduration,conversation_night_sdconversationduration,conversation_night_minconversationduration,conversation_night_maxconversationduration,conversation_night_timefirstconversation,conversation_night_timelastconversation,conversation_night_sumenergy,conversation_night_avgenergy,conversation_night_sdenergy,conversation_night_minenergy,conversation_night_maxenergy
|
||||||
|
2020-07-07,0.7,10.3,2.85,0.8166666666666667,2,0.04772727272727273,0.7022727272727274,0.19431818181818183,0.055681818181818186,0.0019444444444444444,0.02861111111111111,0.007916666666666667,0.0022685185185185187,10.76444999774297,5.382224998871485,6.596186684644267,0.7180166641871134,10.046433333555857,73.0,359.0,4422659,5014.35260770975,3609.249684373919,0,11976
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
local_date,conversation_afternoon_minutessilence,conversation_afternoon_minutesnoise,conversation_afternoon_minutesvoice,conversation_afternoon_minutesunknown,conversation_afternoon_countconversation,conversation_afternoon_silencesensedfraction,conversation_afternoon_noisesensedfraction,conversation_afternoon_voicesensedfraction,conversation_afternoon_unknownsensedfraction,conversation_afternoon_silenceexpectedfraction,conversation_afternoon_noiseexpectedfraction,conversation_afternoon_voiceexpectedfraction,conversation_afternoon_unknownexpectedfraction,conversation_afternoon_sumconversationduration,conversation_afternoon_avgconversationduration,conversation_afternoon_sdconversationduration,conversation_afternoon_minconversationduration,conversation_afternoon_maxconversationduration,conversation_afternoon_timefirstconversation,conversation_afternoon_timelastconversation,conversation_afternoon_sumenergy,conversation_afternoon_avgenergy,conversation_afternoon_sdenergy,conversation_afternoon_minenergy,conversation_afternoon_maxenergy
|
||||||
|
2020-07-07,2.1333333333333333,27.416666666666668,8.266666666666667,1.8,5,0.05384938998737905,0.692048801009676,0.20866638620109385,0.045435422801851075,0.005925925925925926,0.07615740740740741,0.022962962962962966,0.005,12.416666666666668,2.4833333333333334,0.8701053576052348,1.7833333333333334,3.966666666666667,733.0,1038.0,11674618,4901.183039462637,3520.8178232562536,0,11997
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
local_date,conversation_daily_minutessilence,conversation_daily_minutesnoise,conversation_daily_minutesvoice,conversation_daily_minutesunknown,conversation_daily_countconversation,conversation_daily_silencesensedfraction,conversation_daily_noisesensedfraction,conversation_daily_voicesensedfraction,conversation_daily_unknownsensedfraction,conversation_daily_silenceexpectedfraction,conversation_daily_noiseexpectedfraction,conversation_daily_voiceexpectedfraction,conversation_daily_unknownexpectedfraction,conversation_daily_sumconversationduration,conversation_daily_avgconversationduration,conversation_daily_sdconversationduration,conversation_daily_minconversationduration,conversation_daily_maxconversationduration,conversation_daily_timefirstconversation,conversation_daily_timelastconversation,conversation_daily_sumenergy,conversation_daily_avgenergy,conversation_daily_sdenergy,conversation_daily_minenergy,conversation_daily_maxenergy
|
||||||
|
2020-07-07,3.7,50.63333333333333,15.066666666666666,3.683333333333333,14,0.05062713797035348,0.6928164196123148,0.206157354618016,0.05039908779931585,0.010277777777777778,0.14064814814814813,0.04185185185185185,0.01023148148148148,32.666666666666664,2.333333333333333,2.375453173139344,0.7166666666666667,10.05,73.0,1436.0,21622427,4915.305069333939,3516.4999695807187,0,11997
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
local_date,conversation_evening_minutessilence,conversation_evening_minutesnoise,conversation_evening_minutesvoice,conversation_evening_minutesunknown,conversation_evening_countconversation,conversation_evening_silencesensedfraction,conversation_evening_noisesensedfraction,conversation_evening_voicesensedfraction,conversation_evening_unknownsensedfraction,conversation_evening_silenceexpectedfraction,conversation_evening_noiseexpectedfraction,conversation_evening_voiceexpectedfraction,conversation_evening_unknownexpectedfraction,conversation_evening_sumconversationduration,conversation_evening_avgconversationduration,conversation_evening_sdconversationduration,conversation_evening_minconversationduration,conversation_evening_maxconversationduration,conversation_evening_timefirstconversation,conversation_evening_timelastconversation,conversation_evening_sumenergy,conversation_evening_avgenergy,conversation_evening_sdenergy,conversation_evening_minenergy,conversation_evening_maxenergy
|
||||||
|
2020-07-07,0.36666666666666664,4.65,1.5166666666666666,0.4166666666666667,3,0.05275779376498801,0.6690647482014389,0.21822541966426856,0.05995203836930456,0.0010185185185185184,0.012916666666666668,0.004212962962962963,0.0011574074074074076,4.883333333333333,1.6277777777777775,0.4525647078759177,1.35,2.15,1204.0,1436.0,1989527,4736.969047619048,3421.199118663052,0,11997
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
local_date,conversation_morning_minutessilence,conversation_morning_minutesnoise,conversation_morning_minutesvoice,conversation_morning_minutesunknown,conversation_morning_countconversation,conversation_morning_silencesensedfraction,conversation_morning_noisesensedfraction,conversation_morning_voicesensedfraction,conversation_morning_unknownsensedfraction,conversation_morning_silenceexpectedfraction,conversation_morning_noiseexpectedfraction,conversation_morning_voiceexpectedfraction,conversation_morning_unknownexpectedfraction,conversation_morning_sumconversationduration,conversation_morning_avgconversationduration,conversation_morning_sdconversationduration,conversation_morning_minconversationduration,conversation_morning_maxconversationduration,conversation_morning_timefirstconversation,conversation_morning_timelastconversation,conversation_morning_sumenergy,conversation_morning_avgenergy,conversation_morning_sdenergy,conversation_morning_minenergy,conversation_morning_maxenergy
|
||||||
|
2020-07-07,0.5,8.266666666666667,2.433333333333333,0.65,4,0.04219409282700422,0.6976090014064699,0.20534458509142053,0.05485232067510549,0.001388888888888889,0.022962962962962966,0.006759259259259258,0.0018055555555555557,4.6,1.15,0.4283906144146001,0.75,1.6666666666666667,392.0,656.0,3535623,4944.927272727273,3443.3314096066924,0,11985
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
local_date,conversation_night_minutessilence,conversation_night_minutesnoise,conversation_night_minutesvoice,conversation_night_minutesunknown,conversation_night_countconversation,conversation_night_silencesensedfraction,conversation_night_noisesensedfraction,conversation_night_voicesensedfraction,conversation_night_unknownsensedfraction,conversation_night_silenceexpectedfraction,conversation_night_noiseexpectedfraction,conversation_night_voiceexpectedfraction,conversation_night_unknownexpectedfraction,conversation_night_sumconversationduration,conversation_night_avgconversationduration,conversation_night_sdconversationduration,conversation_night_minconversationduration,conversation_night_maxconversationduration,conversation_night_timefirstconversation,conversation_night_timelastconversation,conversation_night_sumenergy,conversation_night_avgenergy,conversation_night_sdenergy,conversation_night_minenergy,conversation_night_maxenergy
|
||||||
|
2020-07-07,0.7,10.3,2.85,0.8166666666666667,2,0.04772727272727273,0.7022727272727274,0.19431818181818183,0.055681818181818186,0.0019444444444444444,0.02861111111111111,0.007916666666666667,0.0022685185185185187,10.766666666666667,5.383333333333334,6.599663291074444,0.7166666666666667,10.05,73.0,359.0,4422659,5014.35260770975,3609.249684373919,0,11976
|
|
|
@ -0,0 +1 @@
|
||||||
|
local_date,conversation_afternoon_maxenergy,conversation_afternoon_unknownexpectedfraction,conversation_afternoon_avgconversationduration,conversation_afternoon_unknownsensedfraction,conversation_afternoon_noisesensedfraction,conversation_afternoon_minutesvoice,conversation_afternoon_maxconversationduration,conversation_afternoon_avgenergy,conversation_afternoon_sdconversationduration,conversation_afternoon_silenceexpectedfraction,conversation_afternoon_noiseexpectedfraction,conversation_afternoon_minutesnoise,conversation_afternoon_voicesensedfraction,conversation_afternoon_silencesensedfraction,conversation_afternoon_minenergy,conversation_afternoon_timelastconversation,conversation_afternoon_voiceexpectedfraction,conversation_afternoon_timefirstconversation,conversation_afternoon_minutesunknown,conversation_afternoon_sumconversationduration,conversation_afternoon_minconversationduration,conversation_afternoon_sumenergy,conversation_afternoon_sdenergy,conversation_afternoon_countconversation,conversation_afternoon_minutessilence
|
|
|
@ -0,0 +1 @@
|
||||||
|
local_date,conversation_daily_unknownsensedfraction,conversation_daily_sumconversationduration,conversation_daily_maxenergy,conversation_daily_unknownexpectedfraction,conversation_daily_minutesvoice,conversation_daily_minutessilence,conversation_daily_avgenergy,conversation_daily_minenergy,conversation_daily_timelastconversation,conversation_daily_sdconversationduration,conversation_daily_silenceexpectedfraction,conversation_daily_noiseexpectedfraction,conversation_daily_voicesensedfraction,conversation_daily_sdenergy,conversation_daily_maxconversationduration,conversation_daily_avgconversationduration,conversation_daily_sumenergy,conversation_daily_voiceexpectedfraction,conversation_daily_minutesnoise,conversation_daily_minutesunknown,conversation_daily_noisesensedfraction,conversation_daily_minconversationduration,conversation_daily_timefirstconversation,conversation_daily_countconversation,conversation_daily_silencesensedfraction
|
|
|
@ -0,0 +1 @@
|
||||||
|
local_date,conversation_evening_noiseexpectedfraction,conversation_evening_minenergy,conversation_evening_noisesensedfraction,conversation_evening_voicesensedfraction,conversation_evening_sdenergy,conversation_evening_unknownsensedfraction,conversation_evening_minutesvoice,conversation_evening_minutesunknown,conversation_evening_minutesnoise,conversation_evening_timelastconversation,conversation_evening_silenceexpectedfraction,conversation_evening_timefirstconversation,conversation_evening_minutessilence,conversation_evening_silencesensedfraction,conversation_evening_sdconversationduration,conversation_evening_countconversation,conversation_evening_maxconversationduration,conversation_evening_unknownexpectedfraction,conversation_evening_avgenergy,conversation_evening_voiceexpectedfraction,conversation_evening_minconversationduration,conversation_evening_maxenergy,conversation_evening_sumenergy,conversation_evening_sumconversationduration,conversation_evening_avgconversationduration
|
|
|
@ -0,0 +1 @@
|
||||||
|
local_date,conversation_morning_unknownexpectedfraction,conversation_morning_voicesensedfraction,conversation_morning_avgconversationduration,conversation_morning_minconversationduration,conversation_morning_sumconversationduration,conversation_morning_unknownsensedfraction,conversation_morning_sdconversationduration,conversation_morning_avgenergy,conversation_morning_minutesunknown,conversation_morning_timefirstconversation,conversation_morning_minenergy,conversation_morning_timelastconversation,conversation_morning_silenceexpectedfraction,conversation_morning_minutesnoise,conversation_morning_sumenergy,conversation_morning_silencesensedfraction,conversation_morning_maxenergy,conversation_morning_voiceexpectedfraction,conversation_morning_sdenergy,conversation_morning_minutesvoice,conversation_morning_maxconversationduration,conversation_morning_noiseexpectedfraction,conversation_morning_minutessilence,conversation_morning_noisesensedfraction,conversation_morning_countconversation
|
|
|
@ -0,0 +1 @@
|
||||||
|
local_date,conversation_night_minenergy,conversation_night_voicesensedfraction,conversation_night_noisesensedfraction,conversation_night_minutesunknown,conversation_night_timelastconversation,conversation_night_avgconversationduration,conversation_night_sdconversationduration,conversation_night_silenceexpectedfraction,conversation_night_minconversationduration,conversation_night_sumenergy,conversation_night_maxconversationduration,conversation_night_minutessilence,conversation_night_maxenergy,conversation_night_unknownsensedfraction,conversation_night_noiseexpectedfraction,conversation_night_minutesvoice,conversation_night_avgenergy,conversation_night_minutesnoise,conversation_night_timefirstconversation,conversation_night_unknownexpectedfraction,conversation_night_voiceexpectedfraction,conversation_night_sdenergy,conversation_night_silencesensedfraction,conversation_night_countconversation,conversation_night_sumconversationduration
|
|
|
@ -0,0 +1 @@
|
||||||
|
local_date,conversation_afternoon_sdconversationduration,conversation_afternoon_noisesensedfraction,conversation_afternoon_timefirstconversation,conversation_afternoon_noiseexpectedfraction,conversation_afternoon_silencesensedfraction,conversation_afternoon_minutesnoise,conversation_afternoon_voicesensedfraction,conversation_afternoon_silenceexpectedfraction,conversation_afternoon_minutesunknown,conversation_afternoon_minconversationduration,conversation_afternoon_countconversation,conversation_afternoon_maxenergy,conversation_afternoon_sumconversationduration,conversation_afternoon_unknownsensedfraction,conversation_afternoon_sdenergy,conversation_afternoon_minutesvoice,conversation_afternoon_minutessilence,conversation_afternoon_timelastconversation,conversation_afternoon_sumenergy,conversation_afternoon_maxconversationduration,conversation_afternoon_avgenergy,conversation_afternoon_avgconversationduration,conversation_afternoon_minenergy,conversation_afternoon_voiceexpectedfraction,conversation_afternoon_unknownexpectedfraction
|
|
|
@ -0,0 +1 @@
|
||||||
|
local_date,conversation_daily_timelastconversation,conversation_daily_maxenergy,conversation_daily_minutesunknown,conversation_daily_silenceexpectedfraction,conversation_daily_silencesensedfraction,conversation_daily_minutesnoise,conversation_daily_timefirstconversation,conversation_daily_minconversationduration,conversation_daily_voiceexpectedfraction,conversation_daily_minutesvoice,conversation_daily_sumenergy,conversation_daily_avgenergy,conversation_daily_noiseexpectedfraction,conversation_daily_avgconversationduration,conversation_daily_sdenergy,conversation_daily_minutessilence,conversation_daily_countconversation,conversation_daily_maxconversationduration,conversation_daily_sumconversationduration,conversation_daily_unknownexpectedfraction,conversation_daily_voicesensedfraction,conversation_daily_minenergy,conversation_daily_unknownsensedfraction,conversation_daily_noisesensedfraction,conversation_daily_sdconversationduration
|
|
|
@ -0,0 +1 @@
|
||||||
|
local_date,conversation_evening_avgconversationduration,conversation_evening_maxenergy,conversation_evening_minenergy,conversation_evening_minconversationduration,conversation_evening_minutesunknown,conversation_evening_noiseexpectedfraction,conversation_evening_minutesnoise,conversation_evening_noisesensedfraction,conversation_evening_sdconversationduration,conversation_evening_silenceexpectedfraction,conversation_evening_minutesvoice,conversation_evening_unknownsensedfraction,conversation_evening_voicesensedfraction,conversation_evening_sumenergy,conversation_evening_unknownexpectedfraction,conversation_evening_timefirstconversation,conversation_evening_sdenergy,conversation_evening_minutessilence,conversation_evening_maxconversationduration,conversation_evening_countconversation,conversation_evening_silencesensedfraction,conversation_evening_sumconversationduration,conversation_evening_timelastconversation,conversation_evening_avgenergy,conversation_evening_voiceexpectedfraction
|
|
|
@ -0,0 +1 @@
|
||||||
|
local_date,conversation_morning_silencesensedfraction,conversation_morning_voiceexpectedfraction,conversation_morning_minenergy,conversation_morning_maxconversationduration,conversation_morning_sumenergy,conversation_morning_sdconversationduration,conversation_morning_maxenergy,conversation_morning_timefirstconversation,conversation_morning_silenceexpectedfraction,conversation_morning_minutesvoice,conversation_morning_timelastconversation,conversation_morning_noiseexpectedfraction,conversation_morning_minutessilence,conversation_morning_avgconversationduration,conversation_morning_noisesensedfraction,conversation_morning_countconversation,conversation_morning_sdenergy,conversation_morning_sumconversationduration,conversation_morning_minconversationduration,conversation_morning_unknownsensedfraction,conversation_morning_minutesnoise,conversation_morning_minutesunknown,conversation_morning_avgenergy,conversation_morning_unknownexpectedfraction,conversation_morning_voicesensedfraction
|
|
|
@ -0,0 +1 @@
|
||||||
|
local_date,conversation_night_noisesensedfraction,conversation_night_minutesvoice,conversation_night_maxenergy,conversation_night_voiceexpectedfraction,conversation_night_avgconversationduration,conversation_night_timelastconversation,conversation_night_minutessilence,conversation_night_minutesunknown,conversation_night_avgenergy,conversation_night_noiseexpectedfraction,conversation_night_sumenergy,conversation_night_minenergy,conversation_night_minconversationduration,conversation_night_sdenergy,conversation_night_sumconversationduration,conversation_night_countconversation,conversation_night_voicesensedfraction,conversation_night_maxconversationduration,conversation_night_silencesensedfraction,conversation_night_minutesnoise,conversation_night_unknownsensedfraction,conversation_night_timefirstconversation,conversation_night_silenceexpectedfraction,conversation_night_sdconversationduration,conversation_night_unknownexpectedfraction
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1 @@
|
||||||
|
timestamp,device_id,datatype,double_energy,inference,blod_feature,double_convo_start,double_convo_end
|
|
|
@ -0,0 +1 @@
|
||||||
|
timestamp,device_id,datatype,double_energy,inference,blod_feature,double_convo_start,double_convo_end
|
|
|
@ -83,7 +83,7 @@ def generate_sensor_file_lists(config):
|
||||||
exp_str = "tests/data/processed/{pid}/{sensor}_{sensor_type}{day_segment}.csv"
|
exp_str = "tests/data/processed/{pid}/{sensor}_{sensor_type}{day_segment}.csv"
|
||||||
|
|
||||||
# List of available sensors that can be tested by the testing suite
|
# List of available sensors that can be tested by the testing suite
|
||||||
TESTABLE_SENSORS = ['MESSAGES', 'CALLS', 'SCREEN', 'BATTERY', 'BLUETOOTH', 'WIFI', 'LIGHT', 'APPLICATIONS_FOREGROUND', 'ACTIVITY_RECOGNITION']
|
TESTABLE_SENSORS = ['MESSAGES', 'CALLS', 'SCREEN', 'BATTERY', 'BLUETOOTH', 'WIFI', 'LIGHT', 'APPLICATIONS_FOREGROUND', 'ACTIVITY_RECOGNITION', 'CONVERSATION']
|
||||||
|
|
||||||
# Build list of sensors to be tested.
|
# Build list of sensors to be tested.
|
||||||
sensors = []
|
sensors = []
|
||||||
|
|
|
@ -2,4 +2,4 @@ directory: ./
|
||||||
configfile: ./tests/settings/testing_config.yaml
|
configfile: ./tests/settings/testing_config.yaml
|
||||||
snakefile: ./tests/Snakefile
|
snakefile: ./tests/Snakefile
|
||||||
cores: 1
|
cores: 1
|
||||||
forcerun: [messages_features, call_features, bluetooth_features, activity_features, battery_features, screen_features, light_features, applications_foreground_features, wifi_features]
|
forcerun: [messages_features, call_features, bluetooth_features, activity_features, battery_features, screen_features, light_features, applications_foreground_features, wifi_features, conversation_features]
|
|
@ -90,7 +90,7 @@ WIFI:
|
||||||
|
|
||||||
|
|
||||||
CONVERSATION:
|
CONVERSATION:
|
||||||
COMPUTE: False
|
COMPUTE: True
|
||||||
DB_TABLE:
|
DB_TABLE:
|
||||||
ANDROID: plugin_studentlife_audio_android
|
ANDROID: plugin_studentlife_audio_android
|
||||||
IOS: plugin_studentlife_audio
|
IOS: plugin_studentlife_audio
|
||||||
|
|
Loading…
Reference in New Issue