Classification and Regression Training in Parallel Using NetworkSpaces