Picks elements from a list according to a list of indices
Samples random instances from the given data
Samples random instances from the given data
Transform 2D list to 2D matrix
Transform 1D list to 1D vector
Transform 1D list to 1D vector of integers (breeze doesn't allow polymorphism?)
Provides auxiliary functions for list to tensor transformation