mapXy.gr.sigmoid | R Documentation |
This function implements the gradient of the sigmoid map function with
respect to coeff used for logistic regression in the form required by
EmpiricalRiskMinimizationDP.CMS
.
mapXy.gr.sigmoid(X, coeff)
X |
Matrix of data. |
coeff |
Vector or matrix of coefficients or weights. |
Matrix of values of the gradient of the sigmoid function with respect to each value of coeff.
X <- matrix(c(1,2,3,4,5,6),nrow=2)
coeff <- c(0.5,-1,2)
mapXy.gr.sigmoid(X,coeff)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.