资源简介

SAE,CNN,DBN,NN,CAE, Deep Learning, AI,Machine Learning

资源截图

代码片段和文件信息

function cae = caeapplygrads(cae)
    cae.sv = 0;
    for j = 1 : numel(cae.a)
        for i = 1 : numel(cae.i)
%             cae.vik{i}{j} = cae.momentum * cae.vik{i}{j} + cae.alpha ./ (cae.sigma + cae.ddik{i}{j}) .* cae.dik{i}{j};
%             cae.vok{i}{j} = cae.momentum * cae.vok{i}{j} + cae.alpha ./ (cae.sigma + cae.ddok{i}{j}) .* cae.dok{i}{j};
            cae.vik{i}{j} = cae.alpha * cae.dik{i}{j};
            cae.vok{i}{j} = cae.alpha * cae.dok{i}{j};
            cae.sv = cae.sv + sum(cae.vik{i}{j}(:) .^ 2);
            cae.sv = cae.sv + sum(cae.vok{i}{j}(:) .^ 2);

            cae.ik{i}{j} = cae.ik{i}{j} - cae.vik{i}{j};
            cae.ok{i}{j} = cae.ok{i}{j} - cae.vok{i}{j};
        end
%         cae.vb{j} = cae.momentum * cae.vb{j} + cae.alpha / (cae.sigma + cae.ddb{j}) * cae.db{j};
        cae.vb{j} = cae.alpha * cae.db{j};
        cae.sv = cae.sv + sum(cae.vb{j} .^ 2);

        cae.b{j} = cae.b{j} - cae.vb{j};
    end

    for i = 1 : numel(cae.o)
%         cae.vc{i} = cae.momentum * cae.vc{i} + cae.alpha / (cae.sigma + cae.ddc{i}) * cae.dc{i};
        cae.vc{i} = cae.alpha * cae.dc{i};
        cae.sv = cae.sv + sum(cae.vc{i} .^ 2);

        cae.c{i} = cae.c{i} - cae.vc{i};
    end
end

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-07-09 11:43  DeepLearnToolbox-master\
     目录           0  2013-07-09 11:43  DeepLearnToolbox-master\CAE\
     文件        1219  2013-07-09 11:43  DeepLearnToolbox-master\CAE\caeapplygrads.m
     文件         917  2013-07-09 11:43  DeepLearnToolbox-master\CAE\caebbp.m
     文件        1011  2013-07-09 11:43  DeepLearnToolbox-master\CAE\caebp.m
     文件         259  2013-07-09 11:43  DeepLearnToolbox-master\CAE\caedown.m
     文件         764  2013-07-09 11:43  DeepLearnToolbox-master\CAE\caeexamples.m
     文件        3618  2013-07-09 11:43  DeepLearnToolbox-master\CAE\caenumgradcheck.m
     文件         845  2013-07-09 11:43  DeepLearnToolbox-master\CAE\caesdlm.m
     文件        1148  2013-07-09 11:43  DeepLearnToolbox-master\CAE\caetrain.m
     文件         489  2013-07-09 11:43  DeepLearnToolbox-master\CAE\caeup.m
     文件         173  2013-07-09 11:43  DeepLearnToolbox-master\CAE\max3d.m
     文件        1937  2013-07-09 11:43  DeepLearnToolbox-master\CAE\scaesetup.m
     文件         270  2013-07-09 11:43  DeepLearnToolbox-master\CAE\scaetrain.m
     目录           0  2013-07-09 11:43  DeepLearnToolbox-master\CNN\
     文件         575  2013-07-09 11:43  DeepLearnToolbox-master\CNN\cnnapplygrads.m
     文件        2140  2013-07-09 11:43  DeepLearnToolbox-master\CNN\cnnbp.m
     文件        1774  2013-07-09 11:43  DeepLearnToolbox-master\CNN\cnnff.m
     文件        3590  2013-07-09 11:43  DeepLearnToolbox-master\CNN\cnnnumgradcheck.m
     文件        1765  2013-07-09 11:43  DeepLearnToolbox-master\CNN\cnnsetup.m
     文件         193  2013-07-09 11:43  DeepLearnToolbox-master\CNN\cnntest.m
     文件         845  2013-07-09 11:43  DeepLearnToolbox-master\CNN\cnntrain.m
     目录           0  2013-07-09 11:43  DeepLearnToolbox-master\DBN\
     文件         557  2013-07-09 11:43  DeepLearnToolbox-master\DBN\dbnsetup.m
     文件         232  2013-07-09 11:43  DeepLearnToolbox-master\DBN\dbntrain.m
     文件         425  2013-07-09 11:43  DeepLearnToolbox-master\DBN\dbnunfoldtonn.m
     文件          90  2013-07-09 11:43  DeepLearnToolbox-master\DBN\rbmdown.m
     文件        1328  2013-07-09 11:43  DeepLearnToolbox-master\DBN\rbmtrain.m
     文件          89  2013-07-09 11:43  DeepLearnToolbox-master\DBN\rbmup.m
     文件        1313  2013-07-09 11:43  DeepLearnToolbox-master\LICENSE
     目录           0  2013-07-09 11:43  DeepLearnToolbox-master\NN\
............此处省略88个文件信息

评论

共有 条评论