Are all training examples equally valuable?