Skip to content

Commit 3a3fb4d

Browse files
author
Razvan Pascanu
committed
I rerun the Sda tests as a sanity check to all the changes that have been made .. and updated the results. I did not get the time though to look into running the SdA with parameters such that you get relly good result (like the ones used by Isabelle )
1 parent 76a57eb commit 3a3fb4d

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

code/SdA.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def test_score():
279279

280280

281281

282-
def test_SdA( finetune_lr = 0.1, pretraining_epochs = 2, \
282+
def test_SdA( finetune_lr = 0.1, pretraining_epochs = 15, \
283283
pretrain_lr = 0.1, training_epochs = 1000, \
284284
dataset='mnist.pkl.gz'):
285285
"""
@@ -322,7 +322,7 @@ def test_SdA( finetune_lr = 0.1, pretraining_epochs = 2, \
322322
print '... building the model'
323323
# construct the stacked denoising autoencoder class
324324
sda = SdA( numpy_rng = numpy_rng, n_ins = 28*28,
325-
hidden_layers_sizes = [100,100,100],
325+
hidden_layers_sizes = [1000,1000,1000],
326326
n_outs = 10)
327327

328328

doc/SdA.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -427,9 +427,9 @@ The user can run the code by calling:
427427
python code/SdA.py
428428

429429
By default the code runs 15 pre-training epochs for each layer, with
430-
a corruption level of 0.1 and a learning rate of 0.1. Pre-training takes
431-
78.88 minutes. Fine-tuning is completed after 32 epochs in 65.89
432-
minutes and results in a validation score of 1.7 %, with a test
433-
performace of 1.65 %.
430+
a corruption level of 0.2 and a learning rate of 0.1. Pre-training takes
431+
80.63 minutes. Fine-tuning is completed after 48 epochs in 97.18
432+
minutes and results in a validation score of 1.63 %, with a test
433+
performace of 1.68 %.
434434

435435

0 commit comments

Comments
 (0)