Go to file
Primoz 788ac31190 Bug fix: if df has no rows write an empty zscore file. 2022-07-08 10:40:45 +00:00
.github Update docs with contributing guide 2021-05-10 15:48:14 -04:00
data/external Few changes during addition to file structure. 2022-07-04 13:00:47 +00:00
docs Update change-log for v1.8.0 2022-02-10 15:05:55 -05:00
example_profile Make place for STRAW models. 2022-02-04 17:25:24 +01:00
models First commit 2019-10-22 13:11:01 -04:00
notebooks First commit 2019-10-22 13:11:01 -04:00
problems Keep track of warning messages. 2021-12-15 16:19:29 +01:00
references First commit 2019-10-22 13:11:01 -04:00
renv Small misc changes 2022-06-02 06:41:53 +00:00
reports Add restore_sql_file rule; notsummarised module; diff platforms for heatmap_days_by_sensors 2020-08-03 13:09:16 -04:00
rules Working version that integrates both phone and empatica feature calculations. 2022-07-07 15:00:47 +00:00
src Bug fix: if df has no rows write an empty zscore file. 2022-07-08 10:40:45 +00:00
tests Misc. changes 2022-07-06 11:30:18 +00:00
tools Data cleaning (#166) 2021-11-19 10:34:36 -05:00
.Rprofile Add Travis CI 2020-05-18 19:24:34 -04:00
.gitattributes Force Unix style end of line. 2021-11-17 19:12:40 +01:00
.gitignore Merge branch 'empatica_calculating_features' 2022-07-07 15:35:47 +00:00
Dockerfile Add libglpk40 dependency 2021-01-05 19:24:49 -05:00
LICENSE Update LICENSE 2020-03-10 16:52:23 -04:00
README.md README: few changes. 2022-07-08 10:40:08 +00:00
Snakefile Working version that integrates both phone and empatica feature calculations. 2022-07-07 15:00:47 +00:00
__init__.py Add folder structure for CF testing and EDA test. 2022-03-21 10:40:18 +00:00
code_of_conduct.md Add code of conduct 2020-11-30 13:51:05 -05:00
config.yaml Working version that integrates both phone and empatica feature calculations. 2022-07-07 15:00:47 +00:00
credentials.yaml Added standardization on SO features. 2022-06-06 13:51:15 +00:00
environment.yml Updated R and Python package files. Updated README. 2022-07-07 15:30:07 +00:00
mkdocs.yml Add data stream for AWARE Micro server (#173) 2022-01-27 10:47:50 -05:00
rapids remove .py ext from rapids.py 2020-10-28 16:59:19 -04:00
renv.lock Updated R and Python package files. Updated README. 2022-07-07 15:30:07 +00:00

README.md

GitHub release (latest SemVer) Snakemake Documentation Status tests Contributor Covenant

RAPIDS

Reproducible Analysis Pipeline for Data Streams

For more information refer to our documentation

By MoSHI, University of Pittsburgh

Installation

For RAPIDS installation refer to to the documentation

For the installation of the Docker version

  1. Follow the instructions to setup RAPIDS via Docker (from scratch).

  2. Delete current contents in /rapids/ folder when in a container session.

    cd ..
    rm -rf rapids/{*,.*}
    cd rapids
    
  3. Clone RAPIDS workspace from Git and checkout a specific branch.

    git clone "https://repo.ijs.si/junoslukan/rapids.git" .
    git checkout <branch_name>
    
  4. Install missing “libpq-dev” dependency with bash.

    apt-get update -y
    apt-get install -y libpq-dev
    
  5. Restore R venv. Type R to go to the interactive R session and then:

    renv::restore()
    
  6. Install cr-features module From: https://repo.ijs.si/matjazbostic/calculatingfeatures.git -> branch calculations_for_rapids. Then follow the "cr-features module" section below.

  7. Install all required packages from environment.yml, prune also deletes conda packages not present in environment file. conda env update --file environment.yml prune

  8. If you wish to update your R or Python venvs.

    R in interactive session:
    renv::snapshot()
    Python: 
    conda env export --no-builds | sed 's/^.*libgfortran.*$/  - libgfortran/' | sed 's/^.*mkl=.*$/  - mkl/' >  environment.ym
    

cr-features module

This RAPIDS extension uses CalculatingFeatures library accessible here.

To use CalculatingFeatures library:

  • For now, use the "modifications_for_rapids" branch to get the newest version of cr-features that is functional for RAPIDS-STRAW analysis.

  • Follow the installation instructions in the README.md.

  • Copy built calculatingfeatures folder into the RAPIDS workspace.

  • Install the CalculatingFeatures package by:

    pip install "path/to/the/calculatingfeatures/folder"
    e.g. "./calculatingfeatures" if the folder is copied to main parent directory
    CalculatingFeatures package has to be built and installed everytime to get the newest version.