junos
5a9252e46e
Merge remote-tracking branch 'origin/master'
2021-12-15 18:32:36 +01:00
junos
352598f3da
Use absolute path to avoid RuleException.
2021-12-15 17:27:13 +01:00
junos
70cada8bb8
Consider a subset of columns when dropping.
2021-12-15 16:14:33 +01:00
junos
d2ed73dccf
Debug ValueError for index.
...
See exploration/debug_heatmap.py for illustration.
2021-12-15 16:03:04 +01:00
junos
6f451e05ac
Bring back application_name.
...
This column still needs to be in the data, so add it in app_add_name.py.
Later, join categories by package hash.
2021-12-15 12:58:27 +01:00
junos
4485c4c95e
Delete columns we don't have.
...
Rename light table.
Correct timesegments.
2021-12-08 20:02:47 +01:00
junos
37b3460b76
Use Empatica wristband numbers as provided in CSV.
2021-12-01 17:20:57 +01:00
junos
22f9e0722d
Start preparing the true usernames CSV file.
2021-12-01 11:29:22 +01:00
junos
0be4cd5a8f
Remove unnecessary library.
2021-11-30 17:08:07 +01:00
junos
04ad2d0b81
Source specific container script.
...
It is probably not worth the effort of making this general.
2021-11-29 18:19:47 +01:00
junos
da5ff0f36e
Correct small errors in settings.
2021-11-29 18:04:06 +01:00
junos
35d9779026
Prepare the tibble in requested format.
...
Write it to a CSV file.
2021-11-29 17:54:16 +01:00
junos
32025cbd8c
Start with a tibble from CSV.
2021-11-29 17:51:07 +01:00
junos
181e4f0118
Add parameters to yaml file.
...
And use these in the prepare_participants_file function.
2021-11-29 16:57:50 +01:00
junos
ab84109d55
Prepare a function to compile participants data.
...
It combines functions from container.R
2021-11-24 19:07:56 +01:00
junos
f9863ec622
Fix small mistakes.
2021-11-24 19:01:30 +01:00
junos
c1f56c61e8
Add a function to pull start and end datetimes.
2021-11-24 18:33:06 +01:00
junos
3acf6ece14
Add a function to pull device IDs.
2021-11-24 18:23:53 +01:00
junos
8b2717122d
Add a function to get participants' IDs.
2021-11-24 18:05:17 +01:00
Meng Li
5bad3eb8b5
Data cleaning ( #166 )
...
* Refactor data cleaning module: move it from example workflow to main directory
* Replace NAs with 0 in selected event-based features
* Add one step to drop highly correlated features
Co-authored-by: Weiyu <weiyuhuang7@gmail.com>
2021-11-19 10:34:36 -05:00
Meng Li
296960f425
Fix the bug of location doryab features when a participant is moving during the whole time segment
2021-11-18 18:42:19 -05:00
Meng Li
3d34036eae
Add firststeptime and laststeptime features to FITBIT_STEPS_INTRADAY RAPIDS provider ( #168 )
...
* Add firststeptime and laststeptime features to FITBIT_STEPS_INTRADAY RAPIDS provider
* Update test config files
2021-11-18 18:35:27 -05:00
junos
ed193d2290
Revert "Correct the name of a field."
...
This reverts commit b335561a55
.
It was actually correct.
2021-11-17 19:16:35 +01:00
junos
b335561a55
Correct the name of a field.
2021-11-17 18:50:06 +01:00
junos
fcec3e2f93
Implement the necessary functions for PSQL.
2021-11-17 18:49:25 +01:00
junos
7a1e4f7139
Add the format file copied from MySQL.
2021-11-17 18:46:16 +01:00
Meng Li
f340b89c58
Temporary revert PHONE_LOCATIONS BARNETT provider to use R script
2021-09-23 18:16:13 -04:00
Meng Li
a3fb718aea
Refactor PHONE_LOCATIONS DORYAB provider to compute features based on location episodes
2021-09-23 17:40:06 -04:00
Meng Li
a8a178486b
Refactor PHONE_CALLS RAPIDS provider to compute features based on call episodes or events
2021-09-15 10:28:37 -04:00
JulioV
2e553dc9e7
Add tqdm package to environment.yaml
2021-08-16 11:04:03 -04:00
Meng Li
3ac12e7dad
Fix the bug of step intraday features when INCLUDE_ZERO_STEP_ROWS is False
2021-08-11 12:40:40 -04:00
Weiyu
35eebe8a51
Bug fixed: set ratiovalidyielded mins/hours value to the range 0 to 1
2021-08-09 17:56:29 -04:00
JulioV
3e69966c91
Update error message
2021-08-04 15:33:02 -04:00
Shirley
4ddb2845a6
Update initialize_params
2021-08-04 15:33:02 -04:00
JulioV
834bd3b93d
Refactor in Python of Barnett provider
...
Co-authored-by: Shirley Hayati <sahayati@ucdavis.edu>
Co-authored-by: JulioV <JulioV@users.noreply.github.com>
2021-08-04 15:33:02 -04:00
Weiyu
7f1c502ea0
Fixed bug: Added local_segment column if no data left after filtered
2021-08-04 11:06:31 -04:00
Hannah Roberts
b52059b027
Ensure date/time format is maintained
...
Within the 'determine which is home' for loop, 'xx' is the midpoint of two datetime objects. When the midpoint is calculated to be midnight, only the date is returned. This can be replicated with:
mydates <- as.POSIXct("2018-01-01 00:00:00", tz = "UTC")
mydates
[1] "2018-01-01 UTC"
This results in 'hourofday' being NA as an hour cannot be found. By adding the suggested format wrapper, the time is maintained and 'hourofday' can be determined. It can then successfully be applied to the embedded if-statement within the loop.
mydates <- format(as.POSIXct("2018-01-01 00:00:00", tz = "UTC"), "%Y-%m-%d %H:%M:%S")
mydates
[1] "01-01-2018 00:00:00"
2021-07-23 10:12:11 -04:00
Weiyu
5a465873c4
Tested fitbit heartrate intraday feature
2021-07-21 10:24:02 -04:00
JulioV
6fa1875bf3
Add app foreground episode count
2021-07-01 16:20:16 -04:00
JulioV
bc5c0c9a4f
Fix app episode length bug
2021-07-01 16:20:16 -04:00
JulioV
065a926a87
Change own to custom categories name
2021-07-01 16:20:16 -04:00
JulioV
e74c745f86
Add own categories to app foreground features
2021-07-01 16:20:16 -04:00
JulioV
5892b6d838
Fix create_participants_files.R to handle numeric PIDs
2021-07-01 16:20:16 -04:00
Meng Li
97ef8a8368
Set color range and avoid SettingWithCopyWarning
2021-06-29 09:50:19 -04:00
Meng Li
1c57320ab3
Update segment labels and fix the bug when we do not have any labels for event segments
2021-06-29 09:49:24 -04:00
Meng Li
cefcb0635b
Update heatmap of recorded phone sensors
2021-06-29 09:49:24 -04:00
Meng Li
bc06477d89
Update heatmap of sensor row count
2021-06-29 09:49:24 -04:00
Meng Li
e98a8ff7ca
Update histogram of phone data yield
2021-06-29 09:49:24 -04:00
Meng Li
f436f1f530
Update heatmap of correlation matrix
2021-06-29 09:49:23 -04:00
Meng Li
4d37696158
Update heatmaps of overall data yield
2021-06-29 09:48:30 -04:00