Data augmentation is a very useful and widely used method in data science. Especially, it can increase the sample size of the training set for machine learning models. Rarefy for Augment uses a simple rarefaction method to achieve data augmentation. The data augmentation should only be implemented on the training data set.

install guide: