Check if a given binary tree is perfect or not in Python

By Yatharth Jain

The problem in hand is checking whether a given binary tree is perfect or not. So, before talking about Perfect binary tress let us first talk about binary trees. A binary tree is .... Read More

Implementation of Perceptron Algorithm for NOR Logic with 2-bit binary input in Python

By Prantik Sarkar

Fig: NOR gate In this article, you’ll learn how to implement the NOR logic with 2-bit binary input using the perceptron algorithm in Python. The steps that we’ll follow.... Read More

Implementation of Perceptron Algorithm for AND Logic with 2-bit binary input in Python

By Taanvi Goyal

Before we start the implementation question arises What is Perceptron? Perceptron is an algorithm in machine learning used for binary classifiers. It is a supervised learning algor.... Read More

OpenCV Image Thresholding Techniques – Python

By Taanvi Goyal

OpenCV Image Thresholding is one of the popularly used technique in OpenCV. Thresholding is the assigning of pixel values in relation to the given threshold value. It is a segmenta.... Read More

Flyweight Design Pattern in Python

By Taanvi Goyal

A flyweight design pattern is a type of StructuralDesign Pattern. flyweight design aims to minimize the number of objects required in the program during the runtime. In short, it .... Read More

Checking the state of Tkinter buttons in Python

By Harsh Parmar

In this Python tutorial, we will learn how to check and change the states of the button in Tkinter. For this, we first need to install Tkinter into our python environment. We will .... Read More

Find missing elements of a range in Python

By Taanvi Goyal

In this simple tutorial, we are going to learn how to find missing elements of a range in Python programming with easy and simple code examples. Suppose we have an array of any siz.... Read More

Proper Noun Extraction in Python using NLP in Python

Proper Noun Extraction in Python using NLP in Python

By Prantik Sarkar | November 14, 2020

Natural Language Processing is a field of Artificial Intelligence that enables machines to process, interpret, and understand human language. Pythons NLTK i.e. the Natural Language ToolKit has a number of robust functions that allow us to extract various information from a text. This article will help you understand how you can extract all the proper nouns present […] Read More