Publications by Learning Machines

Attention! What lies at the Core of ChatGPT? (Also as a Video!)

02.03.2023

Word embedding, self-attention, and next-word prediction lie at the core of LLMs like ChatGPT. If you are curious about how these techniques work and want to see a simple example in R, read on! Last time we talked about LLMs like ChatGPT we gave some intuition about how they worked (see: Create Texts with a Markov Chain Text Generator… and what ...

4270 sym R (1025 sym/3 pcs) 2 img

How Stable is China?

29.11.2022

The current protests in China make many people wonder whether the situation will escalate further. For a demographics-based analysis (youth bulge theory), read on! I also created a video for this post (in German): A series of protests against COVID-19 lockdowns began in mainland China middle of November 2022. The protests started in response to...

2918 sym R (1675 sym/1 pcs) 4 img

ChatGPT can Create Datasets, Program in R… and when it makes an Error it can Fix that too!

09.12.2022

ChatGPT from OpenAI leaves me speechless over and over again. I have been in the AI industry for many decades now and it has been a long time since I last had this feeling of utter fascination mixed with disbelief mixed with anxiety. This is only a quick post in the context of R programming which I wanted to share with you, so read on! So, I ask...

1223 sym R (2999 sym/3 pcs) 14 img

Create Texts with a Markov Chain Text Generator… and what this has to do with ChatGPT!

22.12.2022

Everybody and their dog are talking about ChatGPT from OpenAI. If you want to get an intuition about what lies at the core of such Language Models, read on! I also created a video for this post (in German): I will share a secret with you: at the core of the latest craze, Large Language Models (LLMs), like GPT3, its brother ChatGPT, from OpenAI ...

6053 sym R (1044 sym/2 pcs) 2 img 1 tbl

Which Gender is associated with this Name? R to the R-escue!

10.11.2022

When addressing somebody unknown to you with an uncommon name e.g. in an email you might not know whether this person is male or female. In this post, we make it a little fun project to let R help us with that, so read on! Of course, R cannot figure out the gender just by looking at the names, we need some data! A very impressive dataset can be ...

1992 sym R (772 sym/6 pcs) 4 img

World Cup 2022: My Prediction for Germany in the Group Stage (also as a Video)!

16.11.2022

Predicting football (a.k.a. soccer) games based on statistical models has been one of my hobbies for many years now. Here, I will give you my prediction for Germany in the group stage of the World Cup 2022 with full R-code, so read on! You can also watch the video for this post (in German): The basis of our forecasting tool was explained in thi...

1988 sym R (3724 sym/7 pcs) 16 img

Learning Data Science: Predictive Maintenance with Decision Trees

23.11.2022

Predictive Maintenance is one of the big revolutions happening across all major industries right now. Instead of changing parts regularly or even only after they failed it uses Machine Learning methods to predict when a part is going to fail. If you want to get an introduction to this fascinating developing area, read on! Wikipedia defines predi...

4232 sym R (1495 sym/3 pcs) 6 img

Corona-Superspreading or just “Wiesn-flu”? Should the Oktoberfest be cancelled again?

21.08.2022

The Oktoberfest in Munich, also called “Wiesn” in the local Bavarian dialect, is the world’s largest Volksfest. It had been cancelled for the last two years due to COVID-19. Stakes are running high whether it should be cancelled again this year. To get some perspective, read on! It is obvious that large gatherings of people are spreading i...

3782 sym R (572 sym/2 pcs) 6 img

Please Subscribe to My New (German) Data Science YouTube Channel!

20.08.2022

I am in the middle of creating a new German YouTube channel that is centered around data science and R! I put a lot of effort into it to serve the interests of the community. If you want to be a part of the process, watch interesting videos with data-based analyses and look behind the scenes, please consider subscribing to the channel! The number...

1006 sym 4 img

Youth Bulge theory: Why there won’t be an Uprising in Russia

07.10.2022

Many wonder why there are so few protests in Russia over the brutal war against Ukraine. An answer could lie in the youth bulge theory which we will use again to explain the relative lethargy of the Russian populace, so read on! Since the beginning of the war against Ukraine observers have wondered why there isn’t more political unrest in Russ...

2149 sym R (866 sym/1 pcs) 4 img