• 大小: 13.42MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-13
  • 语言: Matlab
  • 标签: 深度学习  

资源简介

2017Matlab_DeepLearning配套代码2017Matlab_DeepLearning配套代码

资源截图

代码片段和文件信息

function W = DeltaBatch(W X D)
  alpha = 0.9;
 
  dWsum = zeros(3 1);
   
  N = 4;  
  for k = 1:N
    x = X(k :)‘;
    d = D(k);
                        
    v = W*x;
    y = Sigmoid(v);
    
    e     = d - y;    
    delta = y*(1-y)*e;
    
    dW = alpha*delta*x;
    
    dWsum = dWsum + dW;
  end
  dWavg = dWsum / N;
  
  W(1) = W(1) + dWavg(1);
  W(2) = W(2) + dWavg(2);
  W(3) = W(3) + dWavg(3);
end

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    .......       677  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\contributing.md

    .......       412  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.2\DeltaBatch.m

    .......       331  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.2\DeltaSGD.m

    .......       332  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.2\DeltaXOR.m

    .......       686  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.2\SGDvsBatch.m

    .......        52  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.2\Sigmoid.m

    .......       260  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.2\TestDeltaBatch.m

    .......       320  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.2\TestDeltaSGD.m

    .......       320  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.2\TestDeltaXOR.m

    .......       441  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.3\BackpropCE.m

    .......       557  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.3\BackpropMmt.m

    .......       425  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.3\BackpropXOR.m

    .......       933  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.3\CEvsSSE.m

    .......        53  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.3\Sigmoid.m

    .......       413  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.3\TestBackpropCE.m

    .......       396  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.3\TestBackpropMmt.m

    .......       396  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.3\TestBackpropXOR.m

    .......       429  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.4\MultiClass.m

    .......      1001  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.4\RealMultiClass.m

    .......        56  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.4\rng.m

    .......        53  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.4\Sigmoid.m

    .......        63  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.4\Softmax.m

    .......      1171  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.4\TestMultiClass.m

    .......       861  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.5\DeepDropout.m

    .......       744  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.5\DeepReLU.m

    .......       177  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.5\Dropout.m

    .......        41  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.5\ReLU.m

    .......        53  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.5\Sigmoid.m

    .......        63  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.5\Softmax.m

    .......      1314  2017-05-18 02:56  matlab-deep-learning-master\matlab-deep-learning-master\Deep-Learning-for-Beginners-master\ch.5\TestDeepDropout.m

............此处省略81个文件信息

评论

共有 条评论