Commit Graph

399 Commits (master)

Author SHA1 Message Date
junos 777d30365e Fix questions that were slightly different in the morning. 2023-07-03 21:29:09 +02:00
junos ca85131ed2 Use refactored methods. 2023-07-03 21:18:15 +02:00
junos 2aa5c5cb07 Fix trailing whitespace. 2023-07-03 21:17:40 +02:00
junos 82b53bc0d3 Extract method to reuse. 2023-07-03 21:13:50 +02:00
junos c688580fe8 Increment answers separately if needed. 2023-07-03 21:01:15 +02:00
junos 8c0b66eddc Extract method to reuse and simplify. 2023-07-03 20:52:08 +02:00
junos e3ff4846e1 Document functions. 2023-07-03 20:45:39 +02:00
junos 825380a47e Add a function to fix SAM question IDs. 2023-07-03 20:41:48 +02:00
junos ef26772038 Add SAM question IDs. 2023-07-03 20:38:20 +02:00
junos 64c05ec5ec Fix COPE question IDs. 2023-07-03 20:27:33 +02:00
junos c0236b251c Fix question IDs. 2023-07-03 20:11:11 +02:00
junos 2f22f2052a [WIP] Continue factor analysis. 2023-07-03 20:10:45 +02:00
junos ec51d7d406 [WIP] Add a function to recode question IDs. 2023-07-03 19:57:28 +02:00
junos 2aca64aa09 Add COPE questions and their IDs. 2023-07-03 19:34:11 +02:00
junos 9a87a0a34a Add instructions to export. 2023-07-03 19:19:10 +02:00
junos 91a9f20839 Read in data. 2023-07-03 18:44:45 +02:00
junos e3be17e56e Export COPE data. 2023-07-03 18:33:28 +02:00
junos 5c0e2e2621 Export SAM data. 2023-07-03 18:25:40 +02:00
junos 51201c2bc9 Disable jupytext pre-commit again. 2023-07-03 18:24:37 +02:00
junos fed4b33611 Add more jupytext args. 2023-07-03 18:22:36 +02:00
junos 471ce7c2cb Document extract_stressful_events. 2023-07-03 17:37:34 +02:00
junos dbb2033f78 Add jupytext to pre-commit hooks. 2023-07-03 17:35:45 +02:00
junos 1b77fb119c Fix an error introduced in ae2ca63bc4. 2023-07-03 17:17:56 +02:00
junos ae2ca63bc4 Define QUESTIONNAIRE IDs and use them.
Clean up docstrings.
2023-07-03 17:09:40 +02:00
junos 577f1330da Add docstrings flake8 checks. 2023-07-03 16:49:35 +02:00
junos 4af360f411 Use conda Python environment with R. 2023-07-03 14:51:07 +02:00
junos 96bbe32f56 Add statistics for some scales. 2023-07-03 14:50:35 +02:00
junos 40170339c2 Add R project and sample Markdown notebook. 2023-07-03 14:28:28 +02:00
junos 7b0c0037f7 Add an old script to test JCQ reversal. 2023-07-03 14:23:55 +02:00
junos db06584ddd Improve removal of "medium" class. 2023-05-31 22:46:49 +02:00
junos 112d968715 Add baseline features. 2023-05-31 22:25:39 +02:00
junos 9cc6bf7c21 Add PCA for composite target. 2023-05-31 21:12:21 +02:00
junos 78807b941c Add analysis for composite score of stress. 2023-05-31 21:00:55 +02:00
junos a9af113c9c Add confusion matrices for all methods. 2023-05-31 17:41:50 +02:00
junos 97113fe9ab Sum up confusion matrix and illustrate use with dummy. 2023-05-31 17:27:49 +02:00
junos bc78a1d498 Define a confusion matrix scorer. 2023-05-31 16:05:39 +02:00
junos aca84b214d Small corrections. 2023-05-19 03:19:42 +02:00
junos aa13123136 Handle clustering classification the same as other classification models again. 2023-05-19 03:04:09 +02:00
junos c51e0da0f7 Handle clustering classification the same as other classification models. 2023-05-19 02:52:56 +02:00
junos a2401b5e36 Add multiclass scoring. 2023-05-19 01:34:34 +02:00
junos 70232949c3 Better handling of "medium" category. 2023-05-19 01:10:30 +02:00
junos 8a9595c615 Better handling of input filename again. 2023-05-18 22:53:58 +02:00
junos 045b9fa0dc Better handling of input filename. 2023-05-18 19:03:53 +02:00
junos bb4445f1a8 Add bins to output filename. 2023-05-18 18:58:19 +02:00
junos 1318ae3609 Rename methods to make them consistent with regression methods. 2023-05-18 18:55:31 +02:00
junos 45441c288d Correct column name. 2023-05-18 18:47:56 +02:00
junos fa45b30955 Set output path programmatically. 2023-05-18 18:40:54 +02:00
junos 2336edffb6 Retain metric names in final scores. 2023-05-18 18:40:06 +02:00
junos b756ed5feb Set more parameters as user-specified constants. 2023-05-18 18:06:32 +02:00
junos cad28c3fe8 Set path programmatically. 2023-05-18 16:36:46 +02:00