[theano-users] gibbs sampling using theano scan for Replicated Softmax Model (RSM)

2017-01-09 Thread krenova Math
Hi, I've been trying to modify deeplearning.net's tutorial on RBM to create a RSM layer but i am struggling with theano's scan function to simulate multinomial random variables. I find theano's scan function difficult to master. Was hoping that someone can help identify where I went wrong with

[theano-users] Re: Save and load MLP model

2017-01-09 Thread krenova Math
Hi Desy, I faced this issue before. One way to do this is to save and pickle all the weights. A good reference would be to download and study the codes from the following: https://sites.google.com/a/chalearn.org/automl/general-mnist---cnn-example On Tuesday, January 10, 2017 at 1:22:22 PM UTC+8

[theano-users] Re: gibbs sampling using theano scan for Replicated Softmax Model (RSM)

2017-01-15 Thread krenova Math
For those who are interested, here is one solution import numpy as np import theano from theano import tensor as T theano_rng = T.shared_randomstreams.RandomStreams(1234) W_values = np.array([[1,1,1],[1,1,1]], dtype=theano.config.floatX).T #3 visibles and 2 hidden bvis_values = np.array([1,1,1],

[theano-users] Re: Save and load MLP model

2017-01-15 Thread krenova Math
rote: > > Thanks for the solution .. > but I had a little trouble downloading the dataset, the link is broken, is > there any other links? > > Pada Selasa, 10 Januari 2017 12.47.20 UTC+7, krenova Math menulis: >> >> Hi Desy, >> >> I faced this issue before. >>