卷积神经网络(CNN)学习笔记3:Matlab代码理解

近期正在学习卷积神经网络,大致的原理在之前参考前辈们经验,转载的两个笔记中已经做了简要梳理,下边就Github中的DeepLearnToolbox中的CNN的代码进行理解和实现讲解
参考代码来源:[CNN卷积神经网络的Matlab实现](https://github.com/rasmusbergpalm/DeepLearnToolbox)

网络结构图:
这里写图片描述

打开路径\tests\test_example_cnn.m

function test_example_CNN
clc,
clear;
addpath D:\matlab文档\DeepLearnToolbox\data\ %按照文档所在路径进行加载 
addpath D:\matlab文档\DeepLearnToolbox\CNN\  
addpath D:\matlab文档\DeepLearnToolbox\util\  
load mnist_uint8;  %加载训练、测试数据

train_x = double(reshape(train_x',28,28,60000))/255

你可能感兴趣的:(deep,learning,神经网络,matlab,cnn)