Machine learning utility functions for Julia