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”

295. Find Median from Data Stream LeetCode Solution

I don’t usually do LeetCode problems, but this one comes up as a real life use case for me so I wanted to share. This problem is about data streaming and handling data in real time. It’s similar to what we call ETL or ELT in industry. LeetCode 295. Find Median from Data Stream ProblemContinue reading “295. Find Median from Data Stream LeetCode Solution”

An Overview of Multiprocessing in Python

Python is one of the most popular programming languages today. However, one big weakness is that Python has no real parallelization capabilities. Multiprocessing is a way to implement virtual parallelization with Python. In this post we’ll cover: What is Multiprocessing? The Python Multiprocessing Library Running two Functions in parallel Multiprocessing Functions with Arguments Multiprocessing forContinue reading “An Overview of Multiprocessing in Python”

Python Multiprocessing Functions with Dependencies

Python multiprocessing is used for virtually running programs in parallel. We can use multiprocessing to simply run functions in parallel and run functions that need arguments in parallel. Sometimes, we also need to be able to access the values generated or changed by the functions we run. In this post we’re going to cover howContinue reading “Python Multiprocessing Functions with Dependencies”

Python Multiprocessing with Arguments

The Python multiprocessing library is a native library that allows virtual parallelization of processes in Python. It’s pretty easy to run multiple functions in parallel in Python, but it’s more complicated to do it when those functions have arguments. In this post we’re going to cover: What Python Multiprocessing Processes Are Creating Functions to RunContinue reading “Python Multiprocessing with Arguments”

Using NLP to Analyze a YouTube Lecture Series – Part 2

In part one of Using NLP to Analyze a YouTube Lecture Series we asynchronously sent API requests to use NLP on downloaded YouTube Transcripts. As part of getting our analyzed data, we had to split up the text data to get all the requests due to internet speed limits. In this post, we’ll combine allContinue reading “Using NLP to Analyze a YouTube Lecture Series – Part 2”

Using NLP to Analyze a YouTube Lecture Series – Part 1

YouTube is one of the best places to learn online today. What if you are just curious what the main points of a series is though? We can use natural language processing to analyze a YouTube series. This way we can gain some insight into what the series is about and decide if we wantContinue reading “Using NLP to Analyze a YouTube Lecture Series – Part 1”

Technical Interviews: Finding the Longest Palindrome

One of the questions you could be asked if you go through a technical interview for a software engineering role is to find the longest palindrome in a given string. This is a medium easy level interview question and shouldn’t take you longer than 15 to 20 minutes to get. If you want to stopContinue reading “Technical Interviews: Finding the Longest Palindrome”

Text Sentiment Analysis and How to Do it

Sentiment analysis is an example of applied Natural Language Processing (NLP). In this context, “sentiment” is almost interchangeable with text polarity. Text polarity is a measure from -1 to 1 of the sentiment of the text. The dictionary definition of sentiment is actually “one’s view or attitude towards something”, so this could include emotions fromContinue reading “Text Sentiment Analysis and How to Do it”

%d bloggers like this: