pycorcondia
CORCONDIA (Core Consistency Diagnostic) implementation in Python. It uses Tensorly with the Numpy backend.
Installation
pip install -U corcondia
Usage
Currently, the only implemented function is corcondia_3d, which calculates the Core Consistency Diagnostic (CORCONDIA) for a 3D tensor. Additional arguments will be forwarded to the tensorly.decomposition.parafac call.
An example on a random tensor is shown below.
import numpy as np
from corcondia import corcondia_3d
X = np.random.rand(5, 5, 5)
print(corcondia_3d(X, k=3))
References
This is based off of the original MATLAB implementation by Evangelos (Vagelis) Papalexakis:
@inproceedings{inproceedings,
author = {Papalexakis, Evangelos and Faloutsos, Christos},
year = {2015},
month = {04},
pages = {5441-5445},
title = {Fast efficient and scalable Core Consistency Diagnostic for the parafac decomposition for big sparse tensors},
doi = {10.1109/ICASSP.2015.7179011}
}
CORCONDA was first introduced by Bro and Kiers (2003) here.
Thanks to Alessandro Bessi for his initial implementation here, which led to the creation of this repo.
Also, thanks to Yorgos Tsitsikas for his valuable feedback and suggestions.
Metadata
Release files for corcondia 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| corcondia-0.1.1.tar.gz | 3.5 kB | Without provenance | Details for corcondia-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| corcondia-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for corcondia-0.1.1-py3-none-any.whl |
Total release size: 7.3 kB
Release files / corcondia-0.1.1.tar.gz
| Download URL | corcondia-0.1.1.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b0bc8ee2403321d4ff6700e99a6dbf59fba12bff334e461082fe992fb35fc84
|
|
BLAKE2b-256 checksum How to use checksums |
6136defcd3cbdd88f9fc7b9eb10ff4736f5e80290f9e2a9917378955f4625cd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
|
Release files / corcondia-0.1.1-py3-none-any.whl
| Download URL | corcondia-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bdf9ac9363dc00da7213588ae4c81ff1e6286d9845451af3a078051f81579da2
|
|
BLAKE2b-256 checksum How to use checksums |
dfdb9c387278f2c846ffefc68259a89d1f66644f7c736372546c7c5f65914749
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
|
Security for corcondia 0.1.1
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.