C++ function to compute the gradients of log likelihood with respect to the
coefficients beta and scale.
The supported distributions are gaussian,
logistic and (least) extreme value.
This is used for testing, and may not be useful otherwise.
1  | iregnet_compute_gradients(X, y, eta, scale, family)
 | 
X | 
 Design matrix.  | 
y | 
 Output matrix in 2 column format.  | 
eta | 
 Linear predictors.  | 
scale | 
 Scale.  | 
family | 
 The distribution of the data.   | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.