Nothing
modelGradient <-
function (params, model, ...) {
# if (any(.packages(all.available=TRUE)=="tigre") && is.GPModel(model))
# model <- modelStruct(model)
funcName <- paste(model$type, "Gradient", sep="")
if ( exists(funcName, mode="function") ) {
func <- get(funcName, mode="function")
g <- func(params, model, ...)
} else {
funcName <- paste(model$type, "ExpandParam", sep="")
func <- get(funcName, mode="function")
model <- func(model, params)
funcName <- paste(model$type, "LogLikeGradients", sep="")
func <- get(funcName, mode="function")
g <- - func(model, ...)
}
return (g)
}
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.