The step 3 of the section "Training algorithm" (http://en.wikipedia.org/wiki/Restricted_Boltzmann_machine) says
From h, sample a reconstruction v' of the visible units, then resample the hidden activations h' from this.
I dont understand how to code the sampling. Please, be patient and explain it to me.
[link][4 comments]