Skip to main content

Optimized Sparse Singular Value Decomposition with Numba

Project description

STA-663-Final-Project

Authors: Jingxuan Zhang, Jae Hyun Lee

This is package for final project in STA-663 Python programming course.

This package can be used by install STA-663-Final-Project-SSVD from pypi

In this package, ssvd_opt function is included which is implementation of paper Biclustering via Sparse Singular Value Decomposition by Lee et al.

ssvd_opt finds latent association between columns and rows under High Dimension Low Sample Size. This function is optimized with functions from Numba. Therefore, before execution, you should import njit, prange, jit from Numba.

ssvd_opt

input: X, niter

X - data matrix which has much more columns than rows

niter - Number of max iteration

output: u,s,v,iters

u,s,v - Decomposed singular value and singular vectors with adaptive lasso penalty which corresponds to best rank 1 approximation matrix X* = s*u@v.T.

iters - number of iteration before convergence.

if the algorithm fails to converge, it prints out "need to increase niter!"

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

STA-663-Final-Project-SSVD-0.1.2.tar.gz (7.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

STA_663_Final_Project_SSVD-0.1.2-py3-none-any.whl (7.0 MB view details)

Uploaded Python 3

File details

Details for the file STA-663-Final-Project-SSVD-0.1.2.tar.gz.

File metadata

  • Download URL: STA-663-Final-Project-SSVD-0.1.2.tar.gz
  • Upload date:
  • Size: 7.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.10

File hashes

Hashes for STA-663-Final-Project-SSVD-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d82677a83c7086875479a0ce97ab01bffd2f5633bfbacaa26677f948f44d7bb0
MD5 b899041d737ba9b68b40a9f705e05676
BLAKE2b-256 a5dbd68e38f7fb44c95f19856e1ed2fe6f510eb61fdcbbc7adc3fd65834f8190

See more details on using hashes here.

File details

Details for the file STA_663_Final_Project_SSVD-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: STA_663_Final_Project_SSVD-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.10

File hashes

Hashes for STA_663_Final_Project_SSVD-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ce07ad399a986b12e8629f18b225f53be6029aa69236411331694596f44dc0e0
MD5 dfd760f0e38e04a3029b1f4158e26f61
BLAKE2b-256 9baaca70646f558d92d0bd12b7f7deb6641ae690046c88c5c5fa2ad772071000

See more details on using hashes here.

Supported by

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