Doubt regrading changing y array to matrix

Hi

I think instructor has made a slight mistake in this video code while converting Y array into a matrix, instructor has written Y=np.mat(X), but it should be Y=np.mat(Y) ??

hey @pasta ,
yeah it correct it would be Y = np.mat(Y)
prateek bhaiya might had mistake that time , but he will surely correct them in next videos.
so , you can just use Y = np.mat( Y ) and it is 100% correct.

Thank You and Happy Learning :slightly_smiling_face: .