Pearson product-moment correlation coefficient. About algorithm https://en.wikipedia.org/wiki/Pearson_product-moment_correlation_coefficient
Install
pip install correlation-pearson
Example
from correlation_pearson.code import CorrelationPearson
dmitry = [1, 2, 3, 5, 7, 8]
joseph = [1, 3, 4, 5, 7, 9]
correlation = CorrelationPearson()
print correlation.result(dmitry, joseph)
0.981460802132
Metadata
Release files for correlation-pearson 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| correlation-pearson-0.0.1.tar.gz | 1.3 kB | Details |
Release files / correlation-pearson-0.0.1.tar.gz
| Download URL | correlation-pearson-0.0.1.tar.gz |
|---|---|
| Size | 1.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9f04ba0ff76a227f662ef11996c6eb8db65b71e2e5d53adec81826ca718e3c4
|
|
BLAKE2b-256 checksum How to use checksums |
0c22a6b60d4d8c3de0cc6be91f030a38889e3f98a1c27b3ae74c239c52a07239
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |