Regarding the graded lab from C1_W2: I’m getting the correct values for every expected output, but the checker is throwing errors for both questions. From what I gathered from other threads, I am not supposed to post my code here. However, I feel like I should mention I’ve used numpy’s sum function and tried to go for the vector approach. (I just had a Linear Algebra course and an R course in university - so I’m trying to translate what I learned there to python/numpy). I gather that this might result in some problems.
Q1:
Q2:
Please get back to me, I really want to figure out what I’ve done wrong here.