Commit Graph

41 Commits (master)

Author SHA1 Message Date
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 76071fd550 Start using pre-commit hooks. 2023-04-24 15:38:54 +02:00
junos 583ee82e80 Add xgboost to dependencies and reformat helper.py. 2023-04-21 21:33:06 +02:00
junos 59552c18a9 Update python to 3.11. 2023-04-21 18:08:54 +02:00
junos 8bbe0b2ba8 Merge branch 'ml_pipeline' of repo.ijs.si:junoslukan/straw2analysis into ml_pipeline
# Conflicts:
#	.gitignore
#	exploration/ml_pipeline_classification_with_clustering.py
2023-01-04 18:19:43 +01:00
junos 1516d1c000 Cluster by demand_control_ratio_quartile. 2023-01-04 18:16:14 +01:00
Primoz 164d12ed2f Add undersampling method (with on/off parameter). 2022-12-13 17:01:46 +01:00
junos d34c2ec5e9 Merge branch 'ambient' into ml_pipeline 2021-11-17 10:39:55 +01:00
junos 92fbda242b Explore barometer and temperature data.
Add docstrings to models.
2021-10-14 17:59:33 +02:00
junos a63a7eac99 [WIP] Add a test for SensorFeatures.
Additional analysis for adherence.
Small corrections.
2021-10-13 13:39:58 +02:00
junos c1bb4ddf0f Save calculated features to csv files. 2021-08-23 16:36:26 +02:00
junos 0ed34e97b3 Convert the class into a YAML object.
Add an example config file and demonstrate its usage in ex_ml_pipeline.ipynb.
2021-08-19 16:31:42 +02:00
junos 577a874288 Add an example for linear regression. 2021-08-12 16:54:00 +02:00
junos 48d7be780c Fix formatting. 2021-07-04 14:34:57 +02:00
junos 92a5787d62 Only convert some answers to numeric. 2021-07-04 14:34:13 +02:00
junos b8301ca458 Small corrections. 2021-07-03 18:45:46 +02:00
junos de32241d51 Classify and count adherence.
Add statsmodels.
2021-06-08 16:40:01 +02:00
junos 0f7d182f40 Merge remote-tracking branch 'origin/master' into master 2021-05-31 11:48:10 +02:00
junos 0199b4f0f2 Add a method to transform ESM data and the test. 2021-05-27 18:10:34 +02:00
junos 48a81c8795 Delete remaining Jupyter Notebook. 2021-05-07 15:49:33 +02:00
junos 6e9c13d5d8 Add more call features.
The total duration of calls and maximum duration by type.
The number of all calls and ratio of incoming and outgoing calls.
2021-05-07 15:18:56 +02:00
junos 0ea9d76a6f Remove remaining Jupyter notebook. 2021-05-07 12:53:10 +02:00
junos 10bdc8aa1d Add SMS data exploration and use Jupytext to save JupyterNotebooks as py scripts. 2021-05-07 12:10:46 +02:00
junos 056db73786 Look at frequencies of screen statuses and explain (un)lock sequences. 2021-05-05 17:20:19 +02:00
junos 66b36faedc Add Seaborn and cleanup. 2021-04-09 15:33:52 +02:00
junos b7b60294ba Add a (useless?) test for features.communication.count_comms.
Formatting.
2021-04-06 17:12:36 +02:00
junos ab2dbf7a02 Add a function to count calls and their duration and SMSes by type. 2021-04-06 16:23:19 +02:00
junos 669f7cfecb Document SMS class. 2021-04-06 13:52:08 +02:00
junos b290fb6aa4 Document classes. 2021-04-06 12:58:32 +02:00
junos b2d93e0686 Add a method to get Calls data.
Add a test for this.
2021-01-05 17:00:45 +01:00
junos 98f945add1 Imrpove code formatting. 2020-12-31 14:33:44 +01:00
junos f542a37955 Inherit from AWARESensor correctly.
Two additional tests to check getting a participant and some data.
2020-12-31 14:29:35 +01:00
junos 6dcb0daae7 Continue with the tutorial. 2020-12-24 16:57:34 +01:00
junos bc27c71041 Copy Models and edit for imports. 2020-12-24 16:46:55 +01:00
junos 8d114ebb13 Use SQLAlchemy to connect to DB. 2020-12-24 16:06:23 +01:00
junos 33d048d11b Remove pre-commit hooks.
Because PyCharm does not activate conda environment, this doesn't work properly.
I left in the formatting tools (black, isort etc.) which can be used manually.
2020-12-24 14:38:52 +01:00
junos 9711c1b202 Use python-dotenv for environment variables.
PyCharm did not load conda environment variables.
2020-12-24 14:03:36 +01:00
junos 280fa5867c Create the environment from file.
Add conda-forge as a channel for some packages.
2020-12-24 11:41:21 +01:00
junos dcd5bdbdd1 Only list the user-specified packages in environment.yml.
Let conda satisfy dependencies on each platform separately.
2020-12-24 11:35:16 +01:00
junos 98815ec973 Set up requirements.
Install packages to check the code formatting.
Do this before every commit.
2020-12-23 17:06:25 +01:00