So why do I use yhat? Won't this run quite well locally?
yhat is built for embedding these types of analyses in a production application
For example, http://colorbot.herokuapp.com stores the optimal model for the neural network in JSON, right in the code.