CNN - Convolutional neural network class

版本 (612.6 KB) 作者: Mihail Sirotenko
This project provides matlab class for implementation of convolutional neural networks.

42.2K 次下载

更新时间 2012/10/24


NOTE: Next versions of this library is hosted at
The reason is that now it's rather C++/CUDA library with Matlab front-end than a Matlab library.

This project provides matlab class for implementation of convolutional neural networks. This networks was developed by Yann LeCun and have sucessfully used in many practical applications, such as handwritten digits recognition, face detection, robot navigation and others (see references for more info). Because of some architectural features of convolutional networks, such as weight sharing it is imposible to implement it using Matlab Neural Network Toolbox without it's source modifications. That's why this class works almost independently from NN toolbox (coming soon full independence).

This release includes sample of handwritten digits recognition using CNN. If you just want to try it run cnet_tool. You'll see a simple GUI. It loads pretrained convolutional neural net from cnet.mat and recognizes image of digit either painted in painting area or downloaded from MNIST database.

Further information about the library can be found here:
and here:


Mihail Sirotenko (2023). CNN - Convolutional neural network class (, MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007a
Windows macOS Linux

启发作品: myCNN

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明

readMNIST.m script improved to explicitly check if MNIST library is exist and located in MNIST folder.

Description changed: added the notice about future versions of library.

Matlab 2012a compatibility issues resolved. Dependency from NN toolbox removed.

Compatibility with Matlab 2010 issue fixed (Thanks to Silvio Filipe)

Fixed bug with extra output error in non-cuda training example

1. Support of CUDA-accelerated simulation and training of convolutional neural networks;
2. GUI added, providing RMSE, MCR plots;
3. Ability to choose from 3 training modes added.
See changelog.txt for more.