Photo by Paweł Czerwiński

When I speak to people about data science, they always want to know more about machine learning and analytics. Those are the buzz words that always get thrown around, but I feel that data pipelines does not get thrown around enough. We are going to honor data pipelines by discussing the framework I use to design my pipelines. Since we are data scientist, we do not have time to name all the steps, so we are going to call it the RHD Framework. Put your learning cap on and allow me to present my framework.

Origins of RHD

The framework is simple, and…

Photo by: Glenn Carstens-Peters

I did a little bit of work with Streamlit and a machine learning algorithm a few days ago. I found that Streamlit is kind of clunky at the moment, and it does not handle big projects too well. Maybe it’s because it was my first time using it? No idea, but I was determined to do a project with it. This week I decided to do something simple, so I decided to build an app that calculates if investing at a specific rate is better than paying off debt. …

Photo by: Goran Ivos

My iPhone doesn’t have a home button or an audio jack. When apple released this design, some people were extremely uncomfortable and spoke out about it. I was extremely excited. I don’t need an audio jack because I have a Bluetooth headset, and I don’t need a home button because my face is the key. How cool is that? I always cheer for features and tools that make things easier long term. Even if it makes things uncomfortable right now. When I found out about Streamlit I was extremely excited! If you don’t know what it is, then you are…

Photo by: Joyful

Chocolate chip cookies are delicious. Oatmeal and chocolate chip cookies are really good too, but we can agree that oatmeal and raisins cookies are not so delicious when you think they’re chocolate chip cookies. No one says, “I’m so glad that wasn’t a chocolate chip cookie”. Just like the cookie controversy, we can agree that our machine learning models are only as good as our data. Therefore, we need to pick the right features to put in our model. This is what today’s topic is about. We are going to be assigning a score to features based on how much…

Photo by: Tincho Franco

Iron man hit theaters in 2008, and I was excited to see this smart superhero fighting crime! Fast forward 10 years, and I became interested in JARVIS. I researched how close we were to a program that could do some of the things that JARVIS could, and I was surprised that we actually had a lot of the technology already. Now at the end of 2020, I revisited this idea of creating JARVIS. Although I won’t be creating JARVIS, I will show you how to create the part of JARVIS that wishes Tony Stark a good morning.

Good morning

I was surprised…

Photo by: Kay

The other day, I fell prey to the YouTube algorithm. I began watching videos about cars, then I ended up watching videos about roulette strategies to maximize profit. You win this round YouTube. Anyway, I don’t feel that there are any strategies, after all, the house always wins. However, I couldn’t settle by just knowing that the house always wins. Today, we’ll build a roulette game in python, we’ll perform a monte carlo simulation, and we will conduct an experiment to see how fast we can become millionaires (don’t quit your job just yet).


Before we start writing code, we…

Photo by: Andrew Stutesman

Back in the day It was fun coloring blank pictures. When it comes to python, I didn’t think it would be as fun. After all, building bar graphs and line graphs seems so convenient and easy (see my visualizations article here). Building geographic graphs seemed a little more intimidating. Up until now, I did not have a reason to do it. However, this makes the perfect condition to learn how to do it. Stakes are low, so it is a great idea to learn how to do it.


I like to say that I am one of those people that…

Photo by: Possessed Photography

A while ago I stayed up to try to get my hands on the latest technological device, but I was not able to get my hands on one because it was sold to mostly robots. How annoying. I am not going to teach you how to buy things with robots, but I will teach you how to check if an item is available. Please remember that this is just for information. It is actually against most terms and conditions to scrape data from retailer websites.

Let’s Start

The process is straight forward:

  1. Check if website has available item.
  2. 2) Send yourself a…

Photo by: Ryan Quintal

If you are a human, then you will be familiar with animals. Cats, lions, cheetahs, leopards, and cougars are all animals in this wonderful world! Can you guess what type of animal I like? If you guessed canines, then you are wrong. Moving on, these animals have certain things in common, but they are very different too. This reminds me of python classes! This is good news because that’s what we will be talking about this week. Let’s begin.


A python class is a way to collect functions and data in a single place. This makes programming so much easier…

Photo by: Glen Carrie

When I was in kindergarten, I hated color pencil pouches. It was extremely messy. You just dump all your color pencils there, pencils, scissors, rulers, etc. It would take forever to find the right pencil. When you write a program, you are basically dumping code into a big pouch to hold it all. It can get extremely messy. Thankfully, we have functions to make our job easier. Today, we are going to go through just that in python, so open up your favorite editor, open your mind, and get ready to have some fun.


Functions are a handy tool to…

Alejandro Colocho

Data Scientist | Gamer | Nature Lover | Gym Enthusiast

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store