To illustrate how neural networks work, let's start with an example. We'll use an example from demand prediction in which you look at the product and try to predict, will this product be a top seller or not?
Let's take a look. In this example, you're selling T-shirts and you would like to know if a particular T-shirt will be a top seller, yes or no. You have collected data of different T-shirts that were sold at different prices, as well as which ones became a top seller. This type of application is used by retailers today to plan better inventory levels and marketing campaigns.
To set us up to build a neural network, I'm going to switch the terminology a little bit and use the term ( a ) to denote the output of this logistic regression algorithm.
The term ( a ) stands for activation, and it's a term from neuroscience. It refers to how much a neuron sends a high output to other neurons downstream.
Let's now look at a more complex example of demand prediction. In this example, we're going to have four features to predict whether or not a T-shirt is a top seller.
Affordability, awareness, and perceived quality are activations. These activations represent the degree to which the neural network predicts each factor.
In previous methods, we manually combined features. Neural networks, however, learn to create their own features, reducing the need for manual engineering.