Dictionaries and Unpacking Arguments in Python

Programming is about using lower-level functionality to create higher-level functionality. In general, any programming language is a collection of functions that in turn build upon functions provided by the operating system. You must master the art of building your own code with the help of existing functionality, instead of reinventing the wheel! Keyword Arguments Functions … Read more

Simple Linear Regression

Introduction Regression is a supervised learning technique that defines the relationship between a dependent variable and the independent variable(s). Regression models describe the relationship between the dependent and independent variables using a fitting line. In the case of linear regression models, this is a straight line while in the case of logistic and nonlinear regression models a … Read more

Decision Tree Learning — A Helpful Illustrated Guide in Python

This tutorial will show you everything you need to get started training your first models using decision tree learning in Python. To help you grasp this topic thoroughly, I attacked it from different perspectives: textual, visual, and audio-visual. So, let’s get started! Why Decision Trees? Deep learning has become the megatrend within artificial intelligence and … Read more

[Collection] 10 Scikit-Learn Cheat Sheets Every Machine Learning Engineer Must Have

Do you need a little help learning Scikit-Learn in Python? Or maybe you just finding it hard to remember all the different commands to perform different operations? All of those formulas can be confusing and hard to remember. Have no fear!! I have put together 10 of the Best Python Scikit-Learn cheat sheets for you … Read more

How to Execute a File with Arguments in Python?

In this article, you’ll learn three ways to execute Python and non-Python programs from within a Python program. Method 1: Execute a File with Subprocess Challenge: In Python, sometimes you need to execute another file, script, or program from within your own Python program and provide arguments. There are a number of ways to do … Read more

Python enumerate() — A Simple Illustrated Guide with Video

If you’re like me, you want to come to the heart of an issue fast. Here’s the 1-paragraph summary of the enumerate() function—that’s all you need to know to get started using it: Python’s built-in enumerate(iterable) function allows you to loop over all elements in an iterable and their associated counters. Formally, it takes an … Read more