As an attempt to understand Convolutional Neural Network (CNN/ConvNet) better, I was suggested to read the section about LeNet5 in the original paper and figure out where every numbers come from ðŸ¤” Input layer The input of this neural network is an image of size 32*32 pixels where each pixels are represented by an input…

# Category: Machine Learning

## Keras VGG16 with different input shape

Keras graciously provides an API to use pretrained models such as VGG16 easily. Unfortunatey, if we try to use different input shape other than 224 x 224 using given API (keras 1.1.1 & theano 0.9.0dev4) from keras.layers import Input from keras.optimizers import SGD from keras.applications.vgg16 import VGG16 … model = VGG16(weights=’imagenet’, input_tensor=Input(shape=(3, 300, 300))) sgd…

## Restricted Boltzmann Machine with DeepLearnToolbox

In attempt to learn about deep learning’s fundamentals (and to fulfill a course assignment too), I tried to write a simple Restricted Boltzmann Machine (RBM) in GNU Octave by extracting Deep Belief Network (DBN) code example of DeepLearnToolbox. In case you are wondering, RBM is a machine learning algorithm that is promoted by Geoffrey Hinton…