# UNQ_C17 (UNIQUE CELL IDENTIFIER, DO NOT EDIT)
def hash_value_of_vector(v, planes):
[code removed - moderator]
I’m getting ‘IndexError: index 10 is out of bounds for axis 0 with size 10’ error when I run the cell after this function. I’ve trying to figure out the issue for about a week.
planes has shape (N_DIMS, N_PLANES). len(planes) will yield N_DIMS. Given that h will have N_PLANES elements, referring a position past N_PLANES - 1 is incorrect. Hope this helps.
In this assignment, N_DIMS is 300 and N_PLANES is 10.
1 Like
Thank you very much. Do you know how to reset the notebook to it’s original state, I couldn’t find it in help tab?
You’re welcome. See Refresh your Lab Workspace section here
1 Like