Publications by Learning Machines

Recidivism: Identifying the Most Important Predictors for Re-offending with OneR

20.04.2021

In 2018 the renowned scientific journal science broke a story that researchers had re-engineered the commercial criminal risk assessment software COMPAS with a simple logistic regression (Science: The accuracy, fairness, and limits of predicting recidivism). According to this article, COMPAS uses 137 features, the authors just used two. In this p...

5291 sym R (9179 sym/8 pcs) 4 img 1 tbl

The Solution to my Viral Coin Tossing Poll

28.04.2021

Some time ago I conducted a poll on LinkedIn that quickly went viral. I asked which of three different coin tossing sequences were more likely and I received exactly 1,592 votes! Nearly 48,000 people viewed it and more than 80 comments are under the post (you need a LinkedIn account to fully see it here: LinkedIn Coin Tossing Poll). In this post ...

3123 sym R (3833 sym/4 pcs) 6 img

Learning Statistics: On Hot, Cool, and Large Numbers

06.05.2021

My father-in-law used to write down the numbers drawn on the lottery to find patterns, especially whether some numbers were “due” because they hadn’t been drawn for a long time. He is not alone! And don’t they have a point? Shouldn’t the numbers balance after some time? Read on to find out! The perceived paradox arises because long str...

3659 sym R (376 sym/3 pcs) 10 img

The Most Advanced AI in the World explains what AI, Machine Learning, and Deep Learning are!

12.05.2021

This is our 101’st blog post here on Learning Machines and we have prepared something very special for you! Oftentimes the different concepts of data science, namely artificial intelligence (AI), machine learning (ML), and deep learning (DL) are confused… so we asked the most advanced AI in the world, OpenAI GPT-3, to write a guest post for ...

5738 sym 4 img

Fame: Is Becoming a Star Written in the Stars?

19.05.2021

I sometimes joke that as an Aries I don’t believe in zodiac signs. But could there still be some pattern, e.g. in the sense that people born in spring are more prone to success than those born during the winter months? In this post, we will provide a definitive answer with one of the most fascinating datasets I have ever encountered, so read on...

2894 sym R (1880 sym/4 pcs) 2 img

Learning R: Creating Truth Tables

27.05.2021

A short one for today: in this post we will learn how to easily create truth tables with R and will contribute our code to the growing repository of Rosetta code. I hope that you will learn a few tricks along the way, so read on! We have covered bits of code that I contributed to Rosetta Code on this blog before (see Category: Rosetta Code). Thi...

2121 sym R (2258 sym/2 pcs) 2 img

Understanding Public-Key Cryptography by Mixing Colours!

02.06.2021

Public-key cryptography is one of the foundations of our modern digital life. Normally it is quite hard to understand but with our literally colourful explanation it is a walk in the park. At the end we also give the nerd version, so read on! One problem with cryptography is that you often would like to have a shared secret key to encrypt and de...

4420 sym R (1831 sym/8 pcs) 18 img

Financial X-Rays: Dissect any Price Series with a simple Payoff Diagram

09.06.2021

Not many people understand the financial alchemy of modern financial investment vehicles, like hedge funds, that often use sophisticated trading strategies. But everybody understands the meaning of rising and falling markets. Why not simply translate one into the other? If you want to get your hands on a simple R script that creates an easy-to-un...

4731 sym R (2973 sym/8 pcs) 18 img

Will I get my Money back? Credit Scoring with OneR

16.06.2021

More and more decisions by banks on who gets a loan are being made by artificial intelligence. The terms being used are credit scoring and credit decisioning. They base their decisions on models whether the customer will pay back the loan or will default, i.e. determine their creditworthiness. If you want to learn how to build such a model in R y...

3371 sym R (3134 sym/4 pcs) 4 img

R Coding Challenge: 7 (+1) Ways to Solve a Simple Puzzle

23.06.2021

This time we want to solve the following simple task with R: Take the numbers 1 to 100, square them, and add all the even numbers while subtracting the odd ones! If you want to see how to do that in at least seven different ways in R, read on! There are many different solutions possible, making use of several aspects of the R language. So this b...

2612 sym R (1251 sym/8 pcs) 4 img