Written by:  

Itility

Solving 3 everyday problems using data science

Data science. Sometimes it seems like a mystery box of which the contents are relatively unknown. As a non-data scientist, it can sound complicated, abstract, and well – quite difficult. No wonder you sometimes struggle with how to implement data science into your business and try to wrap your mind around how to create value with it. Because you know it offers a world of possibilities to improve your business. But let’s take away the complexity of data science for a minute. Let’s take a moment to find out that we are actually quite familiar with the principles of data science. In fact – we use them every day.

In essence, we all are data scientists. You make data driven decisions faster than a Tesla Roadster can drive. Your brain is so much more powerful than most of the algorithms that have been created by mankind, because those mostly try to replicate what the human brain can already do. Let’s dive into some examples.

1. What to wear? (machine learning + simulation)

07:15. Your alarm clock goes off. Of course you hit the snooze button, so 10 minutes later you jump out of bed and take a hot shower. When you are done, you go to your wardrobe and choose some clothes to wear. This is where data science comes in. As we all know, choosing clothes can be a very complicated decision. Yet, your brain is able to perform this task relatively fast.

Despite your best intentions, however, you could make the wrong decision and end up having a bad day. Choosing an outfit you are happy with depends on multiple variables. An important one might be if you wore the outfit recently. Also, special rules exist about item combinations that are absolute no-go’s – such as wearing socks in sandals, or combining dark brown and bright purple. A major indicator might be the activity you plan to do that day (work, sports), and also the weather is likely to have a big impact. How can we utilize this information to choose the clothes for today that you are most satisfied with?


Let’s imagine we have observations of every day in your life. By using machine learning, we can predict your happiness based on the available variables. We do this by observing results from the past, where we detect the ‘hidden’ rules between combinations of the variables. For instance, if you were happy wearing a “blue shirt + beige pants” combination on a non-rainy workday, it would be recommended to try this outfit again if such a day occurs again. Over time, your brain has developed the ability to make this decision within a split second.

Another technique which mimics the brain is simulation. Suppose we have the choice between the outfits “green shirt + white pants”, “yellow vest + swimsuit”, “red polo + black shorts”. When we need to decide which one to wear on the next day, we can picture ourselves wearing those outfits. Or we test what our previously made machine learning model predicts as “happiness indication”. Based on the outcome, we are able to choose the best outfit.

Using these techniques we can find the best outfit for the coming day. But in some cases, the effort of running these models consciously every day might decrease your happiness more than the occasional bad judgement of clothes. However, in business, large costs come into play when a bad judgement call is made. So using these techniques are actually a huge benefit in organizational decision making.

2. Grocery shopping (pattern mining)

Another example. You are relaxing at home on your nice big sofa, when suddenly you feel hungry. You manage to pull yourself up and stumble to your refrigerator to grab a bite. Unfortunately, it is completely empty, so you go to the store to buy some of your favorite food. But what are you going to buy? Your brain solves this question by performing an algorithm that is known as pattern mining.

Suppose you like buying common products like cheese, ham or marmalade. It is very likely, that you are also buying bread, since you (and many others) know they taste well together. And people that buy bread also buy milk most of the time, because most people in the Netherlands are raised that way and think those products work well together. Everybody makes these connections between products in their head. Think of eggs and bacon, pasta and tomato sauce, etc. It is an example of pattern mining.

By the way – supermarkets would be very happy with this information. It could significantly increase their profits. For example, if they put a huge discount of 50% on ham, they not only get rid of extra stock, but it is likely that more bread and milk will be bought as well. That means a slight increase of the prices on those products results in more money. To figure out which groceries most people buy together, supermarkets keep record of the receipts of their customers.

Finding relations in a constructive and data driven way can result in some valuable hidden gems in almost any branch. Using a smart algorithm that detects all probabilities and power of the relations, these gems can be discovered. For instance, if ham/marmalade/cheese is bought, people will always buy bread. Apparently, milk is always bought together with ham. So, we can deduce that if we increase the demand for ham, the demand for bread and milk will very likely go up as well. A very interesting data science business case.

3. A night in the club (speech recognition)

A third example. Imagine it is finally weekend. You meet up with friends and have a few beers. When relocating to your favorite club, it is so noisy that you can only understand half of what your friends are saying. Despite this discomfort, everyone is having the time of their lives, so you decide to stay there and let your brain handle the speech recognition algorithm in the conversations with your friends.

This means you hear part of a sentence and auto-complete it yourself. Suppose you hear: “Hey, … I get another … for you?”. You automatically fill in the blanks and make an educated guess that you were asked whether you need a refill, so you reply with a nodding gesture and point to your empty glass. But now we want to capture this trick of your brain with actual data. Speech can be represented as sound waves with a certain frequency.

And although every person has a unique voice, their sound waves are quite similar. If we collect enough of these sound samples and the words or sentences they represent, we can predict what someone says by checking which sound pattern is most similar to the pattern this person produces. Even if there are words missing from a sentence, which results in missing data, the algorithm is still able to find the most probable message. This technique can be used to learn robots or voice assistants to respond to human commands, which is not only cool, but also valuable.

Conclusions

These examples show that you use data science every day. You have access to the most powerful algorithms, hidden inside you. Data science is about replicating the logic which is already present in the human brain. So the truth is – we don’t use data science to create complicated models. We use data science to resemble reality. How can your business benefit from that?

Make sure to subscribe below to receive more inspiring stories – directly into your inbox.