Neural network

Neural Networks: what they are and their importance?

One of the business problems we encountered a while ago involved identifying customers who subscribe to a company’s next best product, neural networks can help us determine that.

There was tremendous customer data and a plethora of information hidden in it – both useful and not useful.

As always, we took the BADIR approach to solve the problem. We had already formed a Business Question, the first step of the process. The next steps were the Analysis Plan and Data Collection.

After this, according to our hypothesis, we had a good set of data, both extracted and engineered, that would be relevant in identifying customers.

Since we had over a million rows of data, and Neural Networks love massive amounts of data, we decided to dirty our hands by training a deep neural network.

What are neural networks?

So what are Neural Networks in the first place?

The biological inspiration to build neural networks comes from the brain, specifically neural connections. This structure inspires the building blocks of neural networks. A simple neural network unit – called perceptron can make this clearer –

Three things are happening in a perceptron:

  • All the inputs are being multiplied by the corresponding weights (weights are also referred to as parameters): [latex] $x_i \times w_{ij}$ [/latex]
  • Then all the products of input and weight pairs are being summed up (transfer function ) : [latex]$\sum (x_i \times w_{ij})$ [/latex]
  • The sum is transformed or is acted upon by a function called activation function and the result is passed on : [latex]$f(\sum{x_{i} \times w_{ij}}+\theta)$[/latex

Here θ is called the threshold, or more commonly, the bias term. The neural networks that we use will involve multiple such perceptron units. Each perceptron unit converges to a node, and various nodes make up a layer in our system.

If we keep increasing layers of nodes, the network grows in depth. Hence the term deep neural network.

What is the right architecture?

Well, there is no one correct answer. It all depends on the data patterns and finding the architecture, which gives us the best results. It would help if you started somewhere – so we did some brainstorming and came up with possible suggestions that can provide guidance.

A few pointers to keep in mind before you start building your neural network –

  • It has been found that increasing the depth (adding more layers) works better than adding more nodes in a layer
  • Start with simple architecture, then increase the complexity if you think the data patterns are not appropriately captured
  • Try to ensure that the number of rows to the number of parameter ratios is more than 50. Therefore, don’t build a complex architecture if you don’t have a large dataset
  • In general, nodes in subsequent layers keep decreasing in most architecture

For example, if you have a dataset with about 100,000 rows and about 40 columns, you could build a neural network with two layers – the first layer with 30 nodes and the second layer with 20 nodes. This will mean the neural network will have about 1870 parameters and the ratio of the number of rows to the number of parameters is above 50.

Related Posts

All you need to know about Customer Analytics

Customer analytics is a process by which data from customer behavior helps make critical busines...

How to use Machine Learning to Increase Customer Subscription

For any subscription-based business model - the key to successful growth is customer retention a...

Customer segmentation and its importance Customer segmentation and its importance

Customer segmentation is a methodology under customer analytics used to group customers or products ...

How to use cohort analysis? How to use cohort analysis?

Cohort analysis is a technique used in several analytical methodologies, including customer analytic...

How to acquire new customers? How to acquire new customers?

For businesses to flourish, they need to constantly acquire new and valuable customers. The process ...

Customer retention: Loyalty has its perks Customer retention: Loyalty has its perks

Every business needs new customers to grow. Some of these customers continue to buy the business' pr...

How Aryng identified $500K+ in incremental revenue for Kiva using LTV Analytics

The risk of failure is congenital for every start-up. Blame it on cost challenges, poor product-...

Leave risk behind by embracing customers' needs

Every customer has his/her own needs and preferences. These needs drive customer buying  behavi...

Customer analytics: How to meet individual customer needs? Customer analytics: How to meet individual customer needs?

“The goal as a company is to have customer service that is not just the best but legendary.” –...

Acquisition analytics: how to get more customers Acquisition analytics: how to get more customers

“Get closer than ever to your customers. So close that you tell them what they need well before th...

How to use Retention Analytics to find the best value in your existing customers How to use Retention Analytics to find the best value in your existing customers

"Customer Satisfaction is Worthless. Customer Loyalty is Priceless" - Jeffrey Gitomer "Customer i...

How to get started with Customer Segmentation How to get started with Customer Segmentation

“It’s not the customer’s job to know what they want.” - Steve Jobs Back in the days when th...

How Lifetime Value (LTV) Maximize Your Marketing ROI How Lifetime Value (LTV) Maximize Your Marketing ROI

When it comes to deciding on marketing budget and marketing strategies, the marketing executives pul...

The 5-Stage Customer Retention Cycle The 5-Stage Customer Retention Cycle

Startups who neglect customer retention are essentially leaving money on the table. This is because ...

How to Use Predictive Analytics to Boost Customer Retention in Startups How to Use Predictive Analytics to Boost Customer Retention in Startups

For many startups, improved customer retention is the golden ticket to fast and exponential growth. ...