A set of loss functions for training regression algorithms