線性迴歸代碼實現(matlab)

1 代價函數實現(cost function)   function J = computeCost(X, y, theta) %COMPUTECOST Compute cost for linear regression % J = COMPUTECOST(X, y, theta) computes the cost of using theta as the % parameter f
相關文章
相關標籤/搜索