Computation time is one of the important things to consider while doing big data analytics. The efficiency of the algorithm is assessed by the computation time along with other parameters. The objective of using an XDF file instead of the default R data frame is to achieve high speed computation. In this recipe, you will compare the performance in terms of computation time using the default data frame and the XDF file.
Comparing computation time with data frame and XDF
Getting ready
Suppose you have a dataset stored in two different formats. The first one is an CSV file containing nine variables, and the other one is the XDF file containing the same variables. The following are the variable names:
- YEAR
- QUARTER
- MONTH
- DAY_OF_MONTH...