fbpx

May 2021

Computer Vision Google Cloud Machine Learning

Text Recognition Using Google Cloud Vision API

You can readily use Google Cloud API to extract text from an image using Google Cloud Vision The steps are as follows: Step 1: …

Numpy Python

Using Numpy to Study Pauli Matrices

Numpy has a lot of built in functions for linear algebra which is useful to study Pauli matrices conveniently. Define Pauli matrices $$ \sigma_1 …

Natural Language Processing

Rule Based Matching in Spacy

Rule based matching is a very useful feature in Spacy. It allows you to extract the information in a document using a pattern or …

Python

Python Decorator

Python decorator is callable that take in a function and modify the behaviour of the function without explicitly modify the function code. Let us …

Machine Learning Python Tensorflow Keras

Comparing Cross Entropy and KL Divergence Loss

Entropy is the number of bits required to transmit a randomly selected event from a probability distribution. A skewed distribution has a low entropy, whereas …

Algorithms Machine Learning Python

Linear Regression with Gradient Descent and Python

Gradient Descent is the key optimization method used in machine learning. Understanding how gradient descent works without using API helps to gain a deep …

Machine Learning Python Tensorflow Keras

Comparing Pre-trained ResNet and MobileNet

Resnet and Mobilenet are the popular pre-trained models for computer visions. Renet is more accurate, while Mobilenet is much smaller in size. In this …

Machine Learning Python Tensorflow Keras

Network Compression with Depthwise Separable Convolution

One way to achieve network compression is using depthwise separable convolution. Depthwise separable convolution is used in many pre-trained neural networks such as MobileNet, …