R

How to create decorators in R

Introduction One of the coolest features of Python is its nice ability to create decorators. In short, decorators allow us…

4 years ago

3 recommended books on learning R

I sometimes get asked how I got started learning R. I thought I would use this post to go through…

4 years ago

How is information gain calculated?

This post will explore the mathematics behind information gain. We'll start with the base intuition behind information gain, but then…

4 years ago

Evaluate your R model with MLmetrics

This post will explore using R's MLmetrics to evaluate machine learning models. MLmetrics provides several functions to calculate common metrics…

4 years ago

How to import Python classes into R

Background This post is going to talk about how to import Python classes into R, which can be done using…

4 years ago

mapply and Map in R

An older post on this blog talked about several alternative base apply functions. This post will talk about how to…

4 years ago

How to get an AUC confidence interval

Background AUC is an important metric in machine learning for classification. It is often used as a measure of a…

5 years ago

Really large numbers in R

This post will discuss ways of handling huge numbers in R using the gmp package. The gmp package The gmp…

5 years ago

BeautifulSoup vs. Rvest

This post will compare Python's BeautifulSoup package to R's rvest package for web scraping. We'll also talk about additional functionality…

5 years ago

Testing the Collatz Conjecture with R

Background The Collatz Conjecture is a famous unsolved problem in number theory. If you're not familiar with it - the…

5 years ago