Tensor decompositions plugin for SpectroChemPy
Project description
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.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spectrochempy_tensor-0.1.0.tar.gz.
File metadata
- Download URL: spectrochempy_tensor-0.1.0.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66b2b51d3079791591fb295d98d65e96ad100642b2e224847801b91e52c8b0ad
|
|
| MD5 |
f19ce71c090793db23730a5c804eb8b9
|
|
| BLAKE2b-256 |
5e6871c451b1bf5fa22d9ca6c65851bc48ee3e914bd2bc74c96a355e5be46bb7
|
File details
Details for the file spectrochempy_tensor-0.1.0-py3-none-any.whl.
File metadata
- Download URL: spectrochempy_tensor-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
220b2dbaca2a7321ec15730ee0dca33909f45cf147b5e4e936f3bc41d97b2ab1
|
|
| MD5 |
be5beb53ec15e5046d4bcaa8958414df
|
|
| BLAKE2b-256 |
2cff40152c680a1aba787953aa50f42582997af67ea530234629bf1faf4797da
|