Call (+1) 650-212-1212


An Analytica model that recognizes images

Lonnie Chrisman 02 Jun 2018 Analytica 5.0

I had a lot of fun building and playing with an Analytica model that analyses the pixels of an image to figure out what it is an image of. It implements the resnet18 model, a residual network model introduced by 

  • Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun, "Deep Residual Learning for Image Recognition", arXiv:1512.03385 

This residual network architecture swept a large number of the challenges at the 2016 ImageNet competition. My tiny contribution here is that I believe I'm the first person to implement a deep learning model like this within Analytica. It was a fun diversion, and its fun to play with, and kind of neat to see it actually running in Analytica.

This model is way off topic for the types of applications Analytica is usually applied to. Analytica is designed to help people build transparent models to help with decisions that typically involve novel situations with little or no historic precedent. In contrast, here I've leveraged a machine learning algorithm to learn huge arrays of numeric weights to classify the input (not really a decision) based on past training data that should bear similar regularities to future imputs. So it is kind of the opposite on every point! Nevertheless, it was fun to do and interesting and educational to see running entirely in Analytica.

I hope you enjoy.

(6 minutes)

(or Watch directly on YouTube)

The model is available for download here: (44MB). The model currently requires Analytica 5.1 or later, and the Enterprise edition or better. (The Enterprise edition requirement is just due to the functions I used to read in the pre-trained network weights after the model is loaded). Update: I've also added (28KB) which is a different layer architecture that achieves almost the same accuracy with fewer layers and less computation.

And please be sure to follow us on your favorite social media: twitter you-tube facebook

» Back

Lonnie Chrisman

Lonnie Chrisman, PhD, is Lumina's Chief Technical Officer, where he heads engineering and development of Analytica®. He has authored dozens refereed publications in the areas of machine learning, Artificial Intelligence planning, robotics, probabilistic inference, Bayesian networks, and computational biology. He was was in eighth grade when he had his first paid programming job. He was awarded the Alton B. Zerby award "Most outstanding Electrical Engineering Student in the USA", 1987. He has a PhD in Artificial Intelligence and Computer Science from Carnegie Mellon University; and a BS in Electrical Engineering from University of California at Berkeley. Lonnie used Analytica for seismic structural analysis of an extension that he built to his own home where he lives with his wife and raised four daughters: So, he really trusts Analytica calculations!

Leave a Comment