Deklarasikan Numpy Zeros Matrix Python
import numpy as np
dimensions = (3, 3)
np.zeros(dimensions) # 3x3 zeros matrix
Anxious Alligator
import numpy as np
dimensions = (3, 3)
np.zeros(dimensions) # 3x3 zeros matrix
>>> np.zeros((2, 1))
array([[ 0.],
[ 0.]])