Web apps have exploded in popularity in recent years. Here is how to create a Django project on Ubuntu as of December 2019….
Web apps have exploded in popularity in recent years. Here is how to create a Django project on Ubuntu as of December 2019….
Text is my personal favorite medium for machine learning. Here is why: In computing, a picture is worth a (few hundred) thousand words. As a result, modeling text is more space and compute efficient than visual models. Text arrived first to the internet. This lead time has resulted in better algorithms, and bottomless data. Interpretability…
This article has been updated to reflect changes suggested by one of our readers. Thanks Andrew! Full code is at the bottom of the post. New information, released in an instant, can synchronize the behavior of millions of people. This is magnified by the impact of the information, and the transience of its release. Wikipedia…
Matplotlib has become the standard plotting library in Python. This is thanks to its simple API and NumPy/SciPy integration, making it easy to add interactive plots to any code. In this post, I will walk through how to make animated 3D plots in Matplotlib, and how to export them as high quality GIFs. RGB Color…
In my previous post, I created a product recommendation system using word embeddings. Today, we’ll take it a step further and explore how we can use these vectors to find the shortest path between pairs of words. Dijkstra’s algorithm Dijkstra’s algorithm is a method for finding the shortest path between any two vertices of a…
In this post, we will be diving into the world of context-free grammars to use in evolutionary algorithms. What is context-free grammar? Context-free grammar, also known as CFG, is a specific type of grammar used in computer science and linguistics. It is a set of production rules that define the structure of a language. CFG…
Want to boost sales and stand out from the competition? Implementing a recommendation system can be the key. In this blog post, we’ll show you how to build a product recommendation system using the Python programming language. We’ll be using a modified version of the popular word2vec algorithm to measure the similarity between products, helping…
What is tokenization? Tokenization involves breaking text into individual words, making it easier for computers to understand and analyze meaning. This task applies to various Natural Language Processing (NLP) applications such as language translation, text summarization, and sentiment analysis. In this post, we will explore using SentencePiece, a widely used open-source library for tokenization in…
What is linear programming? Linear programming is a powerful mathematical tool to optimize the mix of items in a set with associated costs and benefits. Constraints are used to form the feasible region, and the optimal solution is found at one of the corner points. This method is helpful in various fields, including Fast Food…