nprizeadditions icon indicating copy to clipboard operation
nprizeadditions copied to clipboard

small bug was found

Open jianguda opened this issue 9 years ago • 2 comments

line 225 in rbm.c should be fixed from visbiases[j][i] = 0.02 * randn() - 0.004; to visbiases[j][i] = log( ((double)moviercount[j*SOFTMAX+i]) / ((double) mtot) );?

jianguda avatar Feb 15 '16 01:02 jianguda

Hmmm, possibly. Does that appear to work better? I think I found random init working better.

I've realized a while ago that my softmax calc was off given better understanding of intent.

gbildson avatar Feb 15 '16 02:02 gbildson

i didn't note the change but it really worked better

jianguda avatar Feb 15 '16 07:02 jianguda