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

资源简介

MatlabReadMNIST是用来从train-labels-idx1-ubyte,train-images-idx3-ubyte,t10k-labels-idx1-ubyte,t10k-images-idx3-ubyte中获取数据的(已经获取好了),只要运行ceshi.m就可以了,修改ceshi.m读入的图片就可以识别不同的图片,自己提供输入图片也可以,不过要注意输入图片的大小要是28*28

资源截图

代码片段和文件信息

% nnceshi   网络测试与检测部分
clear
clc

load mnist_uint8;
load dbnnntrain nn;
test_x =double(test_x)  / 255;
test_y = double(test_y);

[er bad] = nntest(nn test_x test_y);
perf=mse(er)
% 计算测试误差
% 对训练后的网络进行测试,net:训练完成了的网络,P_test:测试样本的特征向量,Y:神经的输出网络
I = imread(‘TrainImage_00003.bmp‘);
% 读入待辨认的数字图片,检测网络
ptest = inputvar3(I);
ptest = double(ptest)/255;
% 调用特征提取函数提取数据特征
Y = nnpredict(nn ptest);
Num=Y-1;
NO = sprintf(‘图片中的数字为 :%d\n‘Num);
msgbox(NO‘数字图片识别结果‘)

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

     文件        579  2015-06-25 22:29  MatlabReadMNIST\ceshi.m

     文件    2048750  2015-06-25 15:55  MatlabReadMNIST\dbnnntrain.mat

     文件        249  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\.travis.yml

     文件       1219  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CAE\caeapplygrads.m

     文件        917  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CAE\caebbp.m

     文件       1011  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CAE\caebp.m

     文件        259  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CAE\caedown.m

     文件        754  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CAE\caeexamples.m

     文件       3618  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CAE\caenumgradcheck.m

     文件        845  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CAE\caesdlm.m

     文件       1148  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CAE\caetrain.m

     文件        489  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CAE\caeup.m

     文件        173  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CAE\max3d.m

     文件       1937  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CAE\scaesetup.m

     文件        270  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CAE\scaetrain.m

     文件        575  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CNN\cnnapplygrads.m

     文件       2141  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CNN\cnnbp.m

     文件       1774  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CNN\cnnff.m

     文件       3430  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CNN\cnnnumgradcheck.m

     文件       2020  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CNN\cnnsetup.m

     文件        193  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CNN\cnntest.m

     文件        845  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CNN\cnntrain.m

     文件        544  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\CONTRIBUTING.md

     文件        744  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\create_readme.sh

     文件   14735220  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\data\mnist_uint8.mat

     文件        754  2015-06-10 16:00  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\DBN\dbnsetup.m

     文件        238  2015-06-10 16:10  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\DBN\dbntrain.m

     文件        425  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\DBN\dbnunfoldtonn.m

     文件         90  2014-05-11 05:46  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\DBN\rbmdown.m

     文件       1540  2015-06-11 02:14  MatlabReadMNIST\DeepLearnToolbox-master\DeepLearnToolbox-master\DBN\rbmtrain.m

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

评论

共有 条评论