Git Product home page Git Product logo

minder_utils's Introduction

Download and process the DRI data

For documentation and installation instructions, please see: minder_utils documentation.

Download and process the DRI data

Install anaconda, and create environment via:

conda env create -f environment.yml

Overview

NOTE: the time in the dataframe is UTC, which in the summer is 1 hour earlier then local patient time.

  1. access the research portal and activate an access token
  2. Copy and paste your token into Getting Started.ipynb.

Currently, the script can

  1. Download the data
  2. Categorize the data python main.py -formatting True. Will return an object with the following attributes
  • physiological_data, the values will be averaged by date.
  • activity_data
  • environmental_data, the values will be averaged by date.

The weekly_loader in the 'scripts' folder supports download the activity data weekly, it can

  • download all the previously collected activity data
  • download the latest activity data in the last week
  • put the data in a specific format
  • normalise and save the data

Please check the Instruction.ipynb for usage.

Please share your ideas/code of formatting the data (activity, environmental, physiological, questionary), data visualisation or any other ideas with us. We will organise the code and share to others.

TODO

Data

  1. The activity data will be aggreated hourly
  2. The missing physiological data will be imputed by mean or the nearest data.
  3. Textual data will be processed by text embedding.

Model

  1. Unsupervised learning models including autoencoder, contrastive encoder, partial order etc.
  2. Classifiers including conventional classifiers, pnn
  3. NLP models for processing the textual data
  4. models for data fusion

minder_utils's People

Contributors

alexcapstick avatar mozzielol avatar

Forkers

ukdri

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.