Mike's Technology and Finance Blog covers a number of different topics in finance and technology. Most technical posts provide architecture, development, implementation, troubleshooting techniques for different Enterprise IT systems that run on the Windows, UNIX, and Linux platforms. Some posts also include my personal opinions and rants.
I don't usually pay too much attention to ads on the Internet, but a recent Amazon ad caught my eye and has caused me some confusion. I've been studying a bit on facial expression, facial action (based off of the work of Dr. Paul Ekman), microexpressions, and lie detection and there are a number of emotions that have been found to be universal. Before I go too much further, look at the following ad and interpret the emotion shown in the top picture.
Before we go into what facial expression this is, let's start by asking ourselves "If I had been propositioned for a cheap date, what emotion would I feel?" In most circumstances, I'd probably say that either an anger or disgust expression (or perhaps a blend of the two) would be shown, but neither of those are present. Thinking through the universal emotions (surprise, fear, anger, disgust, happiness, and sadness), the 2 emotions that hit the bottom of the list of the ones that I'd expect to see are happiness and fear (because someone asked on a cheap date could simply say no).
The expression has most of the signs of a fear expression, though the brow is less raised (AU1 and AU2) than you might expect (you would typically expect to see horizontal wrinkles on the forehead that may or may not stretch all of the way across).
The takeaway here is that the marketers at Amazon need to figure out their own emotions, since the ones that they are showing in their ads make no sense...
I am working on a Big Data experiment where I am using artificial neural networks to classify different data sets into conforming and non-conforming patterns and I needed a good artificial neural network library in C#.Net.
I surveyed a number of implementations and was dismayed that I could not find a good one. I was even more dismayed by the number of blog posts and code articles that had deeply flawed implementations, where someone couldn't expect to get these implementations to work in test, much less production.
So... because I couldn't find a good implementation, I built my own library into my Big Data application. I am going to play the implementation details close to the chest, but I wanted to share one of my unit tests that I developed for the Backpropagation algorithm since it was time consuming to work out an example in Microsoft Excel. I could not find any other worked examples online, so I built an example by hand in Microsoft Excel for the following network:
I use both weights on the adjacencies and a threshold/bias factor for each node and I used the hyperbolic tangent function for the activation function. Below is the Visual Studio Unit Test showing the worked example. For simplicity, I round everything to 6 decimal points for test purposes.