Skip to main content

spectrochempy-tensor

Tensor decomposition plugin for SpectroChemPy.

This official plugin provides TensorLy-backed tensor decomposition classes, starting with CP/PARAFAC decomposition exposed as scp.tensor.CP.

Installation

pip install spectrochempy-tensor

For local development from the SpectroChemPy monorepo:

pip install -e plugins/spectrochempy-tensor

Usage

import spectrochempy as scp

model = scp.tensor.CP(n_components=2)
model.fit(dataset)

The historical scp.CP alias is retained as a deprecated compatibility path.

Download files

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

Source Distribution

spectrochempy_tensor-0.1.5.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

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

spectrochempy_tensor-0.1.5-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file spectrochempy_tensor-0.1.5.tar.gz.

File metadata

  • Download URL: spectrochempy_tensor-0.1.5.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for spectrochempy_tensor-0.1.5.tar.gz
Algorithm Hash digest
SHA256 a2c393ddb582b62ee43c34539bfd3578620305cd96a53a6cb8468450c967b7ec
MD5 deaefd5354fc0bb279eedc8816fe0ff0
BLAKE2b-256 1af91321f51af438a5393eb3f23beffc3f850b4ae1f9c95c208e7b4bdba616fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for spectrochempy_tensor-0.1.5.tar.gz:

Publisher: publish_plugins.yml on spectrochempy/spectrochempy

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

File details

Details for the file spectrochempy_tensor-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for spectrochempy_tensor-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d6ae61588918a5bae9df8df19f37b708c6edb8ad034718c5d896ba652365e48e
MD5 fb49ced0212830a84f459d40c7f1df26
BLAKE2b-256 65afd66fcbba51ee17581a11d1daf33193363a07831faae23289defb35254647

See more details on using hashes here.

Provenance

The following attestation bundles were made for spectrochempy_tensor-0.1.5-py3-none-any.whl:

Publisher: publish_plugins.yml on spectrochempy/spectrochempy

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 Sentry Error logging StatusPage Status page