Assorted collection of functions for classification and regression