训练完成提示:
Warning: Desired error not necessarily achieved due to precision loss.
Current function value:
原因是我前边的def computeCost(myTheta,myX,myy,mylambda = 0.):#代价函数第一个参数myTheta写错,正确应该是mytheta...................这个破问题找了一个小时,伤心,改掉就好了
训练完成提示:
Warning: Desired error not necessarily achieved due to precision loss.
Current function value:
原因是我前边的def computeCost(myTheta,myX,myy,mylambda = 0.):#代价函数第一个参数myTheta写错,正确应该是mytheta...................这个破问题找了一个小时,伤心,改掉就好了