All posts in Algorithm Spotlight

A Fast Way to Scrape Image URLs from Webpages


Let’s say you’ve created an awesome application that colorizes images. Everybody loves it, but some users are getting errors.

You realize they’re trying to pass a URL to a webpage with an image on it, instead of a direct path to the image itself. Your app is expecting a .JPG, or .PNG. Read More…

Use Smart Thumbnail to Perfectly Crop Images Programmatically

Image Cropping API
It’s not easy to dynamically scale and crop images of different sizes or aspect ratios. Typically, this is resolved in one of two ways: manipulate images by hand (slow, high quality, expensive), or indiscriminately crop-to-fit from the middle-out (fast, low quality, cheap). Read More…

Use LDA to Classify Text Documents

LDA Topic TagsThe LDA microservice is a quick and useful implementation of MALLET, a machine learning language toolkit for Java. This topic modeling package automatically finds the relevant topics in unstructured text data.

The Algorithmia implementation makes LDA available as a REST API, and removes the need to install multiple packages, manage servers, or deal with dependencies. This microservice accepts strings, files, and URLs, as well as the ability to include a stop word list as an argument. Read More…