Gagniuc/Pearson-correlation-coefficient
This example calculates the Pearson correlation coefficient (r), by measuring the linear relationship between two arrays. The use of means and then the accumulators, shows how covariance and variance combine into (r), with results from -1 to +1. Implemented in Python, MATLAB, and JavaScript.
正在读取项目信息…