Data Wrangling: Cleaning up Ohio Crime Data for Machine Learning
Often it seems like the biggest part of machine learning is actually acquiring and cleaning up data. The state of Ohio provides crime data...
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...
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,...
How to convert Google Colabs from Python 2 to Python 3
I don't know why Google Colabs defaults to Python 2, regardless, it's extremely easy to change your notebook to Python 3. It's so easy...
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....
How to drop rows in a pandas dataframe
A previous tutorial showed you how to drop columns in a pandas dataframe. Now we will look at how to drop rows in a...
How I wrote a terrible machine learning Nirvana song
We all see articles on how this is successful or that is successful and we get to brag about our successes. But what about...
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...
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...
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...