How to create Python class variables
Python is an incredibly powerful language. Learning how to create Python class variables is part of developing an object-oriented programming method. Creating individual objects...
What is an epoch in machine learning?
An epoch is one pass through an entire dataset. This can be in random order. You an also batch your epoch so that you...
Use Google Colab and Kaggle Data with bonus: fastai2
I was just running through this process and thought it might be helpful for others:
What to do in Kaggle:
Step 1. Go to your Kaggle...
How to drop columns in a pandas dataframe
Pandas is a great tool for working on any machine learning or data science project. It's a fundamental part of data wrangling. In this...
How to fillna in pandas in Python
We are going to show you how to fillna using pandas in Python. No dataset is going to come perfect and ready to go....
What is the Python sorted function? An example of how to use it.
The Python sort function is very straight-forward. The easiest way to think about this is the various ways you can sort files on your...
Analyzing NFL Concussion data for Kaggle Data Science Competition
Recently, I entered the NFL Concussion on punt returns contest for data scientists. It wasn't the normal machine learning problem. In fact, it is...
Best practices for naming variables in Python
When naming variables in Python there are some best practices that we will discuss. If you don't follow the best practices you'll get errors...
Machine Learning: Creating vectors, matrix and arrays
To get started in machine learning there are some basics that you need to know and understand before you can ever just start coding...
Feature Engineering: LabelEncoder sklearn example
A big part of machine learning is data cleanup and feature engineering. A good tool in your data science toolkit will be label encoding....












