Description Usage Arguments Details Value Examples
Gradient function for linear regression
1 | gradf_func(x, AtA, Atb)
|
x |
coeffcient vector (matrix) |
AtA |
cross-product of design matrix |
Atb |
cross-product of design matrix and response vector |
This function returns the gradient for linear regression formula
the gradient matrix with respect to A, b, and x
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.