I recently stumbled upon an interesting piece of information when I was working on deep neural networks. I started thinking about initialization of network weights and the theory behind it. Does the image to the left make sense now? The guy in that picture is lifting "weights" and we are talking about network "weights". Anyway, when we implement … Continue reading Understanding Xavier Initialization In Deep Neural Networks
Tag: Artificial Intelligence
How Are Decision Trees Constructed In Machine Learning
Decision trees occupy an important place in machine learning. They form the basis of Random Forests, which are used extensively in real world systems. A famous example of this is Microsoft Kinect where Random Forests are used to track your body parts. The reason this technique is so popular is because it provides high accuracy with relatively little … Continue reading How Are Decision Trees Constructed In Machine Learning
Deep Learning With Caffe In Python – Part IV: Classifying An Image
In the previous blog post, we learnt how to train a convolutional neural network (CNN). One of the most popular use cases for a CNN is to classify images. Once the CNN is trained, we need to know how to use it to classify an unknown image. The trained model files will be stored as "caffemodel" … Continue reading Deep Learning With Caffe In Python – Part IV: Classifying An Image
Deep Learning With Caffe In Python – Part III: Training A CNN
In the previous blog post, we learnt about how to interact with a Caffe model. In this blog post, we will learn how to train a proper CNN. Up until now, we were dealing with a single layer network. We just defined it in a prototxt file and visualized it easily. If we want our … Continue reading Deep Learning With Caffe In Python – Part III: Training A CNN
Deep Learning With Caffe In Python – Part II: Interacting With A Model
I know that the title looks slightly misleading. If you are thinking that we will be talking about how to interact with fashion models at a coffee shop, you are in for a big surprise! In the previous blog post, we talked about how to define and visualize a single layer convolutional neural network (CNN). In this … Continue reading Deep Learning With Caffe In Python – Part II: Interacting With A Model
Deep Learning With Caffe In Python – Part I: Defining A Layer
Caffe is one the most popular deep learning packages out there. In one of the previous blog posts, we talked about how to install Caffe. In this blog post, we will discuss how to get started with Caffe and use its various features. We will then build a convolutional neural network (CNN) that can be … Continue reading Deep Learning With Caffe In Python – Part I: Defining A Layer
How To Train A Neural Network In Python – Part III
In the previous blog post, we learnt how to build a multilayer neural network in Python. What we did there falls under the category of supervised learning. In that realm, we have some training data and we have the associated labels. Now the goal is to train the neural network correctly label our training data. Once … Continue reading How To Train A Neural Network In Python – Part III
How To Train A Neural Network In Python – Part II
In the previous blog post, we discussed about perceptrons. We learnt how to train a perceptron in Python to achieve a simple classification task. If you need a quick refresher on perceptrons, you can check out that blog post before proceeding further. In a way, perceptron is a single layer neural network with a single … Continue reading How To Train A Neural Network In Python – Part II
How To Train A Neural Network In Python – Part I
Deep learning uses neural networks to build sophisticated models. The basic building blocks of these neural networks are called "neurons". When a neuron is trained to act like a simple classifier, we call it "perceptron". A neural network consists of a lot of perceptrons interconnected with each other. Let's say we have a bunch of … Continue reading How To Train A Neural Network In Python – Part I
How To Install Caffe On Ubuntu
The concept of deep learning is becoming increasingly pervasive. It is a new area of research in machine learning that focuses on learning optimal representations of data. Now what does it mean? In the realm of classical machine learning, we have the build the features first and then the machine learning algorithm will learn how to … Continue reading How To Install Caffe On Ubuntu