Build SVM From Scratch in Python

Implementation

Before we dive into the code part, lets see some math equations. For all x in training Data: xi.w + b <= -1 if yi = -1 (belongs to -ve class) xi.w + b >= +1 if yi = +1 (belongs to +ve class) For all support vectors which decide... [Read More]

Discriminant Analysis

A dimensionality reduction technique

In one sentence, Linear Discriminant Analysis use the information from features to create a new axis and projects the data to this new axis to minimize the variance and maximize the distance between the mean of two classes. Before breaking up the algorithm, I want to talk little about the... [Read More]

AWS Data scientist basics--Data Structure

Step One

What exactly is data structure? The simplest way to answer this is by describing it as a way of organizing and sorting data. Let me put this way. You want to find a specific book in an unorganized library, this task would take you an enormous amount of time. That’s... [Read More]

Decision trees

Different tree models

Why call it a decision tree? This is because you make a bunch of choices until you get to the final decision and the processes are shaped like a tree with all those branches. [Read More]