Skip to content

Commit bba82fb

Browse files
committed
Update mlp.py
Fixed misspelling of "sorted"
1 parent cdfcde0 commit bba82fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/mlp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def test_mlp(learning_rate=0.01, L1_reg=0.00, L2_reg=0.0001, n_epochs=1000,
292292
)
293293

294294
# start-snippet-5
295-
# compute the gradient of cost with respect to theta (sotred in params)
295+
# compute the gradient of cost with respect to theta (sorted in params)
296296
# the resulting gradients will be stored in a list gparams
297297
gparams = [T.grad(cost, param) for param in classifier.params]
298298

0 commit comments

Comments
 (0)