Connect with us

Sciences et technologie

Episode 4: What’s Data Science got to do with Netflix’s recommender system?

Data Overflow

Published

on

[simplicity-save-for-later]

Advances in data science have changed the way we communicate, share, and receive information. Consider how big data has changed our TV and movie experiences for instance. Companies like Netflix collect thousands of data points from several places to make suggestions to users with the help of a tool known as a recommender engine.

Netflix’s recommendation algorithm has a RMSE (root mean squared error) of 0.88, which basically means that the differences between suggestions presented by this model and the user needs are hardly any. This state-of-the-art algorithm is the result of a machine learning and data mining competition with a 1 million dollar prize money. But how did the winning engineering team build it? And how does it work?

Before we dive deeper, let’s say that Netflix is a subscription based streaming service and thus its success can be seen as a function of acquisition rate of new users, cancellations and the rate at which former members rejoin. Simply put, the more members Netflix has, the higher its revenue. That’s why the company holds dear the satisfaction of its customers and it has the recommendation algorithm to thank for it. To demonstrate how important the recommendation engine is for Netflix’s incomes, 80% of stream time is achieved through this system which translates to 1 Billion dollars of savings on customer acquisition.

Netflix uses machine learning to give the platform the ability to automate millions of decisions based on user activities. When Netflix recommends “How I Met Your Mother” because I like “Friends”, machine learning was behind that decision. This suggestion is the Netflix recommendation engine at work: it uses your past activity and returns movies and shows it thinks you would enjoy. But how is that any different from any other recommendation system?

There are multiple potential methods for creating a recommendation algorithm. A basic implementation would be the editorial method in which the platform would make suggestions based on a small number of users such as critics. Another easy one is named the simple collection method where suggestions are based on the top products across the platform. Netflix doesn’t use these methods because they do not allow personalization, nor cover the breadth of the movie catalogs and user preferences. Instead, Netflix slays the recommendation game by the use of personalized methods where movies and shows are suggested to the users who are most likely to enjoy them based on their personal ratings and people with similar interests. This way, the Netflix methodology accounts for the diversity in its audiences and its very large catalog.

Thanks to machine learning, the Netflix engineering team was able to create a “smart” platform that calculates the likelihood of a user liking a product. To understand the probability aspect of the algorithm, let’s consider this example: a utility matrix that is obtained by placing a score on the relationship between users and a movie type to predict their preferences.

Each user has seen titles on Netflix, liked some and disliked some. Based on the utility matrix, Netflix may recommend to user A a “whodunit” since they liked the thrilling plot of a horror movie they have seen recently whereas the algorithm would recommend a soft and light-hearted movie to user B because they did not like a horror movie they saw last week and give user C romance movies suggestions. And thus, each user will receive a suggestion that’s personalized for them!

Netflix interface also uses video ranking algorithms like Personalized Video Ranker (or PVR) which usually filters down the catalog by a certain criteria (violent, romance, thriller…), Top-N Video Ranker which is similar to PVR but looks only at the head of the ranking and Trending Now Ranker which captures temporal trends which Netflix deduces to be strong predictors. These rankers are used to form a row based interface where it is easy to get feedbacks as a right scroll on a row would indicate interest whilst a scroll down would indicate non-interest or irrelevance.

 

In a nutshell, Netflix’s recommender system collects a huge amount of data from customer behavior that is then used by machine learning algorithms in order to perfect the user experience.

 

Resources:

How does Netflix recommend movies? matrix factorization

Deep Dive into Netflix’s Recommender System

Share your thoughts

Continue Reading

Sciences et technologie

Chapter 2 : England, the Discovery of Vaccines.

insatpress

Published

on

[simplicity-save-for-later]

By

Fast breathing, clenched fists, and hunched shoulders are common signs of tension that most people show as the vaccination syringe approaches the body whilst 300 years ago people took the same syringe with great joy and hope.
The reason is that we are clueless of what humanity endured before the « blessing » of vaccines came to light.
Let me tell you the tale of one of humankind’s greatest inventions through the eyes of a time walker. This invention actually underwent a lengthy process of discovery, development, and improvement that lasted for centuries.

And our wanderer walked down the lane of the 1700s, when English physician Edward Jenner overheard a girl boasting to her friend that she would not contract smallpox because she had already contracted cowpox and she will have a flawless face free from pox blisters.

The doctor thought that the idea was brilliant even though it seemed silly.
Why not provide cowpox vaccination instead of the usual inoculation which involved inserting fresh smallpox material, such as blisters from a sick individual, under the skin of a nonimmune person considering that 3 percent of people died due to variolation using the previous method?
Smallpox and cowpox both belong to the same family « poxviridae » and once the disease is transferred from cows to people, it became weakened
In order to give the immune system the memory it needs to fight smallpox once it enters the body, the doctor came up with the brilliant idea of infecting his patients with cowpox, which is contagious but much less dangerous than what smallpox can do to a human. He called this procedure « the variolae vaccine » and performed it on a boy for the first time. In 1796, at that same time, the idea of a modern vaccination was born. The boy lived and showed no signs of smallpox. And Edward Jenner branded himself as « the father of immunology » in history.
From that time until 1850, vaccination evolved, and then the arm-to-arm vaccination practice emerged, posing a safety concern because this new method of immunization allows for the transmission of bacteria and other diseases from one person to another.
Sydney Cooper, a microbiologist, discovered in 1896 that adding glycerin to the blistering agent used during the procedure could make this vaccination safer.
As a result, scientists were able to create the vaccine « dryvax, » which was used in the 1967 big WHO vaccination campaign that was a complete success.
The smallpox was eradicated, and research continued in the years that followed to reduce the vaccine’s side effects and make it more effective.
With knowledge, observation, try and error as well as the absurd notion of a normal girl, which we can term « luck » and the culminated work of many minds, many hands, many hearts during hundreds of years, this holly tool of science was created.
People like us who were born in an era where a new vaccine could be developed in one or one and a half year to stop a worldwide pandemic are unable to appreciate the blessing that this discovery brought to the world.

One of the deadliest diseases in human history, smallpox is believed to have killed hundreds of millions of people throughout history with a death rate of 30%, compared to coronavirus’s 3%, just to imagine the nightmare it caused to humanity; the battle that humans won against it is one of history’s greatest victories.
Granted with hardiness and protection, waiting for the secret work of a needle in their bodies, with calm breaths and relaxed shoulders people received their vaccine.
May humanity always strive in preserving a world rich of life and vitality.

Written By : Nada Arfaoui.

Share your thoughts

Continue Reading

Made with ❤ at INSAT - Copyrights © 2019, Insat Press