Nothing
predict.mactivate_fit_gradient_01 <-
function (object, X0, U0 = NULL, mcols, ...)
{
if (is.null(U0)) {
U0 <- X0
}
xmcol <- mcols
mobj_use <- object[[xmcol + 1]]
What_use <- mobj_use[["What"]]
X0star <- f_mactivate(U = U0, W = What_use)
Xfull <- cbind(rep(1, nrow(X0)), X0, X0star)
bc_hat <- c(mobj_use[["b0hat"]], mobj_use[["bbhat"]], mobj_use[["cchat"]])
y0hat <- Xfull %*% bc_hat
return(y0hat)
}
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.