Posts

Showing posts with the label Machine Learning

Getting Started with your first Machine Learning Algorithm - Linear Regression || First step towards ML

Image
Linear Regression is a Supervised Learning Algorithm. This is probably the first algorithm taught when you start learning ML. Now as a beginner you must be wondering "What is a Supervised Learning??". So machine learning can be divided mainly into 3 types: Supervised Learning Unsupervised Learning Reinforcement Learning Supervised Learning is a technique in which we use a labelled dataset to train a model. In short, you can say there is a supervisor who will tell whether the predictions model is making is correct or not. This supervisor decides about based on the labels provided in the datasets. Labels are the correct values for a particular training example. We will deal later with the other two techniques of ML. In supervised learning, we can classify problems into 2 different categories: Regression - problems in which we need to predict continuous value as an output. Classification - where we need to classify the training examples in a particular category. We plot all t...

Implementing Hierarchical Clustering - In Python Programming language

Image
Introduction to Hierarchical Clustering Unsupervised learning  is a type of Machine learning in which we use unlabeled data and we try to find a pattern among the data. Clustering algorithms  falls under the category of unsupervised learning. In these algorithms, we try to make different clusters among the data. Hierarchical Clustering  algorithms build a hierarchy of clusters where each node is a cluster consisting of the clusters of its children node. fig. 1 Check out my blog on Hierarchical Clustering - An Unsupervised learning Algorithm  to learn more about it. Implementing it with Python and SciKit-Learn We will use the python programming language for its implementation. In python language, we will be using SciKit-Learn library. So let's start with implementation - We will be using our own dataset which will be generated by us.     1.  Importing necessary Libraries - To create a machine learning model we will use SciKit-Learn (sklearn) librar...

Hierarchical Clustering - An Unsupervised Learning Algorithm

Image
Introduction Unsupervised learning  is a type of Machine learning in which we use unlabeled data and we try to find a pattern among the data. Clustering algorithms falls under the category of unsupervised learning. In these algorithms, we try to make different clusters among the data. Hierarchical Clustering algorithms build a hierarchy of clusters where each node is a cluster consisting of the clusters of its children node. To check it's implementation in Python  CLICK HERE There are various strategies in Hierarchical Clustering such as : Divisive Agglomerative This type of diagram is called  Dendrogram. Divisive - It is a Top-down approach. So we start with all observations in a large cluster and break it down into smaller ones. Agglomerative - It is the opposite of Divisive as it is a Bottom-Up approach. Here, each observation starts in its cluster and pairs of the cluster are merged as they move up the hierarchy.  (Generally, Agglomerative is used more as compa...

Popular posts from this blog

Pose Estimation || Application of Computer Vision and Deep Learning

Implementing Hierarchical Clustering - In Python Programming language

Hierarchical Clustering - An Unsupervised Learning Algorithm