Description
def default_weights(n):
“””
Create the default list of weights, a numpy array of length n
with each value equal to 1/n
Example:
n = 10
dw = default_weights(n)
print(dw) #–> np.array([0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1])
“””