Building a recommendation system using product embeddings

For competitive, low-margin businesses, a store’s layout can be the difference between surviving and getting wiped out. To drive more sales, businesses are using recommendation systems in online stores, and data-driven nudging at brick-and-mortar locations. How can purchasing data be turned into sales? We can use an unaltered version of the word2vec algorithm used in…

Read More


Word segmentation in Python

What is word segmentation? Word segmentation (also called tokenization) is the process of splitting text into a list of words. Humans can do this pretty easily, but computers need help sometimes. At a higher level, you can think of segmentation as a way of boosting character-level models that also makes them more human-interpretable. Setup First,…

Read More


Optimizing fast food orders using Linear Programming in Python

Introduction Fast food is one of many industries that emerged from the construction of the American highway in the 20th-century. Greater mobility led to completely new ways to shop. Smaller menus meant higher efficiency and cheaper, faster food. Today, menus have been getting larger in response to increasing competition, fallout from the health backlash in…

Read More