Do More Polarizing YouTube Titles Get More Views?

Accompanying YouTube Video: We’re all familiar with the concept of clickbait now, so I was curious if more polarizing YouTube titles got more views. Just like the last couple of articles involving YouTube, we’ll be using Selenium, BeautifulSoup, and The Text API. Just like when we found The Most Common Phrases on the Front PageContinue reading “Do More Polarizing YouTube Titles Get More Views?”

What Are The Most Common Phrases on YouTube’s Front Page?

Accompanying YouTube video: Have you ever wondered how to make the front page of YouTube? I certainly have, so I used the best sentiment analysis API out there, The Text API, in combination with Selenium and Beautiful Soup to find out what the most common phrases in the titles on YouTube’s front page are. We’reContinue reading “What Are The Most Common Phrases on YouTube’s Front Page?”

How Many Views Per Day do Front Page YouTube Videos Get?

YouTube is the celebrity maker of our generation. I don’t know about you, but I’m pretty curious as to how many views per day a YouTube video on the front page gets. Let’s take a look at the videos on YouTube’s front page and see how many views per day each of these videos get.Continue reading “How Many Views Per Day do Front Page YouTube Videos Get?”

The Best Way to do Named Entity Recognition (NER)

Named Entity Recognition (NER) is a common Natural Language Processing technique. It’s so often used that it comes in the basic pipeline for spaCy. NER can help us quickly parse out a document for all the named entities of many different types. For example, if we’re reading an article, we can use named entity recognitionContinue reading “The Best Way to do Named Entity Recognition (NER)”

Natural Language Processing: Part of Speech Tagging

Part of Speech (POS) Tagging is an integral part of Natural Language Processing (NLP). The first step in most state of the art NLP pipelines is tokenization. Tokenization is the separating of text into “tokens”. Tokens are generally regarded as individual pieces of languages – words, whitespace, and punctuation. Once we tokenize our text weContinue reading “Natural Language Processing: Part of Speech Tagging”

Introduction to Machine Learning: Logistic Regression

Unlike linear regression, logistic regression is used for classification rather than prediction along a continuous range. The secret sauce to logistic regression is an “activation function” that scores the independent variable(s) and returns a 0 if the resulting score is below threshold and 1 if the resulting score is above threshold. It can be usedContinue reading “Introduction to Machine Learning: Logistic Regression”

Introduction to Machine Learning: Linear Regression

Linear Regression is a technique to create a linear equation given a dataset. We use this when we expect to have a linear correlation, perhaps something like square footage of an apartment compared to rent price. First, I’m going to show you an example of how linear regression works via sklearn and then we’ll buildContinue reading “Introduction to Machine Learning: Linear Regression”

How to Send a Web API Request in Python

In this post we’ll cover how to send an API request to a web API in Python. Web APIs are all the rage nowadays. The advantages of using a web API over a library include not having to install and configure a library, having much of the code abstracted out for you, and, in theContinue reading “How to Send a Web API Request in Python”

How to Send an Email with an Attachment in Python

In our last post, we went over how to send a simple email. In this post, we’ll go over how to send an email with an attachment, just like last time, we’ll be using Gmail. Before we get started, ensure that your Gmail account has 2-Step Verification enabled. If you haven’t enabled it, go checkContinue reading “How to Send an Email with an Attachment in Python”

How to Send Simple Emails in Python

It’s not exactly the hardest thing to get on a web browser or open an email app and send emails. Wouldn’t it be cool to be able to send emails programmatically though? In this post we’ll go over how to send a simple email with Python. At the end of this tutorial, you should beContinue reading “How to Send Simple Emails in Python”

%d bloggers like this: