Posts from Python

String Formatting using str.format method in Python

By Avinash Bhargav Kompalli

In this tutorial, we are going to learn how to format a string in python. Before diving into the topic let us gain some basic knowledge on string formatting using python. String Fo.... Read More

Multiple Regression in Machine Learning with example in Python

By Praveen Kumar

In this tutorial, We are going to understand Multiple Regression which is used as a predictive analysis tool in Machine Learning and see the example in Python. We know that the Lin.... Read More

Password validation in Python without Regular Expression

By Shebin Benny

In this tutorial, we take a password as input and check whether the given password is valid or not under certain conditions without using the RegEx module in Python language. Passw.... Read More

Compute Bigrams Frequency in a String in Python

By Aditya Goyal

In this tutorial, we are going to learn about computing Bigrams frequency in a string in Python. In this, we will find out the frequency of 2 letters taken at a time in a String. F.... Read More

Fetch Elements of a certain range from NumPy array in Python

By Adarsh Srivastava

In this tutorial, we will learn how to fetch elements of a certain range from NumPy array in Python with some basic and easy examples. In many situations, you may have to fetch el.... Read More

Check if a number is Peterson number in Python

By Soham Das

In this tutorial, we are going to learn how to check if a number is a Peterson number or not using Python. But first, what is a Peterson number? Peterson number is that number whos.... Read More

Spam Classification Using PySpark in Python

By Soham Das

In this tutorial, we will build a spam classifier in Python using Apache Spark which can tell whether a given message is spam or not! I have used a classic spam-ham dataset from th.... Read More

Logistic Regression Using PySpark in Python

By Soham Das

In this era of Big Data, knowing only some machine learning algorithms wouldn’t do. One has to have hands-on experience in modeling but also has to deal with Big Data and uti.... Read More