Posts

I was invited to the SFU/UBC Joint Seminar in Spring 2019 where I gave this talk. ## Warning: package 'ggplot2' was built under …

## Here's a little tutorial on how to use the `factanal` function for Factor Analysis. ## Let's make a data frame using actual …

This tutorial introduces contour plots, and how to plot them in ggplot2. What is a contour plot? Suppose you have a map of a …

This tutorial introduces the concept of a mixture distribution. We’ll look at a basic example first, using intuition, and then describe …

Outline Classification and Regression Trees Motivation Some problems (or at least potential problems) with the local methods …

Motivation: why ensembles? Because a classification or regression tree alone tends to be a poor competitor against other machine …

Overview Maximal Margin Classifier, and hyperplanes Support Vector Classifiers (SVC) Support Vector Machines (SVM) Extensions to …

Does this happen to you? What about bouncing files back and forth amongst collaborators through email? Or even keeping track of your …

Generalized Additive Models To fit a GAM in R, we could use: the function gam in the mgcv package, or the function gam in the gam …

This tutorial discusses the implementation of \(k\)-means (and variants) in R. Let’s use a simulated dataset. Throughout, we’ll take …