
C1M2
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Easy
Abylai Aitzhanuly
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a neuron compute?
Что вычисляет нейрон?
A neuron computes an activation function followed by a linear function (z = Wx + b)
A neuron computes a linear function (z = Wx + b) followed by an activation function
A neuron computes a function g that scales the input x linearly (Wx + b)
A neuron computes the mean of all features before applying the output to an activation function
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is the "Logistic Loss"?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose img is a (32,32,3) array, representing a 32x32 image with 3 color channels red, green and blue. How do you reshape this into a column vector?
x = img.reshape((32 32 3, 2))
x = img.reshape((32 32 2, 1))
x = img.reshape((32 32 3, 1))
x = img.reshape((32 33 3, 1))
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the two following random arrays "a" and "b":
a = np.random.randn(2, 3) # a.shape = (2, 3)
b = np.random.randn(2, 1) # b.shape = (2, 1)
c = a + b
What will be the shape of "c"?
b (column vector) is copied 3 times so that it can be summed to each column of a. Therefore, c.shape = (2, 3).
b (column vector) is copied 3 times so that it can be summed to each column of a. Therefore, c.shape = (1, 3).
b (column vector) is copied 3 times so that it can be summed to each column of a. Therefore, c.shape = (0, 4).
b (column vector) is copied 2 times so that it can be summed to each column of a. Therefore, c.shape = (2, 3).
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the two following random arrays "a" and "b":
a = np.random.randn(4, 3) # a.shape = (4, 3)
b = np.random.randn(3, 2) # b.shape = (3, 2)
c = a * b
What will be the shape of "c"?
c.shape = (4, 3) because element-wise multiplication is applied.
c.shape = (4, 2) because NumPy automatically adjusts shapes for multiplication.
"*" operator indicates element-wise multiplication. Element-wise multiplication requires same dimension between two matrices. It's going to be an error.
c.shape = (3, 2) because broadcasting automatically reshapes a.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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":
a = np.random.randn(12288, 150) # a.shape = (12288, 150)
b = np.random.randn(150, 45) # b.shape = (150, 45)
c = np.dot(a, b)
What is the shape of c?
c.shape = (12288, 45), this is a simple matrix multiplication example
c.shape = (12288, 46), this is a simple matrix multiplication example
c.shape = (12200, 45), this is a simple matrix multiplication example
c.shape = (150, 45), this is a simple matrix multiplication example
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
13 questions
Session 15 + 16 : Function
Quiz
•
University
10 questions
Tin 9 Bài 8. Hàm SUMIF
Quiz
•
9th Grade - University
15 questions
7 клас тест 2 15 балів
Quiz
•
7th Grade - University
10 questions
Veri Tabanı Yönetim Sistemleri
Quiz
•
12th Grade - University
15 questions
Web Application - PHP Repetition
Quiz
•
University
10 questions
NGN - opakovanie 3. týždeň
Quiz
•
University
15 questions
Kelas 7 TIK
Quiz
•
7th Grade - University
15 questions
BAB 4 | 4.1 KOD ARAHAN | SUBTOPIK 4.1.2
Quiz
•
2nd Grade - University
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Information Technology (IT)
10 questions
Identifying equations
Quiz
•
KG - University
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
HS2C2 AB QUIZIZZ
Quiz
•
1st Grade - Professio...
14 questions
Homonyms Quiz
Quiz
•
KG - University
16 questions
Parts of a Parabola
Quiz
•
8th Grade - University
10 questions
A Brief History of Geologic Time
Interactive video
•
11th Grade - University
15 questions
Black Friday/Cyber Monday
Quiz
•
9th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
