A framework of linear LVMs with spectral regularisation.
Project description
Spectrally regularised LVMs
Spectrally-regularised-LVMs is a Python-based package which facilitates the estimation of the linear latent variable model (LVM) parameters with a unique spectral regularisation term in single channel time-series applications.
Purpose
LVMs are a statistical methodology which try to capture the underlying structure in some observed data. This package caters to single channel time-series applications and provides a methodology to estimate the LVM parameters. The model parameters are encouraged to capture non-duplicate information via a spectral regularisation term which penalises source duplication of the spectral information captured by the latent sources.
The purpose of this package is to provide a complete framework for LVMs with spectral regularisation that caters to a variety of LVM objective functions.
Documentation
Please visit the documentation page for all supporting documentation for this package.
Installation
The package is designed to be used through the Python API, and can be installed using pip:
$ pip install spectrally-regularised-LVMs
A more detailed discussion regarding installation is given in the documentation.
Requirements
This package used Python ≥ 3.10 or later to run. For other python dependencies, please check the pyproject.toml
file included in this repository. The dependencies of this package are as follows:
Package | Version |
---|---|
Python | ≥ 3.10 |
Numpy | ≥ 1.23.1 |
Matplotlib | ≥ 3.5.2 |
SciPy | ≥ 1.8.1 |
scikit-learn | ≥ 1.1.2 |
tqdm | ≥ 4.64.1 |
SymPy | ≥ 1.1.1 |
Poetry | ≥ 1.4 |
API usage
Please visit the docs for all supporting API documentation for this package.
Contributing
This package uses Poetry for dependency management and Python packaging and git for version control. To get started, first install git and Poetry. Then one may clone this repository via
$ git clone git@github.com:RyanBalshaw/spectrally-regularised-LVMs.git
$ cd spectrally-regularised-LVMs
Then, install the necessary dependencies in a local environment via
$ poetry install --with dev,docs
$ poetry shell
This will install all necessary package dependencies and activate the virtual environment. You can then set up the pre-commit hooks via
$ pre-commit install
pre-commit installed at .git/hooks/pre-commit
License
This project is licensed under MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file spectrally_regularised_lvms-0.1.3.tar.gz
.
File metadata
- Download URL: spectrally_regularised_lvms-0.1.3.tar.gz
- Upload date:
- Size: 31.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a05b115c5faa04c89c3a905eba5ecfcb211496fccdb571cef4074d6b1153536 |
|
MD5 | 8e8fd2e6b3acd702b963743032d4ed0d |
|
BLAKE2b-256 | 8a4d4ae37313c6c27372b48a9e54bbbee60d201882b0d3486c3fdf92bca4b366 |
File details
Details for the file spectrally_regularised_lvms-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: spectrally_regularised_lvms-0.1.3-py3-none-any.whl
- Upload date:
- Size: 34.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c324e6c3774f8d503b78943603c1230412d141c9aec7ab1c4bcbb8758db047d9 |
|
MD5 | 6662ad80e2192183c740a2d5402c01c3 |
|
BLAKE2b-256 | e487db3e2ea9a0bb2ba5a8a2d77fe128955867781e6b6bc9a4c4c929bf758ea4 |