Feature encoding methods – the Pandas way

This tutorial explores the various ways data can be encoded, using Pandas and Numpy, to prepare the data ready for a Machine Learning, or predictive model pipeline. Encoding methods There are three main methods explored therein: Label encoding – encoding a value based on where the label order falls – could be good for rank…

Continue Reading

Creating Virtual Environments for Python Projects in VS Code

I had a similar problem recently, and then a request came through from a close friend (Chris Mainey) for the same purpose. I thought “I’ll write a blog post on this”. So, what are the benefits of creating virtual environments.” First of all. what are virtual environments: A virtual environment is a Python environment such that the Python interpreter, libraries and…

Continue Reading