Skip to main content

Package for Sparse optimization

Project description

An sparse opyimization toolbox contains test data generation and network reasoning

Test Data Generation

Import

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

Relationship between parameters: $$W_d*z_{Network} = x_{TargetGene}+\mu$$ $$\mu \sim N(normalLoc, normalScale)$$

Project details


Download files

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

Source Distribution

Sparse-Optimization-Toolbox-0.0.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file Sparse-Optimization-Toolbox-0.0.1.tar.gz.

File metadata

  • Download URL: Sparse-Optimization-Toolbox-0.0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for Sparse-Optimization-Toolbox-0.0.1.tar.gz
Algorithm Hash digest
SHA256 eb6b91e15a2ee9dd02f650be481d7862bba6b54caa6e8b5226d75ee58b9ecc34
MD5 45f5aa4f067a8de5ad53785ee0403c13
BLAKE2b-256 433ee68b478509358b54980a5fa573e31856819093a733e987a5ea9ee02b7c55

See more details on using hashes here.

File details

Details for the file Sparse_Optimization_Toolbox-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: Sparse_Optimization_Toolbox-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for Sparse_Optimization_Toolbox-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2aee8929fd5851e35845a7aadb14ba6c4ed4135bad8ff30b0e829d028ae2ba2
MD5 d397ec961db9e804b14c162af3ac7a95
BLAKE2b-256 ec6d9fbbe9ab31e0b029e67487605ffe79660916c072c22ac72d5885b953b378

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page