Support Vector Machines (SVMs) SVMs are a powerful class of supervised machines learning algorithms for both classification and regression problems. In the context of classification, they can be viewed as maximum margin linear classifiers. Why? Well, we’ll see that in a bit
The SVM uses an objective which explicitly encourages lower out-of-sample error (good generalization performance).
For the first part we will assume that the two classes are linearly separable. For non-linear boundaries, we will see that we project the data points into higher dimension so that they can be separated linearly using a plane.
Basic Pytorch Tensor Functions Pytorch is a python based scientific computing package which is replacement for Numpy to use the power of GPUs and also provides maximum flexibility and speed. We will now look at 5 of the many interesting pytorch functions in this section.
torch.from_numpy(ndarray) torch.argmax(input) torch.unsqueeze(input, dim) torch.mm(input, mat2, out=None) torch.pow(input, exponent, out=None) # Import torch and other required modules import torch import jovian import numpy as np <IPython.
Deep Residual Learning for Image Recognition (ResNet) In this section we will try to understand some basic concepts related to ResNet architecture, why is it better than VGG Net, its working and its advantages.
Before trying to understand what ResNet is, first lets try to understand in short what is VGG Net and why ResNet is better than VGG Net.
Understanding VGG Net (VGG 16): VGG stands for Visual Geometry Group at Oxford University.
Understanding Convolutional Neural Networks (CNN or ConvNet) Ever wondered how does a computer understands whether an image of a dog is actually a dog? Or how does it know whether the nose of the dog is actually a nose? Well it all starts with a Convolutional Neural Network.
In this section we would understand the following things in order to understand CNNs:
How a computer reads an image? Why don’t we use Fully Connected Neural Networks for Image Recognition?