This article will help you understand the modeling aspect of the Machine Learning Pipeline, We have already completed the Pre-Modelling Phase which you can see here:

https://wahabaftab.medium.com/machine-learning-pipeline-for-beginners-retail-returns-dataset-part-i-2132cfcc9e6a

Complete codes for Part 1 and 2 are also given at the end of this article. Now let’s jump straight into modeling our dataset!

Modeling:

A good practice to do before modeling is to see if some of the features are identical or provide the same information. Multiple features of such nature are redundant for our model. We visualize a correlation matrix to see how the various features correlate with each other:


You’ve probably heard of machine learning, considering how famous and impactful it has been in the past decade. Many people, who might not harbour sufficient knowledge of how it works, still consider it ‘magic’ where we accurately predict what will happen using data. As the field is advancing with countless applications, people with no experience in the field are finding it interesting and want to explore what is actually really happening behind the scenes. In this article, we will explore this magic and learn to build a Machine Learning (ML) model given some data. …

Wahab Aftab

An explorer who likes to play with data

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store