Publications by Learning Machines
Learning Data Science: The Supermarket knows you are pregnant before your Dad does
A few month ago I posted about market basket analysis (see Customers who bought…), in this post we will see another form of it, done with Logistic Regression, so read on… A big supermarket chain wanted to target (wink, wink) certain customer groups better. In this special case we are talking about pregnant women. The story goes that they ide...
4959 sym R (9503 sym/4 pcs) 4 img
Cambridge Analytica: Microtargeting or How to catch voters with the LASSO
The two most disruptive political events of the last few years are undoubtedly the Brexit referendum to leave the European Union and the election of Donald Trump. Both are commonly associated with the political consulting firm Cambridge Analytica and a technique known as Microtargeting. If you want to understand the data science behind the Cambri...
6375 sym R (2626 sym/5 pcs) 30 img
Finding free science books from Springer
Today the biggest book fair of the world starts again in Frankfurt, Germany. I thought this might be a good opportunity to do you some good! Springer is one of the most renowned scientific publishing companies in the world. Normally, their books are quite expensive but also in the publishing business Open Access is a megatrend. If you want to use...
3923 sym R (1600 sym/3 pcs) 6 img 1 tbl
Understanding Blockchain Technology by building one in R
By now you will know that it is a good tradition of this blog to explain stuff by rebuilding toy examples of it in R (see e.g. Understanding the Maths of Computed Tomography (CT) scans, So, what is AI really? or Google’s Eigenvector… or how a Random Surfer finds the most relevant Webpages). This time we will do the same for the hyped Blockcha...
4308 sym R (2318 sym/6 pcs) 4 img
Extracting basic Plots from Novels: Dracula is a Man in a Hole
In 1965 the University of Chicago rejected Kurt Vonnegut’s college thesis, which claimed that all stories shared common structures, or “shapes”, including “Man in a Hole”, “Boy gets Girl” and “Cinderella”. Many years later the then already legendary Vonnegut gave a hilarious lecture on this idea – before continuing to read on ...
3017 sym R (774 sym/2 pcs) 10 img
Data Science on Rails: Analyzing Customer Churn
Customer Relationship Management (CRM) is not only about acquiring new customers but especially about retaining existing ones. That is because acquisition is often much more expensive than retention. In this post, we learn how to analyze the reasons of customer churn (i.e. customers leaving the company). We do this with a very convenient point-an...
6355 sym R (3122 sym/3 pcs) 24 img
Teach R to see by Borrowing a Brain
It has been an old dream to teach a computer to see, i.e. to hold something in front of a camera and let the computer tell you what it sees. For decades it has been exactly that: a dream – because we as human beings are able to see, we just don’t know how we do it, let alone be precise enough to put it into algorithmic form. Enter machine lea...
3570 sym R (2366 sym/12 pcs) 18 img
Learning R: Data Wrangling in Password Hacking Game
Data Scientists know that about 80% of a Data Science project consists of preparing the data so that they can be analyzed. Building Machine Learning models is the fun part that only comes afterwards! This process is called Data Wrangling (or Data Munging). If you want to use some Base R data wrangling techniques in a fun game to hack a password r...
2408 sym R (14830 sym/11 pcs) 12 img
Learning Data Science: Sentiment Analysis with Naive Bayes
As we have already seen in former posts simple methods can be surprisingly successful in yielding good results (see e.g Learning Data Science: Predicting Income Brackets or Teach R to read handwritten Digits with just 4 Lines of Code). If you want to learn how some simple mathematics, known as Naive Bayes, can help you find out the sentiment of t...
6494 sym R (6129 sym/6 pcs) 32 img
Create realistic-looking Islands with R
Modern movies use a lot of mathematics for their computer animations and CGI effects, one of them is what is known under the name fractals. In this post, we will use this technique to create islands with coastlines that look extraordinarily realistic. If you want to do that yourself read on! I was lucky enough to meet Professor Benoit Mandelbrot...
2887 sym R (2050 sym/10 pcs) 24 img