Posts from Python

Click module in Python

By Shagun Bidawatka

Click package in Python is used to create command-line (CLI) applications. It was created for the Flask Web Development as a supporting library. Here, we will discuss in detail abo.... Read More

Feature Scaling in Machine Learning using Python

By Shagun Bidawatka

When we work on machine learning models, we go through datasets that had multiple features with varying properties. So, it becomes an obstacle to our machine learning algorithm. Fe.... Read More

Find paths from corner cell to middle cell in maze in Python

By Harsh Parmar

In this tutorial, we will learn about how we can find paths from corner cell to middle cell in a square maze in Python. So first we need to understand which type of maze input we a.... Read More

Lambda with if but without else in Python

By Abhishek Kaushik

Hello Friends, in this tutorial we will look at what happens when we write a lambda function with if statement and do not use else and what happens if we use if along with else in .... Read More

Duplicate elements within k distance from each other in Python

By Sri Vikas Prathanapu

In this tutorial, we will learn how to check if a given array contains duplicate elements within k distance from each other in Python. In a given unsorted array with a given value .... Read More

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

Related Posts