Code for Binary Search Algorithm (C++)

What does Binary Search Algorithm do? Given a sorted array of n elements, write a function to search for the index of a given element (target). Process of working of Binary Search Algorithm? Search for the array by dividing the array in half repeatedly. Initially consider the actual array and pick the element at the … Read more

Code for Binary Search Algorithm (Python)

What does Binary Search Algorithm do? Given a sorted array of n elements, write a function to search for the index of a given element (target). Process of working of Binary Search Algorithm? Search for the array by dividing the array in half repeatedly. Initially consider the actual array and pick the element at the … Read more

Decision Tree Algorithm Explained

Decision Tree Machine Learning Algorithm Explained

In order to perform classification, the Decision Tree Algorithm uses a sequence that has a structure which mimics a tree. This algorithm divides the dataset into tiny subsets that are used as guides to create Tree Nodes. These tree nodes can either be Decision Nodes or Leaf Nodes, depending upon their function. Decision Node represents a question or … Read more

Naive Bayes Machine Learning Algorithm Explained

Naive Bayes Machine Learning Algorithm Explained

Naive Bayes is a classification algorithm which is based on Bayes’ theorem that naively assumes independence between features and gives the same weight (degree of significance) to all features in a given dataset.  As a result, the algorithm is founded on the idea that no one feature in a dataset is related to or has an influence on another feature. … Read more

Introduction to Machine Learning (101 Guide)

101 Guide for Learning - Machine Learning Concepts

In short, Machine Learning (ML) is a subset of Artificial Intelligence (AI) that comprises a large variety of algorithms which can learn without having to be manually programmed to accomplish a specific task. ML algorithms are created to find patterns in the input data so that those patterns can be used to make informed predictions in … Read more

What is Unsupervised Machine Learning?

A kid trying to ride a bicycle example of Unsupervised Machine Learning

Unsupervised Machine Learning consists of fitting the model to the data without any relationship with an output label, also known as unlabeled data. This means that Unsupervised Machine Learning algorithms try to understand data and find patterns in it. For example – Unsupervised Machine Learning can be used for profiling kids of a school into … Read more

What is Supervised Machine Learning?

Kid riding a bicycle and father holding stearing wheel - example of supervised machine learning

Supervised Machine Learning is the process of determining the relationship between a given set of features (or variables) and a target value, which is also known as a label or a classification. Which means building ML Models that can take in certain input data and spit out a predicted value. Let’s understand this by taking … Read more

PDFPlumber – Extracting Text Out of PDF

In this article, I will be discussing how to use the Python Programming language for extracting text out of a PDF using a Python Package called PDFPlumber. Let’s straightforward dive into how to use PDFPlumber for getting text out of a PDF using Python. Installing PDFPlumber PDFPlumber can be installed on a computer/laptop using pip, … Read more