Base58Check encoding in Python

Non-Sequential Base Systems Bitcoin’s Base58 Base58 is a binary to text encoding developed for displaying the 20-byte integer representing a Bitcoin address. Base58 is the same as base 64, but without the +, /, 0, O, I, and l symbols. 123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz The encoding prevents confusion between letters, especially when handwritten and across different fonts. The…

Read More




Modeling Glassdoor job descriptions as a Bag-of-Words

Since the launch of its public beta in 2008, Glassdoor has become the gold standard for company satisfaction ratings. They also have a classifieds section comparable to LinkedIn, Indeed, and others. Glassdoor provides examples of job descriptions with company ratings in context. This makes it easy to compare what good and bad companies have in…

Read More



Applying A* path finding to latent word vectors

Path finding algorithms There are many algorithms for finding the shortest path between two points, but few are better known than Dijkstra’s algorithm and the A* algorithm. Dijkstra’s algorithm Dijkstra’s algorithm is often described as being “shortest-path first”. This is a greedy approach that isn’t suitable for large graphs. Source: wikimedia.org A* search algorithm A*,…

Read More



Building a recommendation system in Python

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