Skip to main content

UNKNOWN

Project description

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

Project details


Download files

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

Source Distribution

correlation-pearson-0.0.1.tar.gz (1.3 kB view details)

Uploaded Source

File details

Details for the file correlation-pearson-0.0.1.tar.gz.

File metadata

File hashes

Hashes for correlation-pearson-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e9f04ba0ff76a227f662ef11996c6eb8db65b71e2e5d53adec81826ca718e3c4
MD5 478ba790361ac6e7ce16e35a65c39b39
BLAKE2b-256 0c22a6b60d4d8c3de0cc6be91f030a38889e3f98a1c27b3ae74c239c52a07239

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page