Nothing
### Sum the observation-wise gradient
sumGradients <- function( gr, nParam ) {
if( !is.null(dim(gr))) {
gr <- colSums(gr)
} else {
## ... or vector if only one parameter
if( nParam == 1 && length( gr ) > 1 ) {
gr <- sum(gr)
}
}
return( gr )
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.