Data Cleansing,Linear Regression,Gradient Descent Algorithm in ML
Data Cleansing,Linear Regression,Gradient Descent Algorithm in ML
Machine Learning Practical because of the belief that “Better data beats fancier algorithms”.
Data cleaning, also known as data cleansing or data preprocessing, is a crucial step
Data Cleaning in ML in the data science pipeline that involves identifying and correcting or removing errors,
inconsistencies, and inaccuracies in the data to improve its quality and usability. Data
cleaning is essential because raw data is often noisy, incomplete, and inconsistent,
which can negatively impact the accuracy and reliability of the insights derived from it.
1
28-01-2025
From the above data info, we can see that Age and Cabin have an unequal number of
counts. And some of the columns are categorical and have data type objects and some
are integer and float values.
2
28-01-2025
3
28-01-2025
4
28-01-2025
5
28-01-2025
6
28-01-2025
7
28-01-2025
8
28-01-2025
9
28-01-2025
A gradient simply measures the change in all weights Imagine a blindfolded man who wants to climb
with regard to the change in error. You can also think to the top of a hill with the fewest steps possible.
of a gradient as the slope of a function.
He might start climbing the hill by taking really
The higher the gradient, the steeper the slope and
big steps in the steepest direction.
the faster a model can learn.
But if the slope is zero, the model stops learning. In But as he comes closer to the top, his steps will
mathematical terms, a gradient is a partial derivative get smaller and smaller to avoid overshooting it.
with respect to its inputs.
10
28-01-2025
11