Posts by Premkumar Vemula

Author Biographical Info: Not available

Python Call by Value or Reference?

By Premkumar Vemula

If you are a newbie to the world of Python then many you might have come across a situation where a variable assignment changed upon using it as an argument of a function when you .... Read More

Understanding the Bias-Variance Tradeoff in Machine Learning

By Premkumar Vemula

In this article, we will explore one of the most important topics in machine learning. One can even say this topic is the foundation topic of machine learning.  Bias and Variance .... Read More

Find pairs in array whose sums already exist in array in Python

By Premkumar Vemula

In this article, we are basically going to solve an easy problem using two different data structures. The problem statement being we have to find all the pair of integer elements f.... Read More

Lasso, Ridge and Elastic Net Regularization in Python

By Premkumar Vemula

In this tutorial, we will explore the different types of regularization, their advantages and disadvantages and how to apply them and implement the same in Python. When the number .... Read More

From dividing line to Support Vector Machines in Python

By Premkumar Vemula

A simple dividing line is used to make predictions on simple 2D data where we have a dependent variable and an independent variable. A line can be drawn according to the relation b.... Read More

Removing all consonants from a string in Python

By Premkumar Vemula

In this article, we will explore various ways in which we can remove all the consonants from a given string in Python. The simplest way would be to convert a string to a list and r.... Read More

Selective casing in strings in Python

By Premkumar Vemula

In this article, you will learn about how to change the casing of a particular letter in the string in Python. There are quite a few ways to do it. We can directly use the inbuilt .... Read More

Writing a directory of images into CSV file in Python

By Premkumar Vemula

In this tutorial, we will learn and implement the simplest way to read a directory full of images without using any frameworks like Pytorch or TensorFlow. In many Kaggle competitio.... Read More