SlideShare una empresa de Scribd logo
1 de 1
Algorithmic Learning and Training with
Convolutional Neural Networks
Tanmay Ghai [1], Schuyler Eldridge[2],Ajay Joshi [3]
Evergreen Valley High School, 3300 Quimby Rd, San Jose, CA 95148 [1] ; Boston University,
8 St Marys St, Boston, MA 02215[2, 3]
1.http://www.uow.edu.au/~phung/docs/cnn-matlab/cnn-matlab.pdf
2.http://archive.ics.uci.edu/ml/datasets.html
3.http://www.mathworks.com/matlabcentral/fileexchange/38310-deep-learning-toolbox
4.http://andrew.gibiansky.com/blog/machine-learning/convolutional-neural-networks/
References
Convolutional Neural Networks have been of interest to
scientists ever since Yan LeCun’s extensive research on them in
the twentieth century. These networks are a form of artificial
feed-forward neural networks that are widely based on biological
processes and are known for being used in real world
applications such as image detection, recognition, and
classification. Here we have tried to train one such
implementation of a Convolutional Neural Network, provided
from the Deep Learning Toolbox, to see if in fact it can be trained
to distinguish between different images. Our work has been
conducted on the MATLAB platform and the data we have
chosen to train the CNN with has been selected from the UCI
Dataset Repository. The dataset consists of images of people
from Carnegie Mellon University with different facial expressions,
features, and orientations that the CNN should detect after being
trained. To train the CNN to be able to distinguish between
images, an algorithm called RPROP or Error Backpropagation
was utilized and from previous papers, the proposed success
rate was 97.6 percent. We are not proposing a certain rate of
success, we are just expecting, after execution, that the CNN is
able to distinguish amongst images with differences such as
sunglasses vs. no sunglasses, happy vs. sad expressions, and
facing left vs. facing right.
Abstract
I used about 100 images off of the UCI dataset
repository, including one of my own to test the
Convolutional Neural Network coded in MATLAB
after they had been trained.
I tested images that were different in facial
expressions(happy and sad) as well as images
that had sunglasses or not. The table below
shows the results for the accuracy of each
training algorithm as well as the execution time.
Introduction
Materials: MATLAB, datasets to test with from
the UCI data repository, and the Deep Learning
toolbox for CNN’s which can be found online.
1) RPROP –
2) Gradient Descent –
Methods and Materials
Overall the results were pretty conclusive the
Resilient Backpropagation is a better algorithm
than Gradient Descent when training and testing
Convolutional Neural Networks. Along with the
accuracy, the execution time of RPROP was
much less than that of Gradient Descent.
Some reasons to possibly explain why RPROP
is a better algorithm:
1) Requires no parameter tuning
2) Learning and adaptation only affected by the
sign of the partial derivative
3) Computer friendly and easy to code
4) Learning is equally spread over the network,
not just in one layer
5) RPROP is a fast learner compared to GD
This experiment only deals with two different
learning algorithms and RPROP turned out to be
the better one. However, there may still be better
ways to train Convolutional Neural Networks out
there.
ConclusionsAs Convolutional Neural Networks have become
of more and more interest in the past century,
scientists have been working on effective
methods to find real world applications for these
artificial feed-forward processes. CNN’s have
mainly been utilized in processes that deal with
image detection, recognition, and classification,
and we wanted to understand the theory behind
these networks as well as do some tests to see
if they can actually be trained to classify and
recognize different images
Convolutional Neural Networks are divided into
three layers: convolution, subsampling, and
output. In each layer versions of the input image
are created and altered. In this experiment we
tried to see the effects of using an algorithm
called Resilient Backpropagation versus an
algorithm called Gradient Descent.
Results
Figure 1. Picture of CNN Architecture.
Figure 2. Picture of one of the dataset
images
Chart 1. Bar graph for the results
0
10
20
30
40
50
60
70
80
90
100
RPROP GD
RPROP vs GD
Happy/Sad Sunglasses Execution Time Happy/Sad Execution Time Sunglasses
Figure 3: Basic Design of CNN’s
Algorith
m
Happy vs.
Sad
Sunglasse
s
Accuracy
Happy vs.
Sad
Accuracy
Sunglasse
s
Execution
Time
RPROP 100
images,
55 happy
45 sad
55 images
33
sunglasse
s
22 no
sunglasse
s
Reported
:
47 happy
53 sad
92 %
accuracy
Reported:
27
sunglasse
s and 28
no
sunglasse
s
89 %
accuracy
Happy vs.
Sad:
1 hour
and 42
minutes
Sunglasse
s: 45
minutes
and 22
seconds
Gradient
Descent
100
images
55 happy
45 sad
55 images
33
sunglasse
s
22 no
sunglasse
s
Reported:
40 happy
60 sad
85 %
accuracy
Reported:
24 happy
and 31
sad
84 %
accuracy
Happy vs.
Sad:
2 hours
and 57
minutes
Sunglasse
s: 3 hours
and 12
minutes

