loss_smooth_grad | R Documentation |
Smooth Loss Gradient Gradient for the smooth loss function
loss_smooth_grad(
alpha,
X,
Y,
epsilon,
beta,
lambda1 = 0,
lambda2 = 0,
weight = NULL
)
alpha |
The vector to calculate loss-gradient for |
X |
The data matrix |
Y |
The response vector |
epsilon |
The acceptable error |
beta |
The steepness of the sigmoid |
lambda1 |
The L1 regulariser (default: 0) |
lambda2 |
The L2 regulariser (default: 0) |
weight |
weight vector (default: NULL) |
The gradients for alpha
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.