Skip to main content

Random covariance generation

Project description

randomcov

Generating random covariance and correlation matrices.

Install

pip install randomcov 

or for latest

pip install git+https://github.com/microprediction/randomcov.git

Example

from randomcov import random_covariance_matrix
cov = random_covariance_matrix(n=50, corr_method='residuals', var_method='lognormal')

Motivation

To collect standard but also novel correlation and covariance generation methods, in order to better understand when some estimation methods work better than others in different contexts: such as the construction of machine learning model ensembles, combinations of forecasts, or financial portfolios.

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

randomcov-0.0.15.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

randomcov-0.0.15-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file randomcov-0.0.15.tar.gz.

File metadata

  • Download URL: randomcov-0.0.15.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for randomcov-0.0.15.tar.gz
Algorithm Hash digest
SHA256 2b2b9e38f2e3d2f506379bfd4f365a53e50e7cbb45e99e0aefaaa3ce2a094dbf
MD5 f5fa83bc9dd1d10290c47c35b535f02b
BLAKE2b-256 4b5cad70db07a975f258c76adfd9030d44a6d4fe97ed954ae9fd129f4f0519bc

See more details on using hashes here.

File details

Details for the file randomcov-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: randomcov-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for randomcov-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 5bab6b59c71a3f33034afac0c764cf9a710d8c1b1738425b937f5043fbe8f9b0
MD5 64ffd2d2669b040e5d51cbcd316f2440
BLAKE2b-256 0ef2d13d2154c4c1b8f02fc633d97b9aa56f42462973fe275ad2ad51e2364055

See more details on using hashes here.

Supported by

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