An sparse opyimization toolbox contains test data generation and network reasoning
Test Data Generation
Import
from sparsetools import matCreater
Data generation
matCreater.matCreater(tfLen=10, sampleNums=200, geneNums=2000, normalLoc=0, normalScale=0.1)
| Parameter | Type | Explanation |
|---|---|---|
| tfLen | int | The numbers of transcribe factors |
| sampleNums | int | The numbers of transcribe samples |
| geneNums | int | The numbers of target genes |
| normalLoc | float: recommond use 0 | Mean value of Gaussian noise |
| normalScale | float | Variance of Gaussian noise |
Return:
| Parameter | Type | Shapes | Explanation |
|---|---|---|---|
| W_d | np.array | (tfLen, sampleNums) | Over complete dictionary |
| zNetwork | np.array | (geneNums, tfLen) | Sparse matrix |
| xTargetGene | np.array | (geneNums,sampleNums) | Target |
Network reasoning
from sparsetools import Optimization
Optimization.voting(expre, tf_names, gene_names)
| Parameter | Type | Explanation |
|---|---|---|
| expre | np.array | The expresion matrix of genes |
| tf_names | np.array | Names of tf |
| gene_names | np.array | Name of all genes(including TF) |
Return:
The moderation network result matrix of the voting algorithm, while the results of the independent algorithm are named with the algorithm name and stored locally.
Metadata
Release files for Sparse-Optimization-Toolbox 0.1.0
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 |
|---|---|---|---|---|
| Sparse-Optimization-Toolbox-0.1.0.tar.gz | 2.9 kB | Without provenance | Details for Sparse-Optimization-Toolbox-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Sparse_Optimization_Toolbox-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for Sparse_Optimization_Toolbox-0.1.0-py3-none-any.whl |
Total release size: 5.7 kB
Release files / Sparse-Optimization-Toolbox-0.1.0.tar.gz
| Download URL | Sparse-Optimization-Toolbox-0.1.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd9dba210dbdb9af13cf02ce769899d6bb7e36f4f43da82cfa6d3d79ffbcd159
|
|
BLAKE2b-256 checksum How to use checksums |
dae9e18a3ab5c3e814f531636375a1afc234c1ae4e9571231345e7d8c4f81f31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
|
Release files / Sparse_Optimization_Toolbox-0.1.0-py3-none-any.whl
| Download URL | Sparse_Optimization_Toolbox-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc24a0c78b4b91dee49b1693fc70d2c405003ce64e5016aebe0e284bc04519d6
|
|
BLAKE2b-256 checksum How to use checksums |
100d0c41f50a5327f565ce92d3c6b4fccf88e695f4ca3b90ecf03422d20be65d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
|
Security for Sparse-Optimization-Toolbox 0.1.0
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.