From 61e27d5fe7a7de1e1b58f0a1612484fbf4b2c049 Mon Sep 17 00:00:00 2001 From: mimi2626 <57355052+mimi2626@users.noreply.github.com> Date: Mon, 18 Aug 2025 15:19:50 +0300 Subject: [PATCH] Update learn.md not sure it works - but latex is not rendered correctly now for the "where" section - added "$$" --- questions/37_calculate-correlation-matrix/learn.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/questions/37_calculate-correlation-matrix/learn.md b/questions/37_calculate-correlation-matrix/learn.md index 83464ebc..920856ba 100644 --- a/questions/37_calculate-correlation-matrix/learn.md +++ b/questions/37_calculate-correlation-matrix/learn.md @@ -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.