Giter Site home page Giter Site logo

ml4ht_data_source's Introduction

ml4ht_data_source

ml4ht_data_source is a library that allows you to streamline the process of modeling multi-modal health data.

It makes it easy to load and model on data from different storage formats with complex QC and date time selection logic. The data can be used in both tensorflow and pytorch.

Library functionalities

The library can... Example use case
Load data from different storage formats Modeling on MRIs stored in hd5 files named by sample id with labels in a pandas data frame
Have clear and easy to use selection of data by sample id Selecting a set of patients with a specific condition
Have clear and easy to use selection of data by date-time Selecting ECGs that have a heart attack at most 10 days prior
Allow flexible data transformations Comparing different augmentation strategies
Allow flexible data filtering Comparing different QC strategies
Make data exploration convenient Comparing distributions of labels after different QC and date selection strategies
Allow a random state to be shared across modalities Selecting a random chunk of an MRI to segment

Setup

ml4ht_data_source uses python 3.6 or higher. Setup can be done using venv.

python3.8 -m venv env
source env/bin/activate
pip install -r requirements.txt
pre-commit install
pip install .

Tests

ml4ht_data_source is thoroughly tested using pytest.

source env/bin/activate
pip install .
pytest

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.