data = [-1,-5,1,5,3]
soft_max = softmax(data)
print(('softmax(data) = [' + 4*'{:.4e} ' + '{:.4e}').format(*soft_max))
soft_max_sum = np.sum(soft_max)
print('sum(softmax) = {:.3f}'.format(soft_max_sum))
1) what does the star * in 4* and *soft_max mean?
2) What does this part do below?
4*'{:.4e} ' + '{:.4e}'