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