From 1fb2e500ec08deecb997a8a313549b9f43e0693d Mon Sep 17 00:00:00 2001 From: Jia Xu Date: Sat, 26 Jan 2019 15:46:00 +0800 Subject: [PATCH] Fix the issue with examples in pcp function --- nbs/3. Background Removal with Robust PCA.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nbs/3. Background Removal with Robust PCA.ipynb b/nbs/3. Background Removal with Robust PCA.ipynb index 16e49e8..e8558c3 100644 --- a/nbs/3. Background Removal with Robust PCA.ipynb +++ b/nbs/3. Background Removal with Robust PCA.ipynb @@ -1199,7 +1199,7 @@ " Z = X - L - S\n", " Y += mu*Z; mu *= rho\n", " \n", - " examples.extend([S[140,:], L[140,:]])\n", + " examples.extend([S[:,140], L[:,140]])\n", " \n", " if m > mu_bar: m = mu_bar\n", " if converged(Z, d_norm): break\n",