1. 学ぶ
  2. /
  3. コース
  4. /
  5. Building Recommendation Engines with PySpark

Connected

演習

Matrix multiplication part II

Let's put your matrix multiplication skills to the test.

指示

100 XP
  • Use the .shape attribute to understand the dimensions of matrices C and D, and determine whether these two matrices can be multiplied together or not.
  • If they can be multiplied, use the np.matmul() method to multiply them. If not, set C_times_D to None.