logo
How it worksCoursesResearch CommunitiesBenefitsAbout Us
Schedule Demo
Learn Before
  • NumPy

    Concept icon
Multiple Choice

Recall that "np.dot(a,b)" performs a matrix multiplication on a and b, whereas "a*b" performs an element-wise multiplication. Consider the two following random arrays "a" and "b": what is the shape of c?

Image 0

0

1

Updated 2021-01-13

Contributors are:

Grace Dwyer
Grace Dwyer
🏆 1

Who are from:

University of Michigan - Ann Arbor
University of Michigan - Ann Arbor
🏆 1

References


  • Machine Learning Mastery

Tags

Data Science

Related
  • NumPy Documentation

  • NumPy vs. Scikit-learn

  • What does the following code do?

  • Recall that "np.dot(a,b)" performs a matrix multiplication on a and b, whereas "a*b" performs an element-wise multiplication. Consider the two following random arrays "a" and "b": what is the shape of c?

  • Consider the following code: what will be c?

  • Consider the two following random arrays "a" and "b" below: what will be the shape of "c"?

  • Numpy Speed

    Concept icon
  • Fundamental Objects in NumPy

    Concept icon
  • Data Types in NumPy

    Concept icon
  • Mathematical Functions in NumPy

logo 1cademy1Cademy

Optimize Scalable Learning and Teaching

How it worksCoursesResearch CommunitiesBenefitsAbout Us
TermsPrivacyCookieGDPR

Contact Us

iman@honor.education

Follow Us




© 1Cademy 2026

We're committed to OpenSource on

Github