• 大小: 50KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-07-04
  • 语言: 其他
  • 标签: real-value  RBM  

资源简介

Implicit mixtures of Conditional Restricted Boltzmann Machines代码,主要是为了分析实值RBM

资源截图

代码片段和文件信息

function [fexphidinp] = crbmfe(datavishideffhidbiaseffvisbias)

%data is the current setting of the visible variables
%if there are multiple rows we return free energy for each row
%returns free energy (negative log probability)
%also returns exphidinp so we don‘t need to call exp again
%(e.g. for computing sigmoid)
[numcasesnumdims] = size(data);

mismatch = data - effvisbias;
visterm = sum(mismatch.^22)/2; %sum over dimensions assume sd is 1

%Term calculated by summing over hiddens
hidinp = data*vishid + effhidbias;
exphidinp = exp(hidinp); %cache this computation
hidterm = log(1 + exphidinp);
hidterm = sum(hidterm2); %sum over hiddens

f = visterm - hidterm;

% %now for the gradients with respect to each dim of visible

% poshidprobs = 1./(1 + exp(-hidinp));
% topdown = w‘*poshidprobs; %total input from hiddens to each unit

% df = mismatch - topdown;

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-06-26 02:38  imCRBM-master\
     文件           4  2012-06-26 02:38  imCRBM-master\.gitignore
     目录           0  2012-06-26 02:38  imCRBM-master\Motion\
     文件        1649  2012-06-26 02:38  imCRBM-master\Motion\RotMat2Euler.m
     文件        1235  2012-06-26 02:38  imCRBM-master\Motion\batchConvertBVH.m
     文件        1062  2012-06-26 02:38  imCRBM-master\Motion\batchConvertCMU.m
     文件        1195  2012-06-26 02:38  imCRBM-master\Motion\bvh2expmap.m
     文件         982  2012-06-26 02:38  imCRBM-master\Motion\dropframes.m
     文件        3165  2012-06-26 02:38  imCRBM-master\Motion\euler2expmap.m
     文件        5185  2012-06-26 02:38  imCRBM-master\Motion\exp2xyz.m
     文件        2108  2012-06-26 02:38  imCRBM-master\Motion\expModify.m
     文件        3597  2012-06-26 02:38  imCRBM-master\Motion\expPlayData.m
     文件        2036  2012-06-26 02:38  imCRBM-master\Motion\expVisualise.m
     文件         560  2012-06-26 02:38  imCRBM-master\Motion\expmap2rotmat.m
     文件        1149  2012-06-26 02:38  imCRBM-master\Motion\postprocess.m
     文件        4052  2012-06-26 02:38  imCRBM-master\Motion\postprocess1.m
     文件        9866  2012-06-26 02:38  imCRBM-master\Motion\postprocess2.m
     文件        7474  2012-06-26 02:38  imCRBM-master\Motion\preprocess1.m
     文件        5185  2012-06-26 02:38  imCRBM-master\Motion\preprocess2.m
     文件        2964  2012-06-26 02:38  imCRBM-master\Motion\preprocess2_test.m
     文件         713  2012-06-26 02:38  imCRBM-master\Motion\quat2expmap.m
     文件        1163  2012-06-26 02:38  imCRBM-master\Motion\rotationMatrix.m
     文件         148  2012-06-26 02:38  imCRBM-master\Motion\rotmat2expmap.m
     文件         635  2012-06-26 02:38  imCRBM-master\Motion\rotmat2quat.m
     文件         421  2012-06-26 02:38  imCRBM-master\Motion\skelConnectionMatrix.m
     文件        3872  2012-06-26 02:38  imCRBM-master\README.md
     文件         879  2012-06-26 02:38  imCRBM-master\crbmfe.m
     文件        3667  2012-06-26 02:38  imCRBM-master\demo_imcrbm_mit.m
     文件        4920  2012-06-26 02:38  imCRBM-master\demo_imcrbm_mit_labels.m
     文件        3857  2012-06-26 02:38  imCRBM-master\genmix.m
     文件        1687  2012-06-26 02:38  imCRBM-master\make_mit_walk_jog.m
............此处省略5个文件信息

评论

共有 条评论