Python List is one of the most important data structures. Python list can contain sub-list within itself too. That’s called a nested list.
While working with the python nested list, I came across some scenarios. I have shared those in this article. …
In this article, I have covered different ways to copy lists in python.
We can copy the list using assignment operation =
Both original_list and copied_list will point to the same list object.
In this article, we will go through two important concepts in the convolution layer.
First, let’s understand the important terms used in the convolution layer.
input_shape = (batch_size, height, width, depth)
batch_size= number of training examples in…
Assumptions in Linear regression are about residuals. Let’s learn about residuals and assumptions in linear regression about residuals.
Residuals in Linear Regression are the difference between the actual value and the predicted value.
In this article, I have updated links to all my blogs in machine learning.
In this article, I have updated all my links to my Python blogs in the medium.
In this article, let's cover the string operations that can be performed on pandas dataframe.
Example 1: Converting strings in a column in pandas dataframe to uppercase
There are many ways to sort a python dictionary. Let’s look at 5 different ways to sort a python dictionary in this article.
2. Sorting using reverse parameter
3. Sorting using the key parameter
4.Using sorted function in a dictionary comprehension
5. Using Counter
sorted() function is…
Decision trees are supervised machine learning algorithm that is used for both classification and regression tasks.
In this article, I have covered the following concepts.
In machine learning, statistics and probability play an important role. Whenever we infer population parameters from sample statistics, we associate a probability to it. While prediction, probability plays an important role. Statistics and probability go hand in hand.
While learning statistics for machine learning, I came across many important terms…