资源简介
卷积神经网络经典代码代码,可以直接运行。卷积神经网络MATLAB代码
代码片段和文件信息
function A = allcomb(varargin)
% ALLCOMB - All combinations
% B = ALLCOMB(A1A2A3...AN) returns all combinations of the elements
% in A1 A2 ... and AN. B is P-by-N matrix is which P is the product
% of the number of elements of the N inputs.
% Empty inputs yields an empty matrix B of size 0-by-N. Note that
% previous versions (1.x) simply ignored empty inputs.
%
% Example:
% allcomb([1 3 5][-3 8][0 1]) ;
% 1 -3 0
% 1 -3 1
% 1 8 0
% ...
% 5 -3 1
% 5 8 0
% 5 8 1
%
% ALLCOMB(A1..AN‘matlab‘) causes the first column to change fastest.
% This is more consistent with matlab indexing. Example:
% allcomb(1:23:45:6‘matlab‘) %->
% 1 3 5
% 2 3 5
% 1 4 5
% ...
% 2 4 6
%
% This functionality is also known as the cartesian product.
%
% See also NCHOOSEK PERMS
% and COMBN (Matlab Central FEX)
% for Matlab R13+
% version 2.1 (feb 2011)
% (c) Jos van der Geest
% email: jos@jasen.nl
% History
% 1.1 (feb 2006) removed minor bug when entering empty cell arrays;
% added option to let the first input run fastest (suggestion by JD)
% 1.2 (jan 2010) using ii as an index on the left-hand for the multiple
% output by NDGRID. Thanks to Jan Simon for showing this little trick
% 2.0 (dec 2010). Bruno Luong convinced me that an empty input should
% return an empty output.
% 2.1 (feb 2011). A cell as input argument caused the check on the last
% argument (specifying the order) to crash.
error(nargchk(1Infnargin)) ;
% check for empty inputs
q = ~cellfun(‘isempty‘varargin) ;
if any(~q)
warning(‘ALLCOMB:EmptyInput‘‘Empty inputs result in an empty output.‘) ;
A = zeros(0nargin) ;
else
ni = sum(q) ;
argn = varargin{end} ;
ischar(argn)
if ischar(argn) && (strcmpi(argn‘matlab‘) || strcmpi(argn‘john‘))
% based on a suggestion by JD on the FEX
ni = ni-1 ;
ii = 1:ni ;
q(end) = 0 ;
else
% enter arguments backwards so last one (AN) is changing fastest
ii = ni:-1:1 ;
end
if ni==0
A = [] ;
else
args = varargin(q) ;
if ~all(cellfun(‘isclass‘args‘double‘))
error(‘All arguments should be arrays of doubles‘) ;
end
if ni==1
A = args{1}(:) ;
else
% flip using ii if last column is changing fastest
[A{ii}] = ndgrid(args{ii}) ;
% concatenate
A = reshape(cat(ni+1A{:})[]ni) ;
end
end
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-09-09 11:40 cnn\
文件 2618 2014-05-11 20:46 cnn\allcomb.m
文件 575 2014-05-11 20:46 cnn\cnnapplygrads.m
文件 2141 2014-05-11 20:46 cnn\cnnbp.m
文件 1774 2014-05-11 20:46 cnn\cnnff.m
文件 3430 2014-05-11 20:46 cnn\cnnnumgradcheck.m
文件 2020 2014-05-11 20:46 cnn\cnnsetup.m
文件 193 2014-05-11 20:46 cnn\cnntest.m
文件 845 2014-05-11 20:46 cnn\cnntrain.m
文件 1958 2014-05-11 20:46 cnn\expand.m
文件 208 2014-05-11 20:46 cnn\flicker.m
文件 80 2014-05-11 20:46 cnn\flipall.m
文件 543 2014-05-11 20:46 cnn\fliplrf.m
文件 576 2014-05-11 20:46 cnn\flipudf.m
文件 313 2014-05-11 20:46 cnn\im2patches.m
文件 108 2014-05-11 20:46 cnn\isOctave.m
文件 1895 2014-05-11 20:46 cnn\makeLMfilters.m
文件 14735220 2014-05-11 20:46 cnn\mnist_uint8.mat
文件 169 2014-05-11 20:46 cnn\myOctaveVersion.m
文件 97 2014-05-11 20:46 cnn\normalize.m
文件 242 2014-05-11 20:46 cnn\patches2im.m
文件 283 2014-05-11 20:46 cnn\randcorr.m
文件 2083 2014-05-11 20:46 cnn\randp.m
文件 49 2014-05-11 20:46 cnn\rnd.m
文件 48 2014-05-11 20:46 cnn\sigm.m
文件 126 2014-05-11 20:46 cnn\sigmrnd.m
文件 256 2014-05-11 20:46 cnn\softmax.m
文件 54 2014-05-11 20:46 cnn\tanh_opt.m
文件 981 2014-05-11 20:46 cnn\test_example_CNN.m
文件 1072 2014-05-11 20:46 cnn\visualize.m
文件 183 2014-05-11 20:46 cnn\whiten.m
............此处省略1个文件信息
- 上一篇:matlab图像检索
- 下一篇:卷积神经网络完成程序matlab.zip
相关资源
- 卷积神经网络完成程序matlab.zip
- 卷积神经网络经典代码
- 卷积神经网络的matlab程序
- 卷积神经网络matlab代码下载153575
- 卷积神经网络CNN算法实现 matlab
- 深度学习的matlab代码
- MNIST手写字 Matlab程序,包含BP和CNN程序
- matlab手写卷积神经网络人脸识别
- CNN卷积神经网络的MATLAB程序解释
- 基于多域学习卷积神经网络的目标跟
- RNN-LSTM 卷积神经网络使用 Matlab 实现
- CNN卷积神经网络
- 卷积神经网络CNN代码解析-matlab.doc
- Matlab版本的卷积神经网络案例
- RNN-LSTM 卷积神经网络 Matlab 实现,简单
- 卷积神经网络matlab代码
- 卷积神经网络的字符识别技术算法
- 卷积神经网络的模式分类器
- RNN-LSTM卷积神经网络Matlab实现
- 卷积神经网络的GPU实现
- matlab版的卷积神经网络
- 一些深度学习的工具包和例程
- 卷积神经网络在MATLAB实现
- 对卷积神经网络算法进行大量图像数
- 含神经网络、卷积神经网络、深度信
- 卷积神经网络实现人脸识别
- CNN 深度学习的卷积神经网络的MATLAB代
- Pattern-Classification 此文档包含对卷积神
- SceneTextCNN_demo.tar 端至端卷积神经网络
- CNN 本程序实现深度学习的卷积神经网
评论
共有 条评论