Association Rules for Market Basket Analysis using arules package in R. The data set can be load from within R once you have installed and loaded the arules package. Association Rules are an Unsupervised Learning technique used to discover interesting patterns in big data that is usually unstructured as well.