Skip to content

Python C-extension for memory efficient and multithreaded Pearson product-moment correlation coefficient estimation using OpenMP

License

Notifications You must be signed in to change notification settings

UP-RS-ESP/CorrCoef

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CorrCoef

Python C-extension for memory efficient and multithreaded Pearson product-moment correlation coefficient estimation using OpenMP.

Install

git clone https://github.com/Rheinwalt/CorrCoef.git
cd CorrCoef
sudo python setup.py install

Example

An example using random data for num = 4 time series of length len = 100 using as many threads as possible:

import numpy as np
import CorrCoef

num = 4
len = 100
data = np.random.random((num, len))
corr = CorrCoef.Pearson(data)

About

Python C-extension for memory efficient and multithreaded Pearson product-moment correlation coefficient estimation using OpenMP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published