Latest Posts From Abhishek Wasnik

Pivot Tables Pandas

Pandas Pivot Tables in Python – Easy Guide

In this article, we’ll talk about Pivot Tables in Python. We’ll implement the same using the pivot_table function in the Pandas module. What is a Pivot Table? Pivot Tables are a key feature of Microsoft Excel and one of the reasons that made excel so popular in the corporate world. Pivot tables provide great flexibility […]

Cross Validation

K-Fold Cross-Validation in Python Using SKLearn

Splitting a dataset into training and testing set is an essential and basic task when comes to getting a machine learning model ready for training. To determine if our model is overfitting or not we need to test it on unseen data (Validation set). If a given model does not perform well on the validation […]

Hierarchical Clustering Feature Image

Hierarchical Clustering with Python

Clustering is a technique of grouping similar data points together and the group of similar data points formed is known as a Cluster. There are often times when we don’t have any labels for our data; due to this, it becomes very difficult to draw insights and patterns from it. Unsupervised Clustering techniques come into […]

MATPLOTLIB Subplots Feature

Matplotlib Subplots – Plot Multiple Graphs Using Matplotlib

In this article, we will learn how to create Matplotlib subplots. In practice we often need more than one plot to visualize the variables, this is when subplots come into the picture. Matplotlib subplot method is a convenience function provided to create more than one plot in a single figure. Creating a Basic Plot Using Matplotlib To […]

Feature Image Normal Dist

Normal Distribution in Python

Even if you are not in the field of statistics, you must have come across the term “Normal Distribution”. A probability distribution is a statistical function that describes the likelihood of obtaining the possible values that a random variable can take. By this, we mean the range of values that a parameter can take when […]

Plotting K Means Clusters With Python

How to Plot K-Means Clusters with Python?

In this article we’ll see how we can plot K-means Clusters. K-means Clustering is an iterative clustering method that segments data into k clusters in which each observation belongs to the cluster with the nearest mean (cluster centroid). Steps for Plotting K-Means Clusters This article demonstrates how to visualize the clusters. We’ll use the digits dataset for our cause. 1. Preparing Data […]