Categories API

16 posts

Auto Added by WPeMatico

Building Prediction APIs in Python (Part 2): Basic Error Handling

In the initial series post, we created a simple API to score a Scikit-Learn random forest classifier built on the iris dataset. In this post, we’ll explore how we can handle errors that occur during scoring as well as look at the broader topic of defining when a model should […]

Building Prediction APIs in Python (Part 1): Series Introduction & Basic Example

Ok, so you’ve trained a model, but now what? All that work is meaningless if no one can use it. In some applications, you can simply create a batch job that will collect the records that need to be scored, prepare them, and the run the model. However, other applications […]

Building Prediction APIs in Python (Part 3): Automated Testing

In the last post, we improved the error handling of our prediction API and considered the nuanced decision about which records we should score. In this post, we’ll look at how we can test our API using pytest. Building Prediction APIs in Python (Part 1): Series Introduction & Basic Example As […]

Unlocking Web Audio — the smarter way

The Web Audio API provides a powerful and versatile system for controlling audio on the Web, allowing developers to choose audio sources, add effects to audio, create audio visualizations, apply spatial effects (such as panning) and much more. It can be used for developing sophisticated web-based games or interactive applications which […]

Making an uber minimal API

API’s or ‘Application program interface’ are simply ways to handle requests, usually such that the responses are consistent and easy to interpret. This is an essential building block in services that bridge different providers such as the google maps API, or in a microservice architecture such as Netflix. In its most […]