a = np.array([[80, 86],
[82, 80],
[85, 78],
[90, 90],
[86, 82],
[82, 90],
[78, 80],
[92, 94]])
b = np.arary([0.7],[0.3])
np.matmul(a, b)
np.dot(a,b)
这段代码跑出来报错如下,请问是哪里出了问题:
AttributeError Traceback (most recent call last)
in ()
7 [78, 80],
8 [92, 94]])
9 b = np.arary([0.7],[0.3])
10 np.matmul(a, b)
11 np.dot(a,b)
AttributeError: module 'numpy' has no attribute 'arary'