How to make the first row in your spreadsheet or dataframe the header in...
If you have imported a CSV file into your notebook and use Pandas to view the dataframe you might find that the header of...
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...
How I got a Perfect Score on a Kaggle NLP with Disaster Tweets Competition
I love Kaggle. I love the competition and testing my skills against brilliant data scientists from around the world. Today I decided to get...
How to run notebook in Google Cloud for Machine Learning
Step one: Go to Google Cloud Platform and create a Project.
Step two: Click Activate Cloud Shell
Step three: In the console you will want to...
Machine Learning: How to pull Google Sheets data into Colabs
If you are using Google Colabs it would make sense to want to pull in a CSV file for a machine learning project. It...
How to add a column to pandas dataframe
Pandas allow for many methods for adding and dropping content. We have covered how to drop a column and how to drop a row...
Data Wrangling Part 2: Cleaning up Ohio Crime Data for Machine Learning
In a previous post, I discuss cleaning public Ohio crime data. As I start to get deeper into the data, and go through years...
Machine Learning NFL: My rule changes for punts
The NFL has created a competition in an attempt to reduce concussions on punt plays. Read more about the competition in my previous post....
What is probability mass function?
Probability mass function is recognized as a probability that is distributed over discrete variables.
First, probability mass function is always denoted with the capital P.
Second,...
What is Conditional Probability and formula?
Conditional probability is used to find out the probability of some event happening given that some other event has happened. Easy right?
Therefore, conditional probability...














