def label_smooth(num_classes, epsilon, encoded_data_point):
    """
    Simple label smoothing 
    Input: num_classes: number of classes
           epsilon: epsilon value 
           encoded_data_point: one hot encoded data point
    """
    smoothed_point = encoded_data_point * [1. - epsilon] + (1. - encoded_data_point) * (epsilon/float(num_classes - 1.))
    return smoothed_point