Description Usage Arguments Author(s) Examples
calculates the cost and derivatives for a simple logistic classifier
Gradient function for a logistic classifier
| 1 2 3 | 
| theta | numeric vector of parameters | 
| X | design matrix: an array of numeric variables or features including intercepts | 
| y | binary classification vector | 
| lambda | regularization coefficient | 
Marco D. Visser
| 1 2 3 4 5 6 7 8 9 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.