Neural Network Vectorization

From Ufldl

Jump to: navigation, search
(Sparse autoencoder)
Line 129: Line 129:
<syntaxhighlight>
<syntaxhighlight>
% Sparsity Penalty Delta
% Sparsity Penalty Delta
-
sparsity_delta = - rho / rho_hat + (1 - rho) / rho_hat;
+
sparsity_delta = - rho ./ rho_hat + (1 - rho) ./ rho_hat;
for i=1:m,
for i=1:m,
   ...
   ...

Revision as of 14:34, 3 May 2011

Personal tools