Which function is used to compute the correlation matrix of multiple arrays in NumPy?
Correct answer
A. np.corrcoef()
17 views
A. np.corrcoef()
17 views
The np.corrcoef() function computes the correlation matrix of multiple arrays. It calculates the correlation coefficients between pairs of variables, providing insights into their linear relationship.
Not sure why the answer is A? Ask here and get an explanation.