Skip to main content

Dynamical Components Analysis

Project description

Dynamical Components Analysis

Actions Status Documentation Status codecov

Implementation of the methods and analyses in Unsupervised Discovery of Temporal Structure in Noisy Data with Dynamical Components Analysis.

Documentation can be found at https://dynamicalcomponentsanalysis.readthedocs.io/en/latest/index.html

Installation

To install, you can clone the repository and cd into the DynamicalComponentsAnalysis folder.

# use ssh
$ git clone git@github.com:BouchardLab/DynamicalComponentsAnalysis.git
# or use https
$ git clone https://github.com/BouchardLab/DynamicalComponentsAnalysis.git
$ cd DynamicalComponentsAnalysis

If you are installing into an active conda environment, you can run

$ conda env update --file environment.yml
$ pip install -e .

If you are installing with pip you can run

$ pip install -e . -r requirements.txt

Note: DCA only requires a CPU-only pytorch. If you wish to, before installing DCA as in the above instructions, you can install a CPU-only pytorch by following the pytorch installation guide.

$ pip install torch --index-url https://download.pytorch.org/whl/cpu

Datasets

The 4 datasets used in the DCA paper can be found in the following locations

  • M1 - We used indy_20160627_01.mat
  • HC - See link to the datasets in the README
  • Temperature - We used the 30 US cities from temperature.csv.
  • Accelerometer - We used std_6/sub_19.csv from A_DeviceMotion_data.zip

Copyright

Dynamical Components Analysis (DCA) Copyright (c) 2021, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.

If you have questions about your rights to use or distribute this software, please contact Berkeley Lab's Intellectual Property Office at IPO@lbl.gov.

NOTICE. This Software was developed under funding from the U.S. Department of Energy and the U.S. Government consequently retains certain rights. As such, the U.S. Government has been granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable, worldwide license in the Software to reproduce, distribute copies to the public, prepare derivative works, and perform publicly and display publicly, and to permit others to do so.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dynamicalcomponentsanalysis-1.1.0.tar.gz (48.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dynamicalcomponentsanalysis-1.1.0-py3-none-any.whl (51.5 kB view details)

Uploaded Python 3

File details

Details for the file dynamicalcomponentsanalysis-1.1.0.tar.gz.

File metadata

File hashes

Hashes for dynamicalcomponentsanalysis-1.1.0.tar.gz
Algorithm Hash digest
SHA256 190a3c471f04c15db62afad238d584a9a49c92ca9ccaeaf054654ef6290a5ba8
MD5 40961fdf8db9a5d990bfc77b305614d8
BLAKE2b-256 9ae46bf1184f51d26b2ee4ef3c1d9989d4731d67bb8ec2c434b48fae5fcbb1c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for dynamicalcomponentsanalysis-1.1.0.tar.gz:

Publisher: release_pypi.yml on BouchardLab/DynamicalComponentsAnalysis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dynamicalcomponentsanalysis-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dynamicalcomponentsanalysis-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aee342dca327e0a69f7ca880f9848164b44dea0c82837c919281651a24df3b86
MD5 d952cca2bc0acea678711db2735e9ca6
BLAKE2b-256 64bff9c2a5aba873c2457fcd1624232505663e008528b1633fc9adec57afb7eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for dynamicalcomponentsanalysis-1.1.0-py3-none-any.whl:

Publisher: release_pypi.yml on BouchardLab/DynamicalComponentsAnalysis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page