Month: February 2019

How to use RandomForest Classifier and Regressor in Python

How to use RandomForest Classifier and Regressor in Python Random Forest is an ensemble machine learning algorithm that creates multiple decision trees and combines their predictions to make more accurate predictions. It is used for both classification and regression problems. In this article, we will go over the basics of how to use Random Forest …

How to use AdaBoost Classifier and Regressor in Python

How to use AdaBoost Classifier and Regressor in Python AdaBoost is an ensemble machine learning algorithm that combines several weak models to create a strong model. It is used for both classification and regression problems, and it’s commonly used with decision tree models. In this article, we will go over the basics of how to …

How to use Classification and Regression Tree (CART) in Python

How to use Classification and Regression Tree (CART) in Python Classification and Regression Trees (CART) is a popular method of supervised machine learning that uses a tree-based model to make predictions. It is used for both classification and regression problems, hence the name. In this article, we will go over the basics of how to …

How to do MinShift based Clustering in Python

How to do MinShift based Clustering in Python Mean-Shift Clustering is a method of clustering that is based on kernel density estimation. It works by iteratively shifting each data point to the center of the dense region surrounding it. It is an unsupervised method, meaning it finds the clusters without any prior knowledge of the …

How to do DBSCAN based Clustering in Python

How to do DBSCAN based Clustering in Python DBSCAN (Density-Based Spatial Clustering of Applications with Noise) is a method of clustering that is based on the density of the data points. It works by identifying clusters of high density and then expanding them to include nearby points that are also of high density. In this …

How to do Affinity based Clustering in Python

How to do Affinity based Clustering in Python Affinity Propagation is a method of clustering that is based on the concept of “message passing” between data points. It works by creating a similarity matrix between all the data points and then iteratively updating the matrix to find the clusters. In this article, we will go …

How to do KMeans Clustering in Python

How to do KMeans Clustering in Python KMeans Clustering is a method of clustering that aims to partition n observations into k clusters in which each observation belongs to the cluster with the nearest mean. This method is known as a “centroid-based” approach because it starts by randomly selecting k initial centroids and then iteratively …

How to do Agglomerative Clustering in Python

How to do Agglomerative Clustering in Python Agglomerative Clustering is a method of clustering that starts with each data point as its own cluster, and then merges the closest clusters together until only the desired number of clusters remains. This method is known as a “bottom-up” approach because it starts with the smallest units and …

How to use Nearest Neighbours for Classification in Python

How to use Nearest Neighbours for Classification in Python Nearest Neighbors is a popular method of statistical analysis that can be used to predict a categorical variable based on a set of input variables. In this article, we will go over the basics of how to use Nearest Neighbors for classification in Python. First, we …

How to use Nearest Neighbours for Regression in Python

How to use Nearest Neighbours for Regression in Python Nearest Neighbors is a popular method of statistical analysis that can be used to predict a continuous variable based on a set of input variables. In this article, we will go over the basics of how to use Nearest Neighbors for regression in Python. First, we …