# Talk:Neural Network Vectorization

### From Ufldl

In the final code section, it reads:

% Sparsity Penalty Delta
sparsity_delta = - rho ./ rho_hat + (1 - rho) ./ rho_hat;

Shouldn't the last term's denominator be (1 - rho_hat)?

---

jngiam: Thats right, thanks for pointing that out; we've since fixed it.

Retrieved from "http://deeplearning.stanford.edu/wiki/index.php/Talk:Neural_Network_Vectorization"

##### Views

- Page
- Discussion
- View source
- History

##### Personal tools

- Log in

##### Search

##### Toolbox

- What links here
- Related changes
- Special pages
- Printable version
- Permanent link