From 4a6317cf0f80319804be647d10b93c0f073b4461 Mon Sep 17 00:00:00 2001 From: Justin Lippi Date: Mon, 19 Jan 2015 17:53:55 -0800 Subject: [PATCH] make range match prints. --- optimization-1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optimization-1.md b/optimization-1.md index 59bbee2d..1d3d9eea 100644 --- a/optimization-1.md +++ b/optimization-1.md @@ -231,7 +231,7 @@ loss_original = CIFAR10_loss_fun(W) # the original loss print 'original loss: %f' % (loss_original, ) # lets see the effect of multiple step sizes -for step_size_log in [-5,-4,-3,-2,-1,0,1,2]: +for step_size_log in [-10, -9, -8, -7, -6, -5,-4,-3,-2,-1]: step_size = 10 ** step_size_log W_new = W - step_size * df # new position in the weight space loss_new = CIFAR10_loss_fun(W_new)