Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update DBN.py
minor fix on the documentation of field names
  • Loading branch information
renaud committed Aug 7, 2014
commit 00e98ff92d743d35f83434af006148af9559abdb
8 changes: 4 additions & 4 deletions code/DBN.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def __init__(self, numpy_rng, theano_rng=None, n_ins=784,
:type n_ins: int
:param n_ins: dimension of the input to the DBN

:type n_layers_sizes: list of ints
:param n_layers_sizes: intermediate layers size, must contain
:type hidden_layers_sizes: list of ints
:param hidden_layers_sizes: intermediate layers size, must contain
at least one value

:type n_outs: int
Expand Down Expand Up @@ -263,8 +263,8 @@ def test_DBN(finetune_lr=0.1, pretraining_epochs=100,

This is demonstrated on MNIST.

:type learning_rate: float
:param learning_rate: learning rate used in the finetune stage
:type finetune_lr: float
:param finetune_lr: learning rate used in the finetune stage
:type pretraining_epochs: int
:param pretraining_epochs: number of epoch to do pretraining
:type pretrain_lr: float
Expand Down