Full Pipeline - Daily Physical Activity Monitoring: Adaptive Learning from Multi-Source Motion Sensor Data - Team 2#1016
Open
thomasfire wants to merge 21 commits intosunlabuiuc:masterfrom
Open
Full Pipeline - Daily Physical Activity Monitoring: Adaptive Learning from Multi-Source Motion Sensor Data - Team 2#1016thomasfire wants to merge 21 commits intosunlabuiuc:masterfrom
thomasfire wants to merge 21 commits intosunlabuiuc:masterfrom
Conversation
* first pass * dependency --------- Co-authored-by: waltert3 <waltert3@illinois.edu>
Add docstrings for each method
* Simplify * remove excessive duplication
* run format * address comments
* first rough experiments * dont introduce new functions into codebase * fixes * refactor * continue refactoring * refactor with gemini * add original task * fix original task * add dataset downloader * nbstripout and seaborn * formatting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Team:
waltert3@illinois.edu)esavkin2@illinois.edu)yihuiy2@illinois.edu)Type: Full Pipeline
Dataset: https://archive.ics.uci.edu/static/public/256/daily+and+sports+activities.zip
Original paper:
Overview
This PR adds support for the Daily and Sports Activities (DSA) time-series dataset, an adaptive transfer model for multi-source time-series classification, a multi-class activity-recognition task, and a reproduction notebook with ablations and extensions based on the original paper.
Dataset (
dsa.py)DSADatasetclass inpyhealth.datasets.Model (
adaptive_transfer.py)AdaptiveTransferModelclass inpyhealth.models.Task (
dsa_activity_classification.py)DSAActivityClassificationtask inpyhealth.tasks.Example (
dsa_adaptive_transfer_replication.ipynb)Main Files for Review
pyhealth/datasets/dsa.pywith teststests/core/test_dsa.pypyhealth/models/adaptive_transfer.pywith teststests/core/test_adaptive_transfer.pypyhealth/tasks/dsa_activity_classification.pywith teststests/core/test_dsa_task.pyexamples/dsa_adaptive_transfer_replication.ipynb