Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions questions/37_calculate-correlation-matrix/learn.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ $$
$$

#### Where:
- \( \text{cov}(X, Y) \) is the covariance between \( X \) and \( Y \).
- \( \sigma_X \) and \( \sigma_Y \) are the standard deviations of \( X \) and \( Y \), respectively.
- $$ \text{cov}(X, Y) $$ is the covariance between \( X \) and \( Y \).
- $$ \sigma_X $$ and $$ \sigma_Y $$ are the standard deviations of \( X \) and \( Y \), respectively.

### Problem Overview
In this problem, you will write a function to calculate the correlation matrix for a given dataset. The function will take in a 2D numpy array \( X \) and an optional 2D numpy array \( Y \). If \( Y \) is not provided, the function will calculate the correlation matrix of \( X \) with itself.
Loading