junos
e2e268148d
Fill in 0.5 for undefined ratio.
When there are no calls and no smses (of a particular type), the ratio is undefined. But since their number is the same, I argue that the ratio can represent that with a 0.5, similarly to the case where no_calls_all = no_sms_all != 0.
10 months ago
junos
00015a3b8d
Fill in zeroes when joining or unstacking.
If there are no calls or smses for a particular day, there is no corresponding row in the features dataframe. When joining these, however, NaNs were introduced. Since a value of 0 is meaningful for all of these features, replace NaNs with 0's.
10 months ago
junos
9a319ac6e5
Add an option to group on other than just participant_id.
10 months ago
junos
777e6f0a58
calls_sms_features() now returns all communication features.
10 months ago
junos
2d78aacd18
Compile a list of contact features and add a test.
10 months ago
junos
c88336481e
Add a test for SMS features.
10 months ago
junos
1bc996413e
Clarify names for no_all calls/sms feature.
Add another test.
10 months ago
junos
a2a44c202a
Calculate common features outside if...else.
10 months ago
junos
4740e94d37
Fix a bug introduced in e7fe4e8398
.
10 months ago
junos
b1ad8d1309
List calls features.
10 months ago
junos
bb75abcb9b
Add tests for proximity.
10 months ago
junos
e7fe4e8398
Simplify merge into join.
10 months ago
Junos Lukan
cf28aa547a
Merge branch 'communication' into 'master'
separated features
See merge request junoslukan/straw2analysis!2
10 months ago
junos
d6f36ec8f8
[WIP] Finish the class by assigning columns and validating model.
11 months ago
junos
b06ec6e1ae
[WIP] Methods to get the labels and data plus aggregate them.
11 months ago
junos
622477f19f
[WIP] Start merging steps into a class for a pipeline.
11 months ago
junos
577a874288
Add an example for linear regression.
11 months ago
junos
c8bb481508
Add a parameter for grouping.
11 months ago
junos
98f1df81c6
Use the same function for ESM and other data.
11 months ago
junos
ad85f79bc5
Move datetime calculation to a separate function.
11 months ago
junos
070cfdba80
Start machine learning pipeline example.
Select data and labels.
11 months ago
junos
c6d0e4391e
Add a couple of proximity features.
11 months ago
junos
af65d0864f
Add a simple function for recoding proximity.
11 months ago
junos
a2180aee54
Fix assignment to use loc.
For assigning a value to selected rows (a subset), regular slicing using [] produces a KeyError.
11 months ago
Ivan Kobe
74b4f9ddbe
separated features
11 months ago
junos
a06ad0800f
Explore missing application categories.
11 months ago
junos
06e1fe7410
Merge remote-tracking branch 'origin/communication' into communication
11 months ago
junos
02f2607be9
Fix formatting and typos.
11 months ago
junos
cca5a29483
Rename features and add one for missed calls.
11 months ago
junos
e3d735163f
Add demonstrations of new functions.
11 months ago
Ivan Kobe
1b53865f0a
deleted prototyping notebooks
11 months ago
Ivan Kobe
4ac5f37c19
additional communication features
11 months ago
junos
2fc80a34e7
Fix formatting and typos.
11 months ago
junos
fbd9c2fc32
Rename features and add one for missed calls.
11 months ago
Junos Lukan
d8899fa75b
Merge branch 'communication' into 'master'
Communication
See merge request junoslukan/straw2analysis!1
11 months ago
Ivan Kobe
62af04fe09
Communication
11 months ago
junos
33ebf9caea
Add demonstrations of new functions.
11 months ago
junos
40293c4752
Further reduce figure height and increase font size.
11 months ago
junos
9e87b1f176
Add an option to print figures and set font sizes.
11 months ago
Ivan Kobe
4a2ca581b3
deleted prototyping notebooks
11 months ago
Ivan Kobe
d98b673824
additional communication features
11 months ago
junos
1bdb334c42
Fix formatting.
11 months ago
junos
b99136a181
Document individual functions for event extraction.
11 months ago
junos
9bd42afa02
Simplify pivoting a table and fix other mistakes.
11 months ago
junos
0f5af21f71
Detect whether event was work related.
11 months ago
junos
c4f7b6459d
Extract event duration.
11 months ago
junos
19cddaa634
Convert event time to datetime.
11 months ago
junos
763b970a42
Detect stressful events and rename their stressfulness.
11 months ago
junos
3c12a6e74a
Start extracting event features.
Calculate threat and challenge means.
11 months ago
junos
28e9db15f5
Add assertions for fields which are referenced in other functions.
11 months ago