# Articles by Learning Machines

### WoRdle: Solve Wordle with R!

February 22, 2022 |

Wordle is a daily word puzzle that’s taken the internet by storm: if you want to get some assistance to solve the viral online game, even in hard mode and with any (also future) word lists, read on! There’s a new five-letter word every day that you get ... [Read more...]

### COVID-19: The Incredible Shrinking Boost of the Booster Shot

October 5, 2021 |

With COVID-19 after the vaccination is before the vaccination. Now that most people in the developed countries have been vaccinated the question arises of how much boost is in the booster shot. We are here to help you understand the real power (or lack thereof) of the booster, so read ... [Read more...]

### Solving Einstein’s Puzzle with Constraint Programming

September 30, 2021 |

The following puzzle is a well-known meme in social networks. It is said to have been invented by young Einstein and back in the days I was ambitious enough to solve it by hand (you should try too!). Yet, even simpler is to use Constraint Programming (CP). An excellent choice ... [Read more...]

### The Most Dangerous Equation, or Why Small is Not Beautiful!

September 22, 2021 |

Over one billion dollars have been spent in the US to split up big schools into smaller ones because small schools regularly show up in rankings as top performers. In this post, I will show you why that money was wasted because of a widespread (but not so well known) ... [Read more...]

### Is the Stock Market Efficient? Let your ZIP Compression Tool give an Answer!

September 14, 2021 |

One of the most fiercely fought debates in quantitative finance is whether the stock market (or financial markets in general) is (are) efficient, i.e. whether you can find patterns in them that can be profitably used. If you want to learn about an ingenious method (that is already present ... [Read more...]

### The Pólya Urn Model: A simple Simulation of “The Rich get Richer”

September 7, 2021 |

What is the “opposite” of sampling without replacement? In a classical urn model sampling without replacement means that you don’t replace the ball that you have drawn. Therefore the probability of drawing that colour becomes smaller. How about the opposite, i.e. that the probability becomes bigger? Then you ... [Read more...]

### New Bundesliga Forecasting Tool: Can Underdog Herta Berlin beat Bayern Munich?

August 25, 2021 |

The Bundesliga is Germany’s primary football league. It is one of the most important football leagues in the world, broadcast on television in over 200 countries. If you want to get your hands on a tool to forecast the result of any game (and perform some more statistical analyses), read ... [Read more...]

### The “Youth Bulge” of Afghanistan: The Hidden Force behind Political Instability

August 20, 2021 |

In view of the current dramatic events in Afghanistan many wonder why the extensive international efforts to bring some stability to the country have failed so miserably. In this post, we will present and analytically examine a fascinating theory that seems to be able to explain political (in-)stability almost ... [Read more...]

### Learning Path for “Data Science with R” – Part I

August 17, 2021 |

Over the course of the last two and a half years, I have written over one hundred posts for my blog “Learning Machines” on the topics of data science, i.e. statistics, artificial intelligence, machine learning, and deep learning. I use many of those in my university classes and in ... [Read more...]

### The Small Data Rule: Infer the Big Picture from only Five Values!

July 27, 2021 |

Everybody is talking about big data but the real skill lies in the art of inferring useful information from only a handful of values! If you want to learn how to determine the range of the typical value of a dataset (i.e. the median) with just five values and ... [Read more...]

### Euler Coding Challenge: Build Maths’ Most Beautiful Formula in R

July 14, 2021 |

In this post, we will first give some intuition for and then demonstrate what is often called the most beautiful formula in mathematics, Euler’s identity, in R – first numerically with base R and then also symbolically, so read on! Euler’s identity (also known as Euler’s equation) is ... [Read more...]

### Euro 2020: Will Switzerland kick out Spain too?

June 29, 2021 |

One of the big sensations of the UEFA Euro 2020 is that Switzerland kicked out world champion France. We take this as an opportunity to share with you a simple statistical model to predict football (soccer) results with R, so read on! Football is a highly stochastic game, which is one ... [Read more...]

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

June 23, 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 ... [Read more...]

### Will I get my Money back? Credit Scoring with OneR

June 16, 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 ... [Read more...]

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

June 9, 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 ... [Read more...]

### Understanding Public-Key Cryptography by Mixing Colours!

June 2, 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 ... [Read more...]

### Learning R: Creating Truth Tables

May 27, 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 ... [Read more...]

### Fame: Is Becoming a Star Written in the Stars?

May 19, 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 ... [Read more...]

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

May 12, 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 ... [Read more...]

### Learning Statistics: On Hot, Cool, and Large Numbers

May 6, 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 more...]
1 2 3 7