A note on using performance and data profiles for training algorithms