Más contenido relacionado

La actualidad más candente

syl_f99.doc
syl_f99.docsyl_f99.doc
syl_f99.docbutest
 
Neural Networks for Pattern Recognition
Neural Networks for Pattern RecognitionNeural Networks for Pattern Recognition
Neural Networks for Pattern RecognitionVipra Singh
 
Machine learning and big data
Machine learning and big dataMachine learning and big data
Machine learning and big dataPoo Kuan Hoong
 
Report: "MolGAN: An implicit generative model for small molecular graphs"
Report: "MolGAN: An implicit generative model for small molecular graphs"Report: "MolGAN: An implicit generative model for small molecular graphs"
Report: "MolGAN: An implicit generative model for small molecular graphs"Ryohei Suzuki
 
Pattern Recognition using Artificial Neural Network
Pattern Recognition using Artificial Neural NetworkPattern Recognition using Artificial Neural Network
Pattern Recognition using Artificial Neural NetworkEditor IJCATR
 
La résolution de problèmes à l'aide de graphes
La résolution de problèmes à l'aide de graphesLa résolution de problèmes à l'aide de graphes
La résolution de problèmes à l'aide de graphesData2B
 

La actualidad más candente (8)

syl_f99.doc
syl_f99.docsyl_f99.doc
syl_f99.doc
 
Neural Networks for Pattern Recognition
Neural Networks for Pattern RecognitionNeural Networks for Pattern Recognition
Neural Networks for Pattern Recognition
 
Machine learning and big data
Machine learning and big dataMachine learning and big data
Machine learning and big data
 
Report: "MolGAN: An implicit generative model for small molecular graphs"
Report: "MolGAN: An implicit generative model for small molecular graphs"Report: "MolGAN: An implicit generative model for small molecular graphs"
Report: "MolGAN: An implicit generative model for small molecular graphs"
 
Pattern Recognition using Artificial Neural Network
Pattern Recognition using Artificial Neural NetworkPattern Recognition using Artificial Neural Network
Pattern Recognition using Artificial Neural Network
 
Aw03402840286
Aw03402840286Aw03402840286
Aw03402840286
 
La résolution de problèmes à l'aide de graphes
La résolution de problèmes à l'aide de graphesLa résolution de problèmes à l'aide de graphes
La résolution de problèmes à l'aide de graphes
 
Spatio Temporal Data Mining
Spatio Temporal Data MiningSpatio Temporal Data Mining
Spatio Temporal Data Mining
 

Similar a Convolutional Neural Networks Research

PADDY CROP DISEASE DETECTION USING SVM AND CNN ALGORITHM
PADDY CROP DISEASE DETECTION USING SVM AND CNN ALGORITHMPADDY CROP DISEASE DETECTION USING SVM AND CNN ALGORITHM
PADDY CROP DISEASE DETECTION USING SVM AND CNN ALGORITHMIRJET Journal
 
A Parallel Framework For Multilayer Perceptron For Human Face Recognition
A Parallel Framework For Multilayer Perceptron For Human Face RecognitionA Parallel Framework For Multilayer Perceptron For Human Face Recognition
A Parallel Framework For Multilayer Perceptron For Human Face RecognitionCSCJournals
 
Image Segmentation and Classification using Neural Network
Image Segmentation and Classification using Neural NetworkImage Segmentation and Classification using Neural Network
Image Segmentation and Classification using Neural NetworkAIRCC Publishing Corporation
 
