Pattern discovery is an important concept in the field of data science. The ability to recognize a pattern is a very essential skill set for a data science professional to make accurate decisions. Though the pattern discovery skill generally comes with past experience, common sense, and intuition, there are also ways to extract it from the dataset.
The simplest way to know about the patterns in the dataset would be to visualize the data and look out for patterns in it. This method is very appropriate for the time series data to know about the seasonality and trends hidden in it.
As we have already covered visualizing data in R in the previous chapter, we will focus only on learning affinity analysis, which looks out for the co-occurrence of events in the dataset that would be impossible to know from just visualizing the data or browsing through it. Additionally, we will study about the sequence analysis where we will analyze various sequences of events and understand...