SkillAgentSearch skills...

CorrCoef

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

Install / Use

/learn @UP-RS-ESP/CorrCoef
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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)

Related Skills

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated1y ago
Forks2

Languages

C

Security Score

70/100

Audited on Nov 15, 2024

No findings