C3_W2_RecSysNN_Assignment_Excercise 2

Can Anyone help me in understand the code? Excercise-2

Do you have a specific question?

while finding this distance, ‖‖𝐯(𝐀)π¦βˆ’π―(𝐒)𝐦‖‖2=βˆ‘π‘™=1𝑛(𝑣(π‘˜)π‘šπ‘™βˆ’π‘£(𝑖)π‘šπ‘™)2
np.sum(np.sqaure(a-b))
I am getting error as follows:
AttributeError: module β€˜numpy’ has no attribute β€˜sqaure’
Previously it was working

Its done, it was a spell mistake

@Mohammad_Parwez , just a tip, in the future please start your own new thread.

Adding onto an existing thread often results in no one noticing your message.