Skip to main content

PyCUDACov - A PyCuda Covariance Matrix Parallel Implementation

MIT License

Usage and Installation

Requires CUDA enviroment, nvcc > 8.

from sklearn.datasets import make_blobs
from sklearn.preprocessing import StandardScaler
from pandas import DataFrame
import numpy as np
from pycudacov import get_cov

# Generate test dataset
rows, cols = 16384, 1024 # samples, features
X, y = make_blobs(n_samples = rows, centers = 2, n_features = cols)
X_std = StandardScaler().fit_transform(X) # Optional
df = DataFrame(X_std)
df = df.astype(np.float32)

# Call to PyCUDA Kernel
covariance_matrix = get_cov(df.values)

Download files

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

Source Distribution

pycudacov-0.0.28.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

pycudacov-0.0.28-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file pycudacov-0.0.28.tar.gz.

File metadata

  • Download URL: pycudacov-0.0.28.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.5

File hashes

Hashes for pycudacov-0.0.28.tar.gz
Algorithm Hash digest
SHA256 129922067b90ad2e34c1b2ed497e1c7133beb2537de6286471816ea89bbeb4c1
MD5 6a6409006c5ee8f9c5bc6a0fa6807a3a
BLAKE2b-256 a2d479034784fa35145b8868a0f8b39374edbe8ee0fa49bdfcbed0c113658dbf

See more details on using hashes here.

File details

Details for the file pycudacov-0.0.28-py3-none-any.whl.

File metadata

  • Download URL: pycudacov-0.0.28-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.5

File hashes

Hashes for pycudacov-0.0.28-py3-none-any.whl
Algorithm Hash digest
SHA256 dc4825f6f0799a173c5b485ba24690d421ca622bc70e7cf132218b5e9f506bb8
MD5 e1f5c9f11c9f2855817ec99f20fc4fbc
BLAKE2b-256 3ec90465de16b8818fbedab9c967bf479f61b1fa168ff935d0a664b7dadc2b43

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