np.linalg.lstsq(X,Y)[0] - TypeError: No loop matching the specified signature and casting was found for ufunc lstsq_n

后端 未结 0 687
粉色の甜心
粉色の甜心 2020-12-28 17:41

I want to get my X values in the shape [X 1].

For this I am using this code:

X = np.array([[value,1] for value in X])

I g

相关标签:
回答
  • 消灭零回复
提交回复
热议问题