Open fmahadyBD opened 9 months ago
Error code:
z_final = lr.predict( final ).reshape(10,10) z = z_final final = np.vstack((xGrid.ravel().reshape(1,100),yGrid.ravel().reshape(1,100))).T
Fixed Error code:
final = np.vstack((xGrid.ravel().reshape(1,100),yGrid.ravel().reshape(1,100))).T z_final = lr.predict( final ).reshape(10,10) z = z_final
Sir, the final variable was not found when run it. Because, we assigning the final variable in the next line. Instead, we used it in previous line.
Error code:
Fixed Error code: