Jamie Mitchell wrote: > I have changed my x and y data to float64 types but I am still getting the > same error message? Please double-check by adding assert x.dtype == np.float64 assert y.dtype == np.float64 If none of these assertions fail try to make a minimal script including some data that provokes the TypeError and post it here.