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.4.tar.gz (14.8 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.4-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spectrochempy_tensor-0.1.4.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for spectrochempy_tensor-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a7879644e7d36a9f63c4b60954822f246feaaf803a9c1d33e88dc7e41eb528cc
MD5 8ad5365a44e46a5da7c56942506edd25
BLAKE2b-256 6ba39c712ffb52f3422fd99d52cf114b5dd9f9f3c4974d41e6199fa53a3bac02

See more details on using hashes here.

Provenance

The following attestation bundles were made for spectrochempy_tensor-0.1.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for spectrochempy_tensor-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 39424d046fd9b9d5b0124e48ec3915583ef571176a069b6a0cbb633a369352e9
MD5 76c692e362e3f6ffe3296bde0ca83c29
BLAKE2b-256 7750d0f5d323c617505d84cd4d844c408ce97bb24fe75d075d99cc6645832d4c

See more details on using hashes here.

Provenance

The following attestation bundles were made for spectrochempy_tensor-0.1.4-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