Twitter, NLP, and the 2022 World Cup

This article is published at 9:55am EST, 5 minutes before the start of the 2022 World Cup Final between Argentina and France. This is the umpteenth installment in my exploration of whether or not Twitter sentiment is good at predicting anything. Last year, I used it on NFL games and Starbucks stock prices. The results?Continue reading “Twitter, NLP, and the 2022 World Cup”

Creating a Chatbot for Yoga in Python

Stress is everywhere, and it’s the silent killer. Articles are published daily about managing your stress levels and living a more relaxed life. One of the main recommendations to reduce your stress is to practice yoga. Unfortunately, many people still don’t know about the benefits of this fantastic practice or how accessible it is. So,Continue reading “Creating a Chatbot for Yoga in Python”

Basics of Exploratory Data Analysis

Exploratory data analysis, or EDA, helps us get a foundational understanding of our dataset. Through exploring our data, we get an understanding of the data and its patterns so we can build efficient predictive models. This process takes a fair amount of time because we implement several data preprocessing tasks.  For this tutorial, we’ll needContinue reading “Basics of Exploratory Data Analysis”

Explorations in Machine Learning: Intro to Neural Networks

Hey, everyone! In my journey to become the master of all things NLP, I’d like to begin with the beginning. This underlying foundation is referred to as Neural Networks. In the first installment of this series, I’ll dive into a bit of introduction on the concept as a whole.  What are Neural Networks? Neural networksContinue reading Explorations in Machine Learning: Intro to Neural Networks

Keras Optimizers in Tensorflow and Common Errors

Keras is one of the most used frameworks for building machine learning models. Keras is a high level neural network API built on Python. That’s why we’ve covered how to use it so much on this blog! We’ve covered how to build Long Short Term Memory (LSTM) Models, Recurrent Neural Networks (RNNs), and Gated RecurrentContinue reading “Keras Optimizers in Tensorflow and Common Errors”

Accuracy, Precision, Recall, and F Score

How do you measure how well your machine learning model is doing? There are four main metrics for measuring the accuracy of a machine learning model. These metrics are accuracy, precision, recall, and F-Score (or F Score). In this post, we’ll be covering how to calculate each of these metrics and what they’re used for.Continue reading “Accuracy, Precision, Recall, and F Score”

The Best RNN for Image Classification: RNN, LSTM, or GRU?

Recurrent Neural Networks (RNNs) are neural networks that are designed for predicting sequence data. Images are not traditionally seen as sequence data, but can be modeled as such. Today we’re going to be testing out how well three different RNN architectures, Simple RNNs, LSTMs, and GRUs, do on image classification via the MNIST digits dataset.Continue reading “The Best RNN for Image Classification: RNN, LSTM, or GRU?”

Build a GRU RNN in Keras

In December of 2021, we went over How to Build a Recurrent Neural Network from Scratch, How to Build a Neural Network from Scratch in Python 3, and How to Build a Neural Network with Sci-Kit Learn. As a continuation in the Neural Network series, this post is going to go over how to buildContinue reading “Build a GRU RNN in Keras”

Long Short-Term Memory (LSTM) in Keras

In December of 2021, we went over How to Build a Recurrent Neural Network from Scratch, How to Build a Neural Network from Scratch in Python 3, and How to Build a Neural Network with Sci-Kit Learn. As a continuation in the Neural Network series, this post is going to go over how to buildContinue reading “Long Short-Term Memory (LSTM) in Keras”