There is the following code:
import numpy as np X = ((1,10),(1,7),(1,12)) step = np.dot(XT,X) but the XT method does not work and throws out an error
step1 = np.dot (XT, X) Traceback (most recent call last): File "", line 1, in AttributeError: 'tuple' object has no attribute 'T'
What am I doing wrong?
T- Alexander Chernin