@staticmethod
def _map_preds(pred):
    """Map the predicted label to another integer or char to be written
        to .csv file

        This is called just before writing the prediction's list to .csv
        file. If labels different from 0, 1, 2, ... are desired, this must
        be overridden to change the prediction's list to anything desired.

        :param pred: integer prediction predicted by the nn.torch model
        :type pred: int
        :return: an integer or character representing the prediction
        :rtype: int or str
        """
    return str(pred.item())
