Skip to main content

gseqNMF

This package is a re-implementation of the seqNMF algorithm described in Mackevicius et al., 2019, and provided as a MATLAB toolbox here. It utilizes standard sklearn syntax for easy plug-and-play usage.

Features

  • Compatible with scikit-learn pipelines
  • Significant performance optimizations (benchmarks pending)
  • Drop-in GPU acceleration via CuPy
  • Comprehensive test suite
  • Linted with fully-typed codebase
  • Optional visualization module

Installation

The package is available on PyPI and can be installed via pip.

pip install gseqnmf

GPU acceleration can be enabled by installing the package with the cuda12 extra. Development dependencies can be installed with the dev extra.

pip install gseqnmf[cuda12,dev]

Usage Example

import numpy as np
from gseqnmf import GseqNMF

# Load synthetic dataset (samples x neurons)
data = np.load("your_data.npy")
n_components = 3
seqeuence_length = 50
lam = 5e-2
model = GseqNMF(
    n_components=n_components,
    sequence_length=seqeuence_length,
    lam=lam,
)
model.fit(data)

License

This project is licensed under the terms of the MIT license.

Metadata

Release files for gseqnmf 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gseqnmf 0.0.3
File Size Uploaded Provenance Actions
gseqnmf-0.0.3.tar.gz 26.1 kB Without provenance Details for gseqnmf-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gseqnmf 0.0.3
File Interpreter ABI Platform Actions
gseqnmf-0.0.3-py3-none-any.whl Python 3 none any Details for gseqnmf-0.0.3-py3-none-any.whl

Total release size: 45.5 kB

Release files / gseqnmf-0.0.3.tar.gz

Download URL gseqnmf-0.0.3.tar.gz
Size 26.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a26469cebd6d32eb16343f582bb6b1416ef04ba7973fd334ed1982fd16091fee
BLAKE2b-256 checksum
How to use checksums
dd1981bb29e8b733f9c3d3b46bcea69bd0d42d57f9205223440fbc8dd65e156e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.12

Release files / gseqnmf-0.0.3-py3-none-any.whl

Download URL gseqnmf-0.0.3-py3-none-any.whl
Size 19.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75d4be5c962104acf74c801e52a3a3e90ac3f92a52ffef6b989eafccd519cccc
BLAKE2b-256 checksum
How to use checksums
1fa9ea2dac4a377c63d872a76cbda8dc0dae2b2c0af41cba8a08c00dcfbcdf88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.12

Security for gseqnmf 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page