### Running GitHub Actions Sequentially

July 26, 2020 |

TL;DR: If you need sequential execution in GitHub Actions consider these solutions: Sequential steps: Steps within a job are always executed sequentially! Sequential jobs: Set max-parallel: 1 within the jobs.strategy element of the workflow. Sequential workflows: Use a repository_dispatch API call at the end of the workflow to ...

### R can help decide the opening of pandemic-ravaged economies

July 26, 2020 |

Epidemiological models do not provide death forecasts.  Statistical models using inverse Mills ratio, generalized linear models (GLM) with Poisson link for death count data plus autoregressive distributed lag (ARDL) models can provide improved death forecasts for individual states. See details at http://ssrn.com/abstract=3637682  and http://ssrn.com/abstract=3649680 ... [Read more...]

### A beginner’s guide to Shiny modules

July 25, 2020 |

Recently, I argued the case on Twitter that Shiny modules are not an advanced topic and can actually be a great way for novice Shiny developers to start building more complex applications. My Shiny hot take is that modules are **not** an advanced topic. IMHO it's so much easier and ...

### Moving House

July 25, 2020 |

After reading up on Blogdown, I decided to take the plunge and move my Wordpress blog thinkr to Hugo Academic + Netlify as Quantum Jitter. Motivation My existing site looks (soon-to-be looked) pretty good. But it’s expensive to maintain. I was sp... [Read more...]

### Favourite Things

July 25, 2020 |

theme_set(theme_bw())

cols <- wes_palette(name = "IsleofDogs1")
Each project closes with a table summarising the R tools used. By visualising my most frequently used packages and functions I get a sense of where I may most benefit from going deeper and keeping abreast of the latest breaking changes. I may also spot superseded functions e.g. ...

### Spotify Cross-Playlist Predictions, Part 2

July 25, 2020 |

This is a follow up to the previous post, where the mechanics of making cross-playlist predictions were covered. This post covers the second half of the project: now that we have the analysis method and the important functions worked out in practice, we need to code this functionality into a ...

### evaluating vector space models with word analogies

July 25, 2020 |

Introduction Corpus & model Evaluation & analogy Experimental set-up Results: model parameters Results: analogy categories Visualizing vector offsets Summary & caveats References Introduction This post walks through corpus-based methods for evaluating the efficacy of vector space models in capturing semantic relations. Here we consider the standard evaluation tool for VSMs: the offset method ...

### New version of pqR, with automatic differentiation and arithmetic on lists

July 25, 2020 |

I’ve released pqR-2020-07-23, a new version of my variant implementation of R.  You can install it on Linux, Windows, or Mac as described at pqR-project.org. Installation must currently be from source, similarly to source installs of R Core versions of R. This version has preliminary implementations ...

### A review of my experience with the Big Data Analysis with Scala and Spark course

July 25, 2020 |

Introduction Apache Spark is an open-source distributed cluster-computing framework implemented in Scala that first came out in 2014 and has since then become popular for many computing applications including machine learning thanks to among other aspects its user-friendly APIs. The popularity also gave rise to many online courses of varied quality. ...

### Pole Position Prediction- A tidymodels Example

July 25, 2020 |

Hello readers, today’s blog I will be looking at predicting the formula 1 grid using the Tidymodels collection of R packages. The idea is to use data from the practice sessions on a Friday, to give an idea of what the grid is expected to be for the race on ...

### Aligning the Dots On COVID Prison Waffles

July 24, 2020 |

The Marshall Project has a solid story and set of visualizations on the impact of COVID-19 in U.S. prisons. They keep the data (and vis) regularly updated. They do great work and this is an important topic, but this visualization breaks my “ordered grid” OCD: To be fair, it’...

### anytime 0.3.8: Minor Maintenance

July 24, 2020 |

A new minor release of the anytime package arrived on CRAN overnight. This is the nineteenth release, and it comes just over six months after the previous release giving further indicating that we appear to have reached a nice level of stability. any... [Read more...]

### Tidyverse Basics: Load and Clean Data with R tidyverse Tools

July 24, 2020 |

Messy datasets are everywhere. If you want to analyze data, it’s inevitable that you will need to clean data. In this tutorial, we're going to take a look at how to do that using R and some nifty tidyverse tools.We'll load, clean, and prep some Brooklyn real estate ... [Read more...]

### labourR 1.0.0: Automatic Coding of Occupation Titles

July 24, 2020 |

Occupations classification is an important step in tasks such as labour market analysis, epidemiological studies and official statistics. To assist research on the labour market, ESCO has defined a taxonomy for occupations. Occupations are specified and organized in a hierarchical structure based on the International Standard Classification of Occupations (ISCO). ...

July 24, 2020 |

R is a case sensitive programming language, which sometimes creates unusual and yet annoying problems for users. A common mistake that I often make when using R is to press the shift button too early when I use the head() function – which results in heaD(). However, this returns an error ... [Read more...]

### LSBoost: Explainable ‘AI’ using Gradient Boosted randomized networks (with examples in R and Python)

July 23, 2020 |

Explainable 'AI' with Gradient Boosted randomized networks.

### LSBoost: Explainable ‘AI’ using Gradient Boosted randomized networks (with examples in R and Python)

July 23, 2020 |

Explainable 'AI' with Gradient Boosted randomized networks.

### LSBoost: Explainable ‘AI’ using Gradient Boosted randomized networks (with examples in R and Python)

July 23, 2020 |

Explainable 'AI' with Gradient Boosted randomized networks.

### River flow directions

July 23, 2020 |

I recently created a visualization of the distribution of river flow directions and also of coastal orientations. Following its publication in social networks (here), I was asked to make a post about how I did it. Well, here we go to start with an example of rivers, coastal orientation is ...