for b in range(X.shape[1] +1)
Hi @Danish_Siddiqui
X.shape
will return shape of X
.
Note that we can index the shape.
If X.shape = (2,3)
,
X.shape[1]
will return 3.
And X.shape[1] + 1
will return 4.
1 Like