TypeError: only size-1 arrays can be converted to Python scalars while updating an array

后端 未结 0 1235
慢半拍i
慢半拍i 2020-11-21 13:54

I have an issue with the following function, I want to implement the gradient descent using the numpy library :

def computeCost(X, y, theta):
    ""         


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