Image Segmentation and Classification using Neural Network
Image Segmentation and Classification using Neural NetworkImage Segmentation and Classification using Neural Network
Image Segmentation and Classification using Neural NetworkAIRCC Publishing Corporation
 
MULTI-LEVEL FEATURE FUSION BASED TRANSFER LEARNING FOR PERSON RE-IDENTIFICATION
MULTI-LEVEL FEATURE FUSION BASED TRANSFER LEARNING FOR PERSON RE-IDENTIFICATIONMULTI-LEVEL FEATURE FUSION BASED TRANSFER LEARNING FOR PERSON RE-IDENTIFICATION
MULTI-LEVEL FEATURE FUSION BASED TRANSFER LEARNING FOR PERSON RE-IDENTIFICATIONijaia
 
Predictive Metabonomics
Predictive MetabonomicsPredictive Metabonomics
Predictive MetabonomicsMarilyn Arceo
 
Noise-robust classification with hypergraph neural network
Noise-robust classification with hypergraph neural networkNoise-robust classification with hypergraph neural network
Noise-robust classification with hypergraph neural networknooriasukmaningtyas
 
Image compression and reconstruction using a new approach by artificial neura...
Image compression and reconstruction using a new approach by artificial neura...Image compression and reconstruction using a new approach by artificial neura...
Image compression and reconstruction using a new approach by artificial neura...Hưng Đặng
 
Image compression and reconstruction using a new approach by artificial neura...
Image compression and reconstruction using a new approach by artificial neura...Image compression and reconstruction using a new approach by artificial neura...
Image compression and reconstruction using a new approach by artificial neura...Hưng Đặng
 
Image Processing Compression and Reconstruction by Using New Approach Artific...
Image Processing Compression and Reconstruction by Using New Approach Artific...Image Processing Compression and Reconstruction by Using New Approach Artific...
Image Processing Compression and Reconstruction by Using New Approach Artific...CSCJournals
 
Blood Cell Image Classification for Detecting Malaria using CNN
Blood Cell Image Classification for Detecting Malaria using CNNBlood Cell Image Classification for Detecting Malaria using CNN
Blood Cell Image Classification for Detecting Malaria using CNNIRJET Journal
 
IRJET- Automated Detection of Gender from Face Images
IRJET-  	  Automated Detection of Gender from Face ImagesIRJET-  	  Automated Detection of Gender from Face Images
IRJET- Automated Detection of Gender from Face ImagesIRJET Journal
 
IRJET-Breast Cancer Detection using Convolution Neural Network
IRJET-Breast Cancer Detection using Convolution Neural NetworkIRJET-Breast Cancer Detection using Convolution Neural Network
IRJET-Breast Cancer Detection using Convolution Neural NetworkIRJET Journal
 
Fuzzy Logic Final Report
Fuzzy Logic Final ReportFuzzy Logic Final Report
Fuzzy Logic Final ReportShikhar Agarwal
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
researchpaper_2023_Skin_Csdbjsjvnvsdnfvancer.pdf
researchpaper_2023_Skin_Csdbjsjvnvsdnfvancer.pdfresearchpaper_2023_Skin_Csdbjsjvnvsdnfvancer.pdf
researchpaper_2023_Skin_Csdbjsjvnvsdnfvancer.pdfAvijitChaudhuri3
 
A Survey of Convolutional Neural Network Architectures for Deep Learning via ...
A Survey of Convolutional Neural Network Architectures for Deep Learning via ...A Survey of Convolutional Neural Network Architectures for Deep Learning via ...
A Survey of Convolutional Neural Network Architectures for Deep Learning via ...ijtsrd
 

Similar a Convolutional Neural Networks Research (20)

Rupesh-ibPRIA final
Rupesh-ibPRIA finalRupesh-ibPRIA final
Rupesh-ibPRIA final
 
ppt.pdf
ppt.pdfppt.pdf
ppt.pdf
 
PADDY CROP DISEASE DETECTION USING SVM AND CNN ALGORITHM
PADDY CROP DISEASE DETECTION USING SVM AND CNN ALGORITHMPADDY CROP DISEASE DETECTION USING SVM AND CNN ALGORITHM
PADDY CROP DISEASE DETECTION USING SVM AND CNN ALGORITHM
 
A Parallel Framework For Multilayer Perceptron For Human Face Recognition
A Parallel Framework For Multilayer Perceptron For Human Face RecognitionA Parallel Framework For Multilayer Perceptron For Human Face Recognition
A Parallel Framework For Multilayer Perceptron For Human Face Recognition
 
Image Segmentation and Classification using Neural Network
Image Segmentation and Classification using Neural NetworkImage Segmentation and Classification using Neural Network
Image Segmentation and Classification using Neural Network
 
Image Segmentation and Classification using Neural Network
Image Segmentation and Classification using Neural NetworkImage Segmentation and Classification using Neural Network
Image Segmentation and Classification using Neural Network
 
MULTI-LEVEL FEATURE FUSION BASED TRANSFER LEARNING FOR PERSON RE-IDENTIFICATION
MULTI-LEVEL FEATURE FUSION BASED TRANSFER LEARNING FOR PERSON RE-IDENTIFICATIONMULTI-LEVEL FEATURE FUSION BASED TRANSFER LEARNING FOR PERSON RE-IDENTIFICATION
MULTI-LEVEL FEATURE FUSION BASED TRANSFER LEARNING FOR PERSON RE-IDENTIFICATION
 
Predictive Metabonomics
Predictive MetabonomicsPredictive Metabonomics
Predictive Metabonomics
 
Noise-robust classification with hypergraph neural network
Noise-robust classification with hypergraph neural networkNoise-robust classification with hypergraph neural network
Noise-robust classification with hypergraph neural network
 
Image compression and reconstruction using a new approach by artificial neura...
Image compression and reconstruction using a new approach by artificial neura...Image compression and reconstruction using a new approach by artificial neura...
Image compression and reconstruction using a new approach by artificial neura...
 
Image compression and reconstruction using a new approach by artificial neura...
Image compression and reconstruction using a new approach by artificial neura...Image compression and reconstruction using a new approach by artificial neura...
Image compression and reconstruction using a new approach by artificial neura...
 
Image Processing Compression and Reconstruction by Using New Approach Artific...
Image Processing Compression and Reconstruction by Using New Approach Artific...Image Processing Compression and Reconstruction by Using New Approach Artific...
Image Processing Compression and Reconstruction by Using New Approach Artific...
 
Blood Cell Image Classification for Detecting Malaria using CNN
Blood Cell Image Classification for Detecting Malaria using CNNBlood Cell Image Classification for Detecting Malaria using CNN
Blood Cell Image Classification for Detecting Malaria using CNN
 
IRJET- Automated Detection of Gender from Face Images
IRJET-  	  Automated Detection of Gender from Face ImagesIRJET-  	  Automated Detection of Gender from Face Images
IRJET- Automated Detection of Gender from Face Images
 
IRJET-Breast Cancer Detection using Convolution Neural Network
IRJET-Breast Cancer Detection using Convolution Neural NetworkIRJET-Breast Cancer Detection using Convolution Neural Network
IRJET-Breast Cancer Detection using Convolution Neural Network
 
Fuzzy Logic Final Report
Fuzzy Logic Final ReportFuzzy Logic Final Report
Fuzzy Logic Final Report
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
researchpaper_2023_Skin_Csdbjsjvnvsdnfvancer.pdf
researchpaper_2023_Skin_Csdbjsjvnvsdnfvancer.pdfresearchpaper_2023_Skin_Csdbjsjvnvsdnfvancer.pdf
researchpaper_2023_Skin_Csdbjsjvnvsdnfvancer.pdf
 
Ag044216224
Ag044216224Ag044216224
Ag044216224
 
A Survey of Convolutional Neural Network Architectures for Deep Learning via ...
A Survey of Convolutional Neural Network Architectures for Deep Learning via ...A Survey of Convolutional Neural Network Architectures for Deep Learning via ...
A Survey of Convolutional Neural Network Architectures for Deep Learning via ...
 

Convolutional Neural Networks Research

  • 1. Algorithmic Learning and Training with Convolutional Neural Networks Tanmay Ghai [1], Schuyler Eldridge[2],Ajay Joshi [3] Evergreen Valley High School, 3300 Quimby Rd, San Jose, CA 95148 [1] ; Boston University, 8 St Marys St, Boston, MA 02215[2, 3] 1.http://www.uow.edu.au/~phung/docs/cnn-matlab/cnn-matlab.pdf 2.http://archive.ics.uci.edu/ml/datasets.html 3.http://www.mathworks.com/matlabcentral/fileexchange/38310-deep-learning-toolbox 4.http://andrew.gibiansky.com/blog/machine-learning/convolutional-neural-networks/ References Convolutional Neural Networks have been of interest to scientists ever since Yan LeCun’s extensive research on them in the twentieth century. These networks are a form of artificial feed-forward neural networks that are widely based on biological processes and are known for being used in real world applications such as image detection, recognition, and classification. Here we have tried to train one such implementation of a Convolutional Neural Network, provided from the Deep Learning Toolbox, to see if in fact it can be trained to distinguish between different images. Our work has been conducted on the MATLAB platform and the data we have chosen to train the CNN with has been selected from the UCI Dataset Repository. The dataset consists of images of people from Carnegie Mellon University with different facial expressions, features, and orientations that the CNN should detect after being trained. To train the CNN to be able to distinguish between images, an algorithm called RPROP or Error Backpropagation was utilized and from previous papers, the proposed success rate was 97.6 percent. We are not proposing a certain rate of success, we are just expecting, after execution, that the CNN is able to distinguish amongst images with differences such as sunglasses vs. no sunglasses, happy vs. sad expressions, and facing left vs. facing right. Abstract I used about 100 images off of the UCI dataset repository, including one of my own to test the Convolutional Neural Network coded in MATLAB after they had been trained. I tested images that were different in facial expressions(happy and sad) as well as images that had sunglasses or not. The table below shows the results for the accuracy of each training algorithm as well as the execution time. Introduction Materials: MATLAB, datasets to test with from the UCI data repository, and the Deep Learning toolbox for CNN’s which can be found online. 1) RPROP – 2) Gradient Descent – Methods and Materials Overall the results were pretty conclusive the Resilient Backpropagation is a better algorithm than Gradient Descent when training and testing Convolutional Neural Networks. Along with the accuracy, the execution time of RPROP was much less than that of Gradient Descent. Some reasons to possibly explain why RPROP is a better algorithm: 1) Requires no parameter tuning 2) Learning and adaptation only affected by the sign of the partial derivative 3) Computer friendly and easy to code 4) Learning is equally spread over the network, not just in one layer 5) RPROP is a fast learner compared to GD This experiment only deals with two different learning algorithms and RPROP turned out to be the better one. However, there may still be better ways to train Convolutional Neural Networks out there. ConclusionsAs Convolutional Neural Networks have become of more and more interest in the past century, scientists have been working on effective methods to find real world applications for these artificial feed-forward processes. CNN’s have mainly been utilized in processes that deal with image detection, recognition, and classification, and we wanted to understand the theory behind these networks as well as do some tests to see if they can actually be trained to classify and recognize different images Convolutional Neural Networks are divided into three layers: convolution, subsampling, and output. In each layer versions of the input image are created and altered. In this experiment we tried to see the effects of using an algorithm called Resilient Backpropagation versus an algorithm called Gradient Descent. Results Figure 1. Picture of CNN Architecture. Figure 2. Picture of one of the dataset images Chart 1. Bar graph for the results 0 10 20 30 40 50 60 70 80 90 100 RPROP GD RPROP vs GD Happy/Sad Sunglasses Execution Time Happy/Sad Execution Time Sunglasses Figure 3: Basic Design of CNN’s Algorith m Happy vs. Sad Sunglasse s Accuracy Happy vs. Sad Accuracy Sunglasse s Execution Time RPROP 100 images, 55 happy 45 sad 55 images 33 sunglasse s 22 no sunglasse s Reported : 47 happy 53 sad 92 % accuracy Reported: 27 sunglasse s and 28 no sunglasse s 89 % accuracy Happy vs. Sad: 1 hour and 42 minutes Sunglasse s: 45 minutes and 22 seconds Gradient Descent 100 images 55 happy 45 sad 55 images 33 sunglasse s 22 no sunglasse s Reported: 40 happy 60 sad 85 % accuracy Reported: 24 happy and 31 sad 84 % accuracy Happy vs. Sad: 2 hours and 57 minutes Sunglasse s: 3 hours and 12 minutes