Error:
AttributeError: 'tuple' object has no attribute 'reshape'
Code:
xx, yy = np.meshgrid(np.arange(x_min, x_max, h),np.arange(y_min, y_max, h))
y_pred = y_pred.reshape(xx.shape)
plt.figure()
In y_pred = y_pred.reshape(xx.shape)
there is this error, what to do?