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 hashes)

Uploaded Source

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