In this article, I will explain a widely used method for segmenting handwritten documents into individual lines. Below...

## Deskewing scanned documents using horizontal projections

An important pre-processing step in any OCR tool or algorithm is to deskew the scanned document first. Take...

## Mathematics of Principal component analysis

Principal component analysis is a method used to reduce the number of dimensions in a dataset without losing...

## K-Means on Iris Dataset

Read my previous post to understand how K-Means algorithm works. In this post I will try to run...

## Mathematics behind K-Mean Clustering algorithm

K-Means is one of the simplest unsupervised clustering algorithm which is used to cluster our data into K...

## Understanding Support vector Machines using Python

Support Vector machines (SVM) can be used for both classification as well as regression tasks but they are...

## Maths behind Polynomial regression

Polynomial regression is a process of finding a polynomial function that takes the form f( x ) = c0 + c1 x + c2 x2 ⋯ cn xn where n is the degree of the...

## Evaluating the fitness of a modal with a cost function

Previously we derived a simple linear regression modal for our Pizza price dataset. We built a modal that...

## Math behind Linear Regression with Python code

Simple linear regression is a statistical method you can use to study relationships between two continuous (quantitative) variables: independent...

## Finally some success after an year of research in trying to teach a computer how to understand a question like a human.

Like I always believed, there is a way to represent each and every natural language sentence using mathematical notations....