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 | Provenance | Actions |
|---|---|---|---|---|
| correlation-pearson-0.0.1.tar.gz | 1.3 kB | Without provenance | Details for correlation-pearson-0.0.1.tar.gz |
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 |
Security for correlation-pearson 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.