The Mondrian Process for Machine Learning