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”

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”

Build a Recurrent Neural Network from Scratch in Python 3

Recurrent Neural Networks (RNNs) are a neural network architecture used for predicting sequence data. The most well known application of RNNs is in the field of Natural Language Processing. However, due to the complexity of actually implementing RNNs on text data (converting to one hot encoding, removing stopwords, and more) we will cover that inContinue reading “Build a Recurrent Neural Network from Scratch in Python 3”

Ask NLP: Who/What/When/Where of the Obama Presidency

Recently we’ve used NLP to do an exploration of the media’s portrayal of Obama in two parts, based on the most common phrases used in headlines about him, and an AI summary of the headlines about him. Now, we’re going to explore further into it by taking a look at the who/what/when/where of the ObamaContinue reading “Ask NLP: Who/What/When/Where of the Obama Presidency”

Introduction to NLP: Core Concepts

Natural Language Processing (NLP) is the field of Artificial Intelligence/Machine Learning (AI/ML) that deals with how computers understand “natural languages”. In short, natural languages are those that arise from human interaction. Naturally, this means they are ever evolving, one of the many factors that makes this field challenging. Other factors include that no known naturalContinue reading “Introduction to NLP: Core Concepts”

Neural Network Code in Python 3 from Scratch

This is for the actual machine learning enthusiasts who want to know what the code for a neural network in Python looks like. In this post we’re going to build a fully connected deep neural net (DNN) from scratch in Python 3. Before we get started, I just want to say that you don’t needContinue reading “Neural Network Code in Python 3 from Scratch”

Build Your Own AI Text Summarizer in Python

For this example, we’re going to build a naive extractive text summarizer in 25 lines of Python. An extractive summary is a summary of a document that is directly extracted from the text. For more information on AI summaries, check out this article on What is AI Summarization and How Can I Use It? WeContinue reading “Build Your Own AI Text Summarizer in Python”

Written by AI: Natural Language Processing (NLP)

The following article is written using AI and information gathered from the internet. This is just the first iteration and there will be more coming! Please subscribe below if you’d like to see more of these kinds of posts 🙂 The technology can then accurately extract information and insights contained in the documents as wellContinue reading “Written by AI: Natural Language Processing (NLP)”

Introduction to Machine Learning: K Means

Welcome to our fourth installment on Machine Learning. In this module we’re going to cover K-Means. K-Means is a clustering algorithm based on the hyperparameter “K” which dictates how many clusters there will be. A hyperparameter is just a parameter that we can adjust. Each cluster has a “centroid” or a central point that willContinue reading “Introduction to Machine Learning: K Means”

Intermediate Machine Learning: Principal Component Analysis (PCA)

Welcome to the third module in our Machine Learning series. So far we’ve covered Linear Regression and Logistic Regression. Just to recap, Linear Regression is the simplest implementation of continuous prediction (i.e. regression) and Logistic Regression is a version of regression that uses a softmax function to do classification. Now let’s get into something aContinue reading “Intermediate Machine Learning: Principal Component Analysis (PCA)”

%d bloggers like this: