APPLICATION OF SUPERVISED LEARNING
NEURAL NETWORK
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
What does np.zero() do?
|
Creates a matrix filled with zeroes
|
|
Squares the input
|
|
Takes a list as input, and replaces negative numbers with zero
|
|
Takes two lists as input, and returns the matrix product of them both
|
Explanation:
Detailed explanation-1: -Python numpy. zeros() function returns a new array of given shape and type, where the element’s value as 0.
Detailed explanation-2: -Create a 3-Dimensional Zeros Matrix in Numpy # Creating a 3-Dimensional Zeros Matrix import numpy as np matrix 3d = np. zeros((3, 3, 2)) print(matrix 3d) # Returns: # [[[0. 0.] # [0.
There is 1 question to complete.