lower_bd | R Documentation |

lower bound is quadratic in the exponent

lower_bd(xi)

`xi` |
local variational parameter, positive value, this is where
the |

a positive value between `0`

and `1`

Jaakkola, Tommi S., and Michael I. Jordan. "Bayesian parameter estimation via variational methods." Statistics and Computing 10.1 (2000): 25-37. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.399.9368&rep=rep1&type=pdf

Other VI functions:
`approx_sb()`

,
`g_fun.vec()`

,
`g_fun0()`

,
`g_fun()`

par(mfrow=c(2,3)) xi_seq <- c(0.1,0.5,1,2,4,6) x <- seq(-5,5,by=0.1) for (i in 1:length(xi_seq)){ xi <- xi_seq[i] y1 <- lower_bd(xi)(x) y2 <- lower_bd(-xi)(x) plot(x,y1,type="l",col="red",ylim=c(0,1),main=paste0("xi= ",xi)) points(x,y2,type="l",col="blue") points(x,1/(1+exp(-x)),type="l",col="orange") abline(v=c(-xi,xi),col="gray") legend("topleft",c("expit","bound"),col=c("orange","blue"),lty=c(1,1)) }

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.