Articles by Learning Machines

The Solution to my Viral Coin Tossing Poll

April 28, 2021 | Learning Machines

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

Backtesting Options Strategies with R

April 14, 2021 | Learning Machines

We have already covered the backtesting of trading strategies in this blog (see Backtest Trading Strategies Like a Real Quant), so let us up the ante: if you want to learn how to backtest options strategies, read on! Options trading strategies are strategies where you combine, often several, derivatives instruments ... [Read more...]

Pseudo-Randomness: Creating Fake Noise

March 23, 2021 | Learning Machines

In data science, we try to find, sometimes well-hidden, patterns (= signal) in often seemingly random data (= noise). Pseudo-Random Number Generators (PRNG) try to do the opposite: hiding a deterministic data generating process (= signal) by making it look like randomness (= noise). If you want to understand some basics behind the scenes ... [Read more...]

R Coding Challenge: How many Lockers are Open?

February 2, 2021 | Learning Machines

The German news magazine DER SPIEGEL has a regular puzzle section in its online version, called “Rätsel der Woche” (“Riddle of the Week”). Some of those puzzles are quite interesting but I am often too lazy to solve them analytically. So I often kill two birds with one stone: ... [Read more...]

ELIZA Chatbot in R: Build Yourself a Shrink

January 26, 2021 | Learning Machines

More and more companies use chatbots for engaging with their customers. Often the underlying technology is not too sophisticated, yet many people are stunned at how human-like those bots can appear. The earliest example of this was an early natural language processing (NLP) computer program called Eliza created 1966 at the ... [Read more...]

Create Return Triangle Plots with R

January 19, 2021 | Learning Machines

How lucrative stocks are in the long run is not only dependent on the length of the investment period but even more on the actual date the investment starts and ends! Return Triangle Plots are a great way to visualize this phenomenon. If you want to learn more about them ... [Read more...]

Learning R: Christmas Coding Challenge

December 22, 2020 | Learning Machines

In this year’s end post I will give you a little programming challenge! Everybody knows the Christmas song “The Twelve Days of Christmas”! Your task is to write an R script that creates the lyrics! The lyrics are the following: On the first day of Christmas My true love ... [Read more...]

Create Bart Simpson Blackboard Memes with R

November 10, 2020 | Learning Machines

Everybody knows the Simpsons, everybody loves the Simpsons and everybody can laugh about Bart Simpson writing funny lines on the blackboard! If you want to create your own Bart Simpson Blackboard Meme Generator with R read on! Conveniently enough there is a package for creating memes already (who would have ... [Read more...]
1 2 3 4 7

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)