[GoogleML] Python and Vectorization
Python and Vectorization More Vectorization Examples Vectorizing Logistic Regression X์ ์ฐจ์์ (nx, m) nx dim vector๊ฐ m(sample)๊ฐ ์๋ค! :) ์๋ํ๋ฉด x ๋ฐ์ดํฐ 1๊ฐ๋ฅผ ์ด๋ฒกํฐ๋ก, ์ธ๋ก๋ก stacking ํ์ผ๋ฏ๋ก, ์ธ๋ก ๋ฐฉํฅ์ผ๋ก๋ ์ฑ๋ถ๋ค (dim), ๊ฐ๋ก ๋ฐฉํฅ์ผ๋ก๋ m๊ฐ์ ์ํ๋ค์ด ์งํ Vectorizing Logistic Regression's Gradient Output ๋ฒกํฐํ ํ๋๋ผ๋, iteration loop๋ ํญ์ ํ์ํ๋ค. Broadcasting in Python Can you do this without explicit for-loop? A Note on Python/Numpy Vectors Qu..
2023.09.07