Data Science Articles

Enjoy higher quality articles on data science tools and techniques from Ben Ogorek and his associates.

Linear Mixed Models in Tensorflow 2.0 via MacKay’s method

By Ben Ogorek

Excerpt:

Despite the many successes of modern neural network toolkits like TensorFlow, one of the advantages of old-school tools like R’s lme4 is that a linear model can have different levels of regularization for subsets of variables. A user-level factor with thousands of levels would likely benefit from more regularization than a US state-level factor, for


Multiple Regression in TensorFlow 2.0 using Matrix Notation

By Ben Ogorek

Excerpt:

While the two were always friendly, TensorFlow has fully embraced the Keras API in version 2.0, making it THE high-level API and further tightening its integration into the platform’s core. From tutorials, videos, press releases, the message is resounding: use the Keras API, unless you absolutely, positively, can’t. All signs point to the Keras API


Data Science Apps in the Cloud with Heroku

By Ben Ogorek

Excerpt:

I recently had an opportunity to work with Heroku, a platform-as-a-service for deploying and running apps, for deploying Python-based data science applications in the cloud. At first, I didn’t understand why the engagement wasn’t just using AWS, since data science related instances abound on the EC2 marketplace. What I learned however is that AWS can