Course Content
Introduction
Python provides numerous functionalities to implement machine learning, with the help of different python libraries.
0/7
NumPy
About Lesson
x = np.array( [[1,1], [0,1]])  
y = np.array( [[2,0],[3,4]]) 

1. The below code will return the item-wise product of both arrays.

x * y

 

2. The below code will return the matrix multiplication of both the arrays.

x @ y

OR

x.dot(y)