Mercurial > pylearn
changeset 371:22463a194c90
Update doc
author | Joseph Turian <turian@gmail.com> |
---|---|
date | Mon, 07 Jul 2008 01:57:49 -0400 |
parents | a1bbcde6b456 |
children | 75bab24bb2d8 |
files | sparse_random_autoassociator/main.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/sparse_random_autoassociator/main.py Mon Jul 07 01:54:46 2008 -0400 +++ b/sparse_random_autoassociator/main.py Mon Jul 07 01:57:49 2008 -0400 @@ -7,10 +7,10 @@ h = sigmoid(dot(x, w1) + b1) y = sigmoid(dot(h, w2) + b2) - We assume that most of the inputs are zero, and hence that we can - separate x into xnonzero, x's nonzero components, and a xzero, - a sample of the zeros. (We randomly without replacement choose - ZERO_SAMPLE_SIZE zero columns.) + We assume that most of the inputs are zero, and hence that + we can separate x into xnonzero, x's nonzero components, and + xzero, a sample of the zeros. We sample---randomly without + replacement---ZERO_SAMPLE_SIZE zero columns from x. The desideratum is that every nonzero entry is separated from every zero entry by margin at least MARGIN.