Description Usage Arguments Details Value Author(s)
computing the cost J
1 | computeCost(X, y, theta, lambda = 0)
|
X |
x values (a column of 1 was added) |
y |
y values |
theta |
theta values |
The gradient descent algorithm was to minimize the cost function.
cost J
Guangchuang Yu http://ygc.name
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.