Minor typo in `/docs /Tutorial_Shapelet_Discovery.ipynb`
NimaSarajpoor opened this issue · comments
The following code cell in the notebook /docs /Tutorial_Shapelet_Discovery.ipynb
has a minor typo.
Need to fix beteen
def distance_to_shapelet(data, shapelet):
"""
Compute the minimum distance beteen each data sample and a shapelet of interest
"""
data = np.asarray(data)
X = np.empty(len(data))
for i in range(len(data)):
D = stumpy.mass(shapelet, data[i])
X[i] = D.min()
return X.reshape(-1, 1)
Can this be assigned to me?