As promised in the post Learning Data Science: Modelling Basics we will now go a step further and try to predict income brackets with real world data and different modelling approaches. We will learn a thing or two along the way, e.g. about the so-called *Accuracy-Interpretability Trade-Off*, so read on…

Continue reading “Learning Data Science: Predicting Income Brackets”

# Category: Learning R

Posts about learning R

## Learning R: The Collatz Conjecture

In this post we will see that a little bit of simple R code can go a very long way! So let’s get started!

Continue reading “Learning R: The Collatz Conjecture”

## To understand Recursion you have to understand Recursion…

*Sorting* values is one of the bread and butter tasks in computer science: this post uses it as a use case to learn what *recursion* is all about. It starts with some nerd humour… and ends with some more, so read on!

Continue reading “To understand Recursion you have to understand Recursion…”

## So, what is AI *really?*

One of the topics that is totally hyped at the moment is obviously *Artificial Intelligence* or *AI* for short. There are many self-proclaimed experts running around trying to sell you the stuff they have been doing all along under this new label.

When you ask them what AI means you will normally get some convoluted explanations (which is a good sign that they don’t get it themselves) and some “success stories”. The truth is that many of those talking heads don’t really know what they are talking about, yet happen to have a friend who knows somebody who picked up a book at the local station bookshop… ok, that was nasty but unfortunately often not too far away from the truth.

So, what is AI *really?* This post tries to give some guidance, so read on!

Continue reading “So, what is AI *really?*“

## Learning Data Science: Modelling Basics

Data Science is all about building good models, so let us start by building a very simple model: we want to predict monthly income from age (in a later post we will see that age is indeed a good predictor for income).

Continue reading “Learning Data Science: Modelling Basics”

## Hash Me If You Can

We are living in the era of Big Data but the problem of course is that the bigger our data sets become the slower even simple search operations get. I will now show you a trick that is the next best thing to magic: building a search function that practically doesn’t slow down even for large data sets… in base R!

Continue reading “Hash Me If You Can”

## Learning R: A Gentle Introduction to Higher-Order Functions

Have you ever thought about why the definition of a function in R is different from many other programming languages? The part that causes the biggest difficulties (especially for beginners of R) is that you state the name of the function at the beginning and use the assignment operator – as if functions were like any other data type, like vectors, matrices or data framesâ€¦

Continue reading “Learning R: A Gentle Introduction to Higher-Order Functions”

## Why R for Data Science – and not Python?

There are literally hundreds of programming languages out there, e.g. the whole alphabet of one letter programming languages is taken. In the area of data science, there are two big contenders: R and Python. Now, why is this blog about R and not Python?

Continue reading “Why R for Data Science – and not Python?”