implementation help of Gaussian RBM in matlab
Show older comments
First i would like to know how to make visible layer to zero mean and unit variance.I have seen in few example they followed below way.but i couldnot understand
subtracting the corresponding data with its mean and divide it by standard division, my data becomes NaN.
I am new to matlab and Neural networks.
data= batchdata(:,:,batch);
mean_data=mean(data,1),data=bsxfun(data,mean_data);
std_data=std(data,[],1);
data=bsxfun(@rdivide,data,std_data);
i am not able to find the reason
can anybody help to clear this
1 Comment
Greg Heath
on 23 Nov 2013
"subtracting the corresponding data with its mean and divide it by standard division, my data becomes NaN."
Did it ever occur to you to post that code?
Accepted Answer
More Answers (0)
Categories
Find more on Univariate Discrete Distributions